Configuring Sun Master Indexes (Repository)

ProcedureTo Add an Undefined Object (XML editor)

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

    The file opens in the NetBeans XML editor.

  2. Scroll to the location where you want to create the new object (after the database element but before relationships).

  3. Create a nodes element.

  4. Create and name a tag element within the new nodes element (the value of the tag element is the name of the object you are defining).

    Make sure the new nodes element does not fall within any existing nodes elements. For example:


    <nodes>
       <tag>Person</tag>
       ...
    </nodes>
    <nodes>
       <tag>Address</tag>
    </nodes>
    
  5. Define the fields for the new object, as described in Adding a Field to the Master Index Object Structure (Repository).

  6. Define the relationship of the new object to the existing objects, as described in Defining Relationships Between Master Index Objects (Repository).

  7. Save and close the file.