Prev Next

Parameter Tagged Values

Behavioral parameters of operations, Activities and Interactions can have Tagged Values associated with them. Tagged Values offer a convenient extension mechanism for UML elements; you can define any tags you need and then assign values to them.

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

Access

Display the Tagged Values window using any of the methods outlined here. Then, in the Project Browser or a diagram, select the object containing the parameter.

Ribbon

Start > Explore > Properties > Tagged Values

Design > Element > Properties > Tagged Values

Show > Portals > Window > Properties > Tagged Values

Keyboard Shortcuts

Ctrl+Shift+6

Add a Tagged Value for a parameter

Step

Action

See also

1

The 'Tagged Values' window shows the Tagged Values for the selected object and its parameters.

Click on the required parameter in the 'Parameters' section, and click on the New Tags button.

The 'Tagged Value' dialog displays.

2

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.

3

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