Tagged values

In VP-UML, tagged values are properties defined by user and can be added to a model element. VP-UML supports either defined tagged values in stereotype or tagged values without stereotype. In UML 1.1, stereotypes and tagged values were used as string-based extensions that could be attached to UML model elements. In UML 2.x, stereotypes and tagged values will be defined in Profile that can provide more structure and precision to the definition.

Adding user-defined tags

  1. Right click on the selected shape and select Open Specification... from the pop-up menu.
    Right click to select Open Specification...
    Right click to select Open Specification...
  2. In Specification dialog box, select Tagged Values tab and click Add button to select an option of value type.
    Add an option of value type
    Add an option of value type

Different types of tagged values

Text

Text supports string-based value.

In Specification dialog box, select Tagged Values tab, click Add button and select Text from the pop-up menu. Enter the text in the text field directly.

Add text
Add text

Multi-line Text

Multi-line Text supports multi-line string. 

  1. In Specification dialog box, select Tagged Values tab, click Add button and select Multi-line Text from the pop-up menu. Click the ... button of Value.
    Add multi-line text
    Add multi-line text
  2. When Edit Value dialog box pops out, enter the multi-line text. Click OK button to finish editing.
    The Edit Value dialog box
    The Edit Value dialog box

Model Element

Model Element supports reference(s) of model element.

  1. In Specification dialog box, select Tagged Values tab, click Add button and select Model Element from the pop-up menu. Click the reverse triangle button of Value.
    Add model element
    Add model element
  2. When the Select Model dialog box pops out, check Model and select a model element. Click OK button to confirm.
    Select a model element
    Select a model element

Integer

Integer supports values with numbers only.

In Specification dialog box, select Tagged Values tab, click Add button and select Integer from the pop-up menu. Enter a number in Value.

Add integer
Add integer

Floating Point Number

Floating Point Number supports values with decimal places.

In Specification dialog box, select Tagged Values tab, click Add button and Floating Point Number from the pop-up menu. Enter a number with decimal places in Value.

Add floating point number
Add floating point number

HTML

HTML is a hidden tagged value. To reveal this option, select Tools > Options... from the main menu. When the Options dialog box pops out, select Diagramming > Environment tab and check Stereotype support HTML tagged value.

In Specification dialog box, select Tagged Values tab, click Add button > HTML Text from the pop-up menu and click ... button in Value when the option for HTML is revealed.

Add HTML text
Add HTML text

When Edit Value dialog box pops out, enter the text. You can format the HTML text content with the toolbar, for example, changing the font color of selected text and underlining selected text.

Format the HTML text content
Format the HTML text content

Click OK button to finish editing.

Editing tagged values

You can enter the user-defined tagged value's name, select its type and enter its value.

Edit name, type and value on user-defined tagged value
Edit name, type and value on user-defined tagged value

The value of stereotype can be edited, however, its name and its type cannot be edited as they are defined in stereotype.

Visualizing tagged values on diagram

Right click on the diagram background and select Presentation Options > Show Tagged Values from the pop-up menu.

Show tagged values
Show tagged values

If it is defined, the tagged values will be seen within the shape(s) on the diagram.

Tagged values are shown
Tagged values are shown
 
2. Resource Centric Interface Table of Contents 4. Spell Checking
 

Product

Try this feature with

Visual Paradigm for UML

Technical Support

Have technical issues or suggestions? Please contact Visual Paradigm Support Team.

Sales Support

Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.

Discussion Forum

Share your suggestions of opinions at VP Discussion Forum.