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

Create a Custom Tagged Value Type

Custom masked Tagged Values give you great flexibility in designing model components that accept data entries.

How to:

To create a masked Tagged Value follow the steps below:



See Also


Select the Settings | UML Types menu option

The UML Types dialog displays; select the Tagged Value Types tab



In the Tag field type an appropriate name for the Tagged Value



In the Description field type the purpose of the Tagged Value, if required



In the Detail field type Type=Custom;


The type Custom enables you to set up the appropriate mask, using the following characters to define the format of the mask:




Enables the Tagged Value to display digits only.


Enables the Tagged Value to display digits or spaces.


Enables the use of +, - or spaces.


Enables the use of alpha characters only.


Enables the Tagged Value to be an alpha character or a space.


Enables the use of alphanumeric characters.


Enables the Tagged Value to use alphanumeric values or a space.

In the diagram below the Mask configuration option shows syntax that first defines seven blank spaces, which are occupied by characters determined by the template option. The first two visible characters in the Mask option are represented by a lower case c indicating that the enableable information can entered as either an alpha character or as a space. The following blank spaces again indicate space defined by the template option and the remaining characters are defined by the d character, which represents the enableable characters as digits or spaces. The hyphen is present in the final output, splitting up the digits.

With the Template configuration option, the syntax defines the template of the masked option by occupying the blank spaces that are present in the Mask option. The template is used to ensure that this information is present with every use of this custom Tagged Value. The underscored values indicate the area that is to be occupied by data input by the user as defined in the Mask option.