Creating an Object (or SQLJ Object) Data Type

You create an Object (or SQLJ Object) data type as follows:

  1. Select Model > Abstract Data Types to open the List of Abstract Data Types, and click the Add a Row tool. Enter a name for the new ADT, and click the Properties tool to open its property sheet.
  2. Select OBJECT or SQLJ_OBJECT from the Type list.

    Additional Attributes and Procedures tabs are displayed in the ADT property sheet.

  3. Click the Attributes tab, and create as many attributes, specifying a name, a code, and a data type for each.
  4. Click OK to close the property sheet and return to your model.

Now that you have created your new data type, you can base tables on it.