Configuring Sun Master Indexes

Modifying an MIDM Field's Data Type

Each field on the MIDM requires a specific type of data to be entered. For example, name fields generally require a data string and date fields require a valid date or numeric characters. The type of data defined for each field must correspond with the field type defined for that field in object.xml and in the database. If you modify a field's data type in the object structure using the Configuration Editor, midm.xml is automatically updated as well.

ProcedureTo Modify the Data Type

  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 node element that defines the object that contains the field you want to modify.

  3. Scroll to the field element you want to modify.

  4. Change the value of the value-type element.

    For example:


    <value-type>string</value-type>
  5. Save and close the file.