GTL-Specific Metamodel Extensions

A number of calculated attributes and collections are provided as GTL-specific extensions to the metamodel.

The following calculated attributes are metamodel extensions specific to GTL:

Metaclass

GTL-Specific Attributes

PdCommon.BaseObject

  • isSelected (boolean) - True if the object is part of the selection in the generation dialog

  • isShorctut (boolean) - True if the object was accessed by dereferencing a shortcut

PdCommon.BaseModel

  • GenOptions (struct) - Gives access to user-defined generation options

PdOOM.*

  • ActualComment (string) - Cleaned–up comment (with /**, /*, */ and // removed)

PdOOM.Association

  • RoleAMinMultiplicity (string)

  • RoleAMaxMultiplicity (string)

  • RoleBMinMultiplicity (string)

  • RoleBMaxMultiplicity (string)

PdOOM.Attribute

  • MinMultiplicity (string)

  • MaxMultiplicity (string)

  • Overridden (boolean)

  • DataTypeModifierPrefix (string)

  • DataTypeModifierSuffix (string)

  • @<tag> [Java-specific] (string) - Javadoc@<tag> extended attribute with additional formatting

PdOOM.Class

  • MinCardinality (string)

  • MaxCardinality (string)

  • SimpleTypeAttribute [XML-specific]

  • @<tag> [Java-specific] (string) - Javadoc@<tag> extended attribute with additional formatting

PdOOM.Interface

  • @<tag> [Java-specific] (string) - Javadoc@<tag> extended attribute with additional formatting

PdOOM.Operation

  • DeclaringInterface (object)

  • GetSetAttribute (object)

  • Overridden (boolean)

  • ReturnTypeModifierPrefix (string)

  • ReturnTypeModifierSuffix (string)

  • @<tag> [Java-specific] (string) - Javadoc@<tag> extended attribute with additional formatting (especially for @throws, @exception, @params)

PdOOM.Parameter

  • DataTypeModifierPrefix (string)

  • DataTypeModifierSuffix (string)

The following calculated collections are metamodel extensions specific to GTL:

Metaclass name

Collection name

PdCommon.BaseModel

Generated <metaclass-name> List - Collection of all objects of type <metaclass-name> that are part of the selection in the generation dialog

PdCommon. BaseClassifierMapping

SourceLinks

PdCommon. BaseAssociationMapping

SourceLinks