Configuring Sun Master Indexes

ProcedureTo Add a Field (XML Editor)

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click object.xml.

    The file opens in the NetBeans XML editor.

  2. Scroll to the tag element defining the object to which you want to add a field.

  3. Under the tag element, create a new fields element.

    For example:


    <nodes>
       <tag>Address</tag>
       <fields>
       </fields>
    <nodes>
  4. Specify the field properties described in Master Index Field Property Elements within the new fields tags.

    For example:


    <fields>
       <field-name>AddressType</field-name>
       <field-type>string</field-type>
       <size>8</size>
       <updateable>true</updateable>
       <required>true</required>
       <code-module>ADDRTYPE</code-module>
       <pattern/>
       <key-type>true</key-type>
    </fields>
  5. Save and close the file.