Configuring Sun Master Indexes (Repository)

Defining EDM Object Relationships (Repository)

The relationships in the Enterprise Data Manager file are predefined based on the information you provided when you created the object structure definition (the Object Definition file). The relationship structure in the Enterprise Data Manager file should match that of the Object Definition file.

ProcedureTo Define Relationships

  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 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.