Adding Classes Attributes

You can add classes and attributes to your Business Object Model.

Procedure

  1. Using the Class tool, place a Class on the model and name it.
  2. Using the Attribute tool, place Attributes within the Class.
  3. In the Properties view for each Attribute, select the Type and specify whether there can be multiple values for the Attribute (whether it is an array). (See Attributes). When you specify multiplicity values in the Properties view for Attributes, you can use content assistance. Press Ctrl + space in the field and the available multiplicity values are displayed.

    To apply restrictions to your Primitive Type, click the Resource tab and expand Restrictions.

  4. In the Properties View for each Class or Attribute, click the Stereotypes tab to apply any stereotypes you want to apply. See Applying Stereotypes to Business Objects for more information.