Tagged Values

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  How to Model... > Stereotypes and Tagged Values >

Tagged Values

Stereotypes may have attributes (tagged values) associated with them. Tagged values are name-value pairs that provide extra information related to the stereotype where they belong. For example, the class illustrated below has the stereotype «attributes» applied to it. Notice that the «attributes» stereotype has tagged values associated with it: a key (name) called "sections" and a value called "Serializable".

um_stereotypes_03

Tagged values

A stereotype may have multiple pairs of tagged values. Also, a value can be selected from a set of enumeration values.

um_stereotypes_tutorial_10

You can change how tagged values are displayed on the diagram, or hide them altogether, see Showing or Hiding Tagged Values. For information about changing a stereotype's tagged values, see Applying Stereotypes. For an example that illustrates how to create stereotypes with tagged values, see Example: Creating and Applying Stereotypes.


© 2019 Altova GmbH