Use the Tagged Value Connector

In a Profile, you can use the Tagged Value connector to define a Tagged Value that has as its value the name of an element containing the stereotype pointed to. You select the Tagged Value connector from the Profile pages of the Toolbox.

The following diagram demonstrates how you might use the connector. It shows a (saved and imported) profile that defines two stereotypes: «Collection» and «Node». The «Collection» stereotype has a Tagged Value connector with the target role named rootNode, pointing to the «Node» stereotype.


In the Tagged Values window for the connector, against rootNode, you click on the selection button ((  ...  )). This displays the Select <Item> dialog, through which you locate the elements in the current model with the «Node» stereotype. You can then select one of these elements as the value of the tag.