Prev | Next |
Define Stereotype Tagged Values
You can define additional meta-information for a stereotype by adding various types of Tagged Value, which you identify as attributes of the Stereotype element. The simplest Tagged Values are those for which you type plain text into the 'Value' field.
For more complex Tagged Values, such as enumerations and Structured Tagged Values, see these topics:
- Add An Enumeration to a Stereotype
- Define a Structured Tagged Value
- Define Stereotype Tags with Predefined Tag Types
Access
Display the 'Attributes' page of the Features window, using one of the methods outlined here.
Ribbon |
Design > Element > Editors > Features > Attributes |
Context Menu |
In the Browser window or a diagram | Right-click on element | Features | Attributes |
Keyboard Shortcuts |
or > Attributes |
Define Tagged Values for a Stereotype element
Field |
Action |
See also |
---|---|---|
Name |
Overtype the New Attribute text with the name of the new attribute/tag. |
|
Type |
Defaults to int. If necessary, click on the drop-down arrow and select a different attribute type. |
|
Scope |
Defaults to Private. If necessary, click on the drop-down arrow and select a different scope value. |
|
Stereotype |
If an attribute stereotype is required, click on the |
Stereotype Selector |
Alias |
If necessary, type in an alias for the attribute/tag. |
|
Initial Value |
(Optional.) Type the initial value of the attribute/tag. |