PowerDesigner provides default model checks to verify the validity of domains.
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.
|
Name/Code contains synonyms of glossary terms |
[if glossary enabled] Names and codes must not contain synonyms of glossary terms.
|
Name/Code uniqueness |
Object names must be unique in the namespace.
|
Domain code maximum length |
[PDM only] The domain code length is limited by the maximum length specified in the DBMS definition (MaxLen entry, in the category) or in the naming conventions of the model options.
|
Detect Inconsistencies between check parameters |
The values entered in the Check Parameters tab are inconsistent for numeric and string data types. Default does not respect minimum and maximum values, or default does not belong to list of values, or values in list are not included in minimum and maximum values, or minimum is greater than maximum value. Check parameters must be defined consistently.
|
Precision > maximum length |
The data type precision should not be greater than the length.
|
Undefined data type |
A model should not contain domains with undefined data type, all domains should have a defined data type.
|
Invalid data type |
[CDM/LDM only] Invalid data types for domains exist. To be complete, a model should have all its domain data types correctly defined.
|