Class Part Checks

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

Check

Description and Correction

Name/Code contains terms not in glossary

[if glossary enabled] Names and codes must contain only approved terms drawn from the glossary.
  • Manual correction - Modify the name or code to contain only glossary terms.
  • Automatic correction - None.

Name/Code contains synonyms of glossary terms

[if glossary enabled] Names and codes must not contain synonyms of glossary terms.
  • Manual correction - Modify the name or code to contain only glossary terms.
  • Automatic correction - Replaces synonyms with their associated glossary terms.

Name/Code uniqueness

Object names must be unique in the namespace.
  • Manual correction - Modify the duplicate name or code.
  • Automatic correction - Appends a number to the duplicate name or 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.