Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Tagged Values in Profiles

Stereotypes within a UML Profile can have one or more associated Tagged Values. When you create an element based on a UML Profile Stereotype by dragging from the Resources window to a diagram, any associated Tagged Values are added to the element as well. Tagged Values and Profiles are an excellent way to extend the use of Enterprise Architect and the power of UML modeling.

For example, in the UML Profile for XSD, there is an XSDComplexType stereotype, which has the following Tagged Values:

memberNames
mixed
modelGroup

 

When you create an element an XSDComplexType (by dragging a Profile Element from the Toolbox onto a diagram), the Tagged Values are added automatically.

DefaultTaggedValues

Tagged Values that have default values are automatically set and displayed in the element tags section, if applicable. When you select the element, the Tagged Values window displays all the associated tags, including ones that have no value set. Also note that where Tagged Values in the Profile have a Values section (for example, values="element | attribute | both" default="both") you can select the non-default values from a drop-down list. Where no Value list exists, the tag accepts free text.

Learn more