Calculated Attributes

The following calculated attributes are metamodel extensions specific to the GTL:

Metaclass

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)