Defining Common Model Properties

A common set of properties that can include stereotypes, tagged values, notes, constraints, dependencies, and type/instance and type/class dichotomies defines a model element. You can define the characteristics of the properties associated with each element in the UML Properties dialog box, which lists the categories associated with each common property. When you double-click an element on the drawing page or in the Model Explorer, the UML Properties dialog box for the element appears with categories of properties that you can edit. For example, you can define constraints and tagged values for an attribute of a class, as Figure 20-14 shows.

Figure 20-14. The UML Properties dialog box displays the attributes of the CourseRegistrationDate class.


Inside Out: Extending UML

Stereotypes, tagged values, and constraints allow you to extend UML. You can use stereotypes to create metamodel classes, tagged values to extend the attributes of the metamodel classes, and constraints to extend the metamodel semantics.


To open a UML Properties editor and add values to an element, double-click the icon that represents the element in the Model Explorer or the shape that represents the element in a diagram.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset