PowerDesigner provides default model checks to verify the validity of class and interface attributes.
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.
|
Detect inconsistencies within 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.
|
Data type assignment |
The data type of an attribute should be defined. Moreover, its type cannot be void.
|
Initial value for final attribute |
The final attribute of a classifier must be initialized.
|
Domain divergence |
The definition of the attribute definition is diverging from the definition of the domain.
For more information about domain divergence, see Setting OOM Model Options. |
Event parameter data type |
[VB 2005] An interface attribute with a stereotype of Event must have a delegate as its data type.
|