PowerDesigner can use variables in the generation and reverse-engineering of abstract data types and their child objects.
The following variables are available for abstract data types:
| Variable | Comment | 
|---|---|
| %ADT% | Generated code of Abstract data type | 
| %TYPE% | Type of Abstract data type. It contains keywords like "array", "list", ... | 
| %SIZE% | Abstract data type size | 
| %FILE% | Abstract data type Java file | 
| %ISARRAY% | TRUE if Abstract data type is of type array | 
| %ISLIST% | TRUE if Abstract data type is of type list | 
| %ISSTRUCT% | TRUE if Abstract data type is of type structure | 
| %ISOBJECT% | TRUE if Abstract data type is of type object | 
| %ISJAVAOBJECT% | TRUE if Abstract data type is of type JAVA object | 
| %ISJAVA% | TRUE if Abstract data type is of type JAVA class | 
| %ADTDEF% | Contains Definition of Abstract data type | 
| %ADTBODY% | Abstract data type body | 
| %SUPERADT% | Abstract data type supertype | 
| %ADTNOTFINAL% | Abstract data type final | 
| %ADTABSTRACT% | Abstract data type instantiable | 
| %ADTHEADER% | Abstract data type body with ODBC | 
| %ADTTEXT% | Abstract data type spec with ODBC | 
| %SUPERQUALIFIER% | Abstract data type supertype qualifier | 
| %SUPEROWNER% | Abstract data type supertype owner | 
| %ADTAUTH% | Abstract data type authorization | 
| %ADTJAVANAME% | Abstract data type JAVA name | 
| %ADTJAVADATA% | Abstract data type JAVA data | 
| %ADTATTRDEF% | Attributes part of abstract data type definition | 
| %ADTMETHDEF% | Methods part of abstract data type definition | 
The following variables are available for abstract data type attributes:
The following variables are available for abstract data type procedures:
| Variable | Comment | 
|---|---|
| %ADTPROC% | Procedure code | 
| %PROCTYPE% | Procedure type (constructor, order, map) | 
| %PROCFUNC% | Procedure type (procedure, function) | 
| %PROCDEFN% | Procedure body (begin... end) | 
| %PROCRETURN% | Procedure return type | 
| %PARAM% | Procedure parameters | 
| %PROCNOTFINAL% | Procedure final | 
| %PROCSTATIC% | Procedure member | 
| %PROCABSTRACT% | Procedure instantiable | 
| %SUPERPROC% | Procedure super-procedure | 
| %ISCONSTRUCTOR% | True if the procedure is a constructor | 
| %PROCJAVANAME% | Procedure JAVA name | 
| %ISJAVAVAR% | True if procedure is mapped to a static JAVA variable | 
| %ISSPEC% | True in specifications, undefined in body |