Topic
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 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.

Access

Ribbon

Design > Element > Operations | Tagged Values

Context Menu

Right-click element in diagram | Features and Properties | Operations | Tagged Values  or

Right-click element in Project Browser | Operations | Tagged Values  or

Right-click operation in Project Browser | Operation Properties | Tagged Values

Keyboard Shortcuts

F10 > Alt+V

Other

In Project Browser, double-click on an Operation | Tagged Values

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 New Tagged Value 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.

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