Prev Next

Operation Tagged Values

Both operations and the parameters assigned to operations can have Tagged Values associated with them. Tagged Values offer a convenient extension mechanism for UML objects, so you can define any tags you need 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.

Access

Ribbon

Design > Element > Properties > Tagged Values

Start > Explore > Properties > Tagged Values

Keyboard Shortcuts

Ctrl+Shift+T

Ctrl+Shift+6

Add a Tagged Value for an operation

Step

Action

See also

1

Click on the operation or parameter to which to assign the Tagged Value.

2

Click on the button.

The 'Tagged Value' dialog displays.

3

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. (For some types of Tagged Value, the 'Value' field is grayed out. In this case, continue to step 4 and enter the value against the tag name in the Tagged Values window.)

4

Click on the OK button to confirm the operation.

Notes

  • Tagged Values are supported for attributes, operations, objects and connectors
  • You can define custom tags using a predefined Tagged Value Type

Learn more