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

Prev Next

Define a Structured Tagged Value

If you want to define a property that has a number of components, such as an address, you can use a Structured Tagged Value. This consists of a set of related simple Tagged Values in a sequence that together define the property. For example, the Structured Tagged Value for the street address has the component Tagged Values:

PropertyNo  - 448

Street - My Street

Town - Creswick

AreaCode - 3363

When you initially display this in the Tagged Values window or tags compartment of an element, the values of the tags are displayed in a string, such as:

448, My Street, Creswick, 3363

You can then expand the Structured Tagged Value to list the component tag names and values. You create a Structured Tagged Value in a profile, using an unstereotyped Class. Any attribute owned by a Stereotype element in the profile that is typed by such a Class will define the Structured Tagged Value.

Create a Structured Tagged Value Class



See also


In your Profile Package, open the child Class diagram.

Create a Profile Package


In the Toolbox, select More tools | Class.

The contents of the Class page of the Toolbox display.


Drag a Class item from the Toolbox onto the diagram.

If the 'Properties' dialog does not display, double-click on the element on the diagram.


In the 'Name' field, type the name of the new Class element.


Click on the 'Details' tab and on the Attributes button.

The 'Features' dialog displays, showing the 'Attributes' page.


In the Name field, type the name of the Structured Tag attribute (for example, PropertyNo).


In the 'Type' field, click on the drop-down arrow and select the appropriate type (such as int or string).


Click on the Save button, and repeat steps 6 to 8 for each remaining component tag attribute (for example: Street, Town, AreaCode).


When you have defined all the component tags, click on the Close button.


Right-click on the Stereotype element and select the 'Attributes' option.

The 'Features' dialog displays at the 'Attributes' page, for the stereotype.


In the 'Name' field type a name for the attribute (for example: 'HomeAddress').


In the 'Type' field click on the button and select the name of the Structured Tagged Value Class element from the 'Select <Item>' dialog, as the attribute's classifier.

Select Dialog


Click on the Save and Close buttons.

You have now generated the components of the Structured Tagged Value to be maintained in the Tagged Values window for any element derived from this part of the profile.

Tagged Values


Continue defining the profile, then save the diagram or Package as a profile and either export it for use or add it to an MDG Technology file.

Export a Profile Create MDG Technologies


These elements when, as a Profile, are saved, exported, imported and used, provide the Structured Tagged Values for the home and business addresses in an element of the stereotype Person.


  • The process of applying a Structured Tagged Value through a profile is an alternative to applying the Tagged Value through an Add-In broadcast; see the Learn more topics
  • The Tagged Values that make up a Structured Tagged Value must be simple; Memo Tagged Values cannot be incorporated in a Structured Tagged Value

Learn more