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.
  2. Click File > New.

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

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

    Business Object Designer 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 click the Key column.
  6. Create the next attribute in the next available empty row, which is 3. Name it Addr.
  7. Click the Type list 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 in the Type list. You must save the new child business object before you can complete this step.
  8. Skip the Key, Foreign, and Reqd (or Required) columns. Click the Card list and select 1.
  9. Ignore all other columns. Define supported verbs, and save the definition.

Copyright IBM Corp. 1997, 2004