Chapter 10 PowerDesigner Public Metamodel


Calculated attributes

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

Metaclass name
Attribute name

Type

Description
PdCommon.
BaseObject
isSelected boolean True if the corresponding object is part of the selection in the generation dialog, false otherwise
  isShorctut boolean True if the object was accessed by dereferencing a shortcut, false otherwise
PdCommon.
BaseModel
GenOptions struct Gives access to the user-defined generation options
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.
Attribute
MinMultiplicity string  
  MaxMultiplicity string  
  Overridden boolean  
  DataTypeModifier
Prefix
string  
  DataTypeModifier
Suffix
string  
  @<tag> (Java-specific) string Javadoc@<tag> extended attribute with additional formatting
PdOOM.
Operation
DeclaringInterface object  
  GetSetAttribute object  
  Overridden boolean  
  ReturnTypeModifier
Prefix
string  
  ReturnTypeModifier
Suffix
string  
  @<tag> (Java-specific) string Javadoc@<tag> extended attribute with additional formatting

(esp. for @throws, @exception, @params)
PdOOM.
Parameter
DataTypeModifier
Prefix
string  
  DataTypeModifier
Suffix
string  
PdOOM.
Association
RoleAMinMultiplicity string  
  RoleAMaxMultiplicity string  
  RoleBMinMultiplicity string  
  RoleBMaxMultiplicity string  
PdOOM.* ActualComment string Cleaned–up comment (with /**, /*, */ and // removed)

 


Copyright (C) 2005. Sybase Inc. All rights reserved.