Attribute Field Substitution Macros

The following table lists each of the attribute field substitution macros with a description of the result.

Field substitution macros are named according to Camel casing.

Macros that represent checkboxes return a value of T if the box is selected. Otherwise the value is empty.

Macro Name

Description

attAlias

Attributes dialog: Alias.

 

attAllowDuplicates

Attributes Detail dialog: Allow Duplicates checkbox.

 

attClassifierGUID

The unique GUID for the classifier of the current attribute.

 

attCollection

Attributes Detail dialog: Attribute is a Collection checkbox.

 

attConst

Attributes dialog: Const checkbox.

 

attContainerType

Attributes Detail dialog: Container Type.

 

attContainment

Attributes dialog: Containment.

 

attDerived

Attributes dialog: Derived checkbox.

 

attGUID

The unique GUID for the current attribute.

 

attInitial

Attributes dialog: Initial.

 

attIsEnumLiteral

Attributes dialog: Is Literal checkbox.

 

attLength

Column dialog: Length.

 

attLowerBound

Attributes Detail dialog: Lower Bound.

 

attName

Attributes dialog: Name.

 

attNotes

Attributes dialog: Notes.

 

attOrderedMultiplicity

Attributes Detail dialog: Ordered Multiplicity checkbox.

 

attProperty

Attributes dialog: Property checkbox.

 

attQualType

The attribute type qualified by the namespace path (if generating namespaces) and the classifier path (dot delimited). If the attribute classifier has not been set, is equivalent to the attType macro.

 

attScope

Attributes dialog: Scope.

 

attStatic

Attributes dialog: Static checkbox.

 

attStereotype

Attributes dialog: Stereotype.

 

attType

Attributes dialog: Type.

 

attUpperBound

Attributes Detail dialog: Upper Bound.

 

attVolatile

Attributes Detail dialog: Transient checkbox.

 

Learn more