Adding Classes and Attributes
You can add classes and attributes to your Business Object Model.
- Procedure
- Using the Class tool, place a Class on the model and name it.
- Using the Attribute tool, place Attributes within the Class.
- 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" in the TIBCO® BPM Enterprise Concepts Guide for more information about attribute types and multiplicity). 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.
- Using the Operations tool, place Operations within the Operations Compartment in the lower section of the Class graphic.
- In the Properties view for each Operation, specify the return value type and any parameters or parameter types.
- In the Properties View for each Class, Attribute or Operation, click the Stereotypes tab to apply any stereotypes you want to apply. See Applying Stereotypes to Business Objects for more information.