Parameter Tagged Values

Behavioral parameters can have Tagged Values associated with them. Tagged Values offer a convenient extension mechanism for UML elements; you can define any tags you like and then assign values to them using this form.

Tagged Values are written to the XMI output, and can be input to other third party tools for code generation or other activities.

How to

To add a Tagged Value for a parameter

Step

Action

See also

1

Double-click on the operation, Activity or Interaction containing the parameter in a diagram or in the Project Browser.

The Properties dialog displays.

 

 

2

Click on the Tagged Values tab, which shows the Tagged Values for the selected object and its parameters.

 

 

3

Click on the required parameter in the Parameters compartment of the Tagged Values tab, and click on the New Tags button.

The Tagged Value dialog displays.

 

 

4

In the Tag field, type the tag name (or select a defined tag from the drop-down list).

In the Value field type the initial tag value.

 

 

5

Click on the OK button to confirm the Tagged Value.

 

 

Notes

Tagged Values are supported for attributes, operations, objects and connectors
Custom tags can be created using a predefined Tagged Value Type

Learn more