Link Field Substitution Macros

If you want to provide access to data concerning connectors in the model, particularly Associations and Generalizations, you can use the Link field substitution macros. The macro names are in Camel casing. Macros that represent checkboxes return a value of T if the box is selected; otherwise the value is empty.

Link field substitution macros

Macro Name

Description/Result

See also

linkAttAccess

Association Properties dialog, Target Role: Access.

 

 

linkAttAggregation

Association Properties dialog, Source or Target Role: Aggregation.

 

 

linkAttCollectionClass

The collection appropriate for the linked attribute in scope.

 

 

linkAttContainment

Association Properties dialog, Target Role: Containment.

 

 

linkAttName

Association Properties dialog: Target.

 

 

linkAttNotes

Association Properties dialog, Target Role: Role Notes.

 

 

linkAttOwnedByAssociation

True, if the Owned checkbox on the Source or Target Role page of the Association Properties dialog is not selected.

 

 

linkAttOwnedByClass

True, if the Owned checkbox on the Source or Target Role page of the Association Properties dialog is selected.

 

 

linkAttQualName

The Association target qualified by the namespace path (if generating namespaces) and the classifier path (dot delimited).

 

 

linkAttRole

Association Properties dialog, Target Role: Role.

 

 

linkAttStereotype

Association Properties dialog, Target Role: Stereotype.

 

 

linkAttTargetScope

Association Properties dialog, Target Role: Target Scope.

 

 

linkCard

Link Properties dialog, Target Role: Multiplicity.

 

 

linkGUID

The unique GUID for the current connector.

 

 

linkIsAssociationClass

True, if the Association is an AssociationClass connector.

 

 

linkIsBound

Returns T if any TemplateBindings are specified on the connector.

 

 

linkParamSubs

Returns a comma-separated list of the arguments specified.

 

 

linkParentName

Generalization Properties dialog: Target.

 

 

linkParentQualName

The Generalization target qualified by the namespace path (if generating namespaces) and the classifier path (dot delimited).

 

 

linkStereotype

The stereotype of the current connector.

 

 

linkVirtualInheritance

Generalization Properties dialog: Virtual Inheritance.

 

 

Learn more