Configuring Sun Master Indexes

Defining MIDM Object Relationships

The relationships in midm.xml are predefined based on the information you provided when you created the object structure definition (object.xml). The relationship structure in midm.xml should match that of object.xml.

ProcedureTo Define Relationships

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

    The file opens in the NetBeans XML editor.

  2. Scroll to the relationships element.

  3. Specify the name of the parent object in the name element.

  4. Specify the name of the child objects in the children elements.

    For example:


    <relationships>
       <name>Person</name>
       <children>Alias</children>
       <children>Address</children>
       <children>Phone</children>
       <children>AuxId</children>
    </relationships>
  5. To remove a child object from the relationships list, delete the children element defining the object you want to delete.

  6. Save and close the file.