Creating a hierarchical business object definition manually

This section describes how to create a hierarchical business object definition by defining an attribute that represents a child business object or an array of child business objects.

Because the previous section explains how to define a simple attribute and supported verbs, this section explains only the definition of an attribute that represents a child business object. This example creates a business object named HierarchicalBO that has two attributes:

To manually create a hierarchical business object definition:

  1. Open Business Object Designer Express.
  2. From the File menu, select New.

    Business Object Designer Express displays the New Business Object dialog box, as illustrated in Figure 30.

  3. Enter the name HierarchicalBO for the new business object definition.
  4. Leave Application Specific Information empty and click OK.

    Business Object Designer Express displays the business object definition dialog box, as illustrated in Figure 31.

  5. Create a key attribute in the first available empty row, which is 2 for the first attribute. Name it Key, specify any simple data type, and select the Key column.
  6. Create the next attribute in the next available empty row, which is 3. Name it Addr.
  7. Click in the Type column to display the pull-down list of options and select Address for the attribute type.
    Note:
    If the child business object does not exist in the list, you can create it now by selecting New business object from the Type pull-down menu. You must save the new child before you can complete this step.
  8. Skip the Key, Foreign, and Reqd (or Required) fields. Click the Card list and select 1.
  9. Ignore all other fields. Define supported verbs and save the definition.

Copyright IBM Corp. 2003, 2004