Default Checks (PDM)

PowerDesigner provides default model checks to verify the validity of defaults.

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.

Default code maximum length

The default code length is limited by the maximum length specified in the DBMS definition (MaxLen entry, in the Objects > Default category).
  • Manual correction: Modify the default code length to meet this requirement

  • Automatic correction: Truncates the default code length to the maximum length specified in the DBMS definition

Default value empty

You must type a value for the default, this value is used during generation.
  • Manual correction: Type a value in the Value box of the default property sheet

  • Automatic correction: None

Several defaults with same value

A model should not contain several defaults with identical value.
  • Manual correction: Modify default value or delete defaults with identical value

  • Automatic correction: None