Class Part Checks

PowerDesigner provides default model checks to verify the validity of class parts.

Check

Description and Correction

Class part name and code uniqueness

Class part names and codes must be unique in the namespace (model or package).

Manual correction: Modify the duplicate name/code

Automatic correction: Appends a number to the duplicate name/code

Class part classifier type

A class part must have a data type that is a classifier linked to its owner classifier by an association.

Manual correction: Specify a data type for the part and connect the relevant classifier to its owner classifier.

Automatic correction: None

Class part association type

The composition property of a part must match the type of the association between its owner and its data type.

Manual correction: Enable or disable the Composition property.

Automatic correction: The Composition property is enabled or disabled.