Predefined Tagged Value Types

Return to Introduction  Previous page  Next page

This table details the predefined Tagged Value types along with the format used to create the initial values for their use.

Tagged Value Type

Format

Description

Integer

Type=Integer;

Enables entry of an Integer value.

Float, Decimal, Double

Type=Float;
Type=Decimal;
Type=Double;

Enable entry of a Float, Decimal or Double value. These types all map to the same type of data.

String

Type=String;

Enables entry of a String value.

Enum

Type=Enum;
Values=Val1,Val2,Val3;
Default=Val2;

Enables definition of a comma-separated list, where Val1, Val2 and Val3 represent values in the list and Default represents the default value of the list.

Const

Type=Const;
Default=Val;

Enables creation of a read-only constant value.

Color

Type=Color;

Enables input of a color value from a color chooser menu.

Custom

Type= Custom;

Enables you to create your own template for predefined types; more information is provided in the Custom Tagged Values type topic.

DateTime

Type=DateTime;

Enables input of the date and time for the Tagged Value from a calendar menu.

Boolean

Type=Boolean;

Enables input of a true or false value.

Memo

Type=Memo;

Enables input of large and complex tag values.

Spin

Type=Spin;
LowerBound=x;
UpperBound=x;

Enables creation of a spin control with the value of LowerBound being the lowest value and UpperBound being the highest value.

File

Type=File;

Enables input of a filename from a file browser dialog. The named file can be launched in its default application.

Classifier

Type=Classifier;
Values=Type1,Type2;
Stereotypes=Stereotype1;

Returns the name of a user-selected element from the model, where Type1 and Type2 specify one or more allowed element types and Stereotype1 represents an allowed stereotype.

RefGUID

Type=RefGUID;
Values=Type1,Type2;
Stereotypes=Stereotype1;

Enables the Tagged Value to reference an element from the model by specifying the element's GUID, where Type1 and Type2 specify one or more allowed element types and Stereotype1 represents an allowed stereotype.

RefGUIDList

Type=RefGUIDList;
Values=Type1,Type2;
Stereotypes=Stereotype1;

Enables the Tagged Value to reference a list of elements from the model by specifying the element's GUID, where Type1 and Type2 specify one or more allowed element types and Stereotype1 represents an allowed stereotype.

Tag Filters

You can restrict where a predefined Tagged Value is available.  The following table details filters that can be used to restrict where a Tagged Value can be applied.

Filter

Format

Description

AppliesTo

AppliesTo=Type1,Type2;

Restricts the element types this filter can be applied to, where Type1 and Type2 are the valid types. 

Possible values are:

·all element types
·all connector types
·Attribute
·Operation and
·OperationParameter.

BaseStereotype

BaseStereotype=S1,S2;

Restricts the stereotypes that this tag belongs to, where S1 and S2 are the allowed stereotypes.