Configuring Sun Master Indexes (Repository)

ProcedureTo Delete an Object

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Enterprise Data Manager file.

    The file opens in the NetBeans XML editor.

  2. Scroll to the node element naming the object to delete.

  3. Delete all text between and including the node element for that object.

    Using the sample below, to delete the Phone object, delete all the text in the sample.


    <node-Phone display-order="3" merge-must-delete="false">
       <field-PhoneType>
          <display-name>Phone Type</display-name>
          <display-order>1</display-order>
          <max-length>8</max-length>
          <gui-type>MenuList</gui-type>
          <value-list>PHONTYPE</value-list>
          <value-type>string</value-type>
          <key-type>true</key-type>
       </field-PhoneType>
       <field-Phone>
          <display-name>Phone</display-name>
          <display-order>2</display-order>
          <max-length>20</max-length>
          <gui-type>TextBox</gui-type>
          <value-type>string</value-type>
          <input-mask>(DDD)DDD-DDDD</input-mask>
          <value-mask>xDDDxDDDxDDDD</value-mask>
       </field>
    </node>
  4. If necessary, renumber the order of the remaining objects so they are sequential.

  5. Remove the object from the relationship definition, as described in Defining Relationships Between Master Index Objects (Repository).

  6. Save and close the file.