Structure diagrams Features of objects The Features window enables you to change the features of an object, including its concurrency and multiplicity. An object has the following features: Љ Name specifies the name of the element. The default name is object_n , where n is an incremental integer starting with 0. Љ L specifies the label for the element, if any. See Descriptive labels for elements for information on creating labels. Љ Stereotype specifies the stereotype of the object, if any. They are enclosed in guillemets, for example «s1» and enable you to tag classes for documentation purposes. See Stereotypes for information on creating stereotypes. Note:
The COM stereotypes are constructive; that is, they affect code generation. Љ Main Diagram specifies the main diagram for the object. This field is available only for objects with implicit type. Љ Concurrency specifies the concurrency of the object. This field is available only for objects with implicit type. The possible values are as follows: Sequential where the element will run with other classes on a single system thread. This means you can access this element only from one active class. Active where the element will start its own thread and run concurrently with other active classes. Љ Type specifies the class of which the object is an instance.
To view that class features, click the Invoke Feature Dialog button next to the Type field. In addition to the names of all the instantiated classes in the model, this list includes the following choices: specifies an implicit object specifies an explicit object enables you to specify a new class enables you to browse for a class using the selection tree Љ Multiplicity specifies the number of occurrences of this instance in the project. Common values are one (1), zero or one (0,1), or one or more (1..*). Љ Initialization specifies the constructor being called when the object is created. See the Actual Call window for objects . Љ Relation to whole enables you to name the relation for a part.
If the object is part of a composite class, enable the Knows its whole as check box and type a name for the relation in the text box. This relation is displayed in the browser under the Association Ends category under the instantiated class or implicit object. 832 User Guide