Criterion Properties

You specify the properties for a criterion by selecting its entry in the resource editor.

Property

Description

Name

Specifies the name of the criterion.

Condition

Specifies the condition which instances must meet in order to access the criterion extensions. You can use any expressions valid for the PowerDesigner GTL .if macro (see Customizing Generation with GTL. You can reference the extended attributes defined at the metaclass level in the condition, but not those defined in the criterion itself.

For example, in a PDM, you can customize the symbols of fact tables by creating a criterion that will test the type of the table using the following condition:

(%DimensionalType% == "1")

%DimensionalType% is an attribute of the BaseTable object, which has a set of defined values, including "1", which corresponds to "fact". For more information, select Help > Metamodel Objects Help, and navigate to Libraries > PdPDM > Abstract Classes > BaseTable.

Parent

Specifies a parent criterion of the criterion. You can select a criterion defined in the same metaclass or in a parent metaclass. Click the Properties tool to go to the parent in the tree and view its properties.

Comment

Specifies additional information about the criterion.