Chapter 4 Building Structural Diagrams


Object properties

You can modify an object's properties from its property sheet. To open an object property sheet, double-click its diagram symbol or its Browser entry in the Objects folder. The following sections detail the property sheet tabs that contain the properties most commonly entered for objects.

The General tab contains the following properties:

Property Description
Name Specifies the name of the item, which should be clear and meaningful, and should convey the item's purpose to non-technical users. Not compulsory since you can have an object representing an unnamed instance of a class or interface, but if omitted, you need to supply the class or interface name in the Classifier box.

The name should be unique per class or interface. Two objects could share the same name only if they belong to two different classes or interfaces.
Code Specifies the technical name of the object, which is used for generating code or scripts.
Comment Descriptive comment for the object.
Stereotype Extends the semantics of the object beyond the core UML definition.
Classifier Specifies the class or interface of which an object is an instance. You can link an object to an existing class or interface, or create a new one using the Create Class button beside this box.

For more information, see Linking a class or interface to an object.
Multiple Object that represents several instances

 


Copyright (C) 2008. Sybase Inc. All rights reserved.