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 'Tags' tab of the Properties window, using any of the methods outlined here. Then, in the Browser window or a diagram, select the object containing the parameter.

Ribbon

Start > Desktop > Design > Properties > Tags

Design > Element > Editors > Tagged Values > Tags

Explore > Portals > Windows > Properties > Tagged Values

Keyboard Shortcuts

Ctrl+2 > Tags

Add a Tagged Value for a parameter

Step

Action

See also

1

The 'Tags' tab shows the Tagged Values for the selected object and its parameters, under separate headings.

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 value of the tag.

(Extended tags might not allow you to set a value through the 'Tagged Value' dialog; for such tags, enter the value on the 'Tags' panel of the Properties window.)

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