PowerDesigner provides default model checks to verify the validity of KeyRefs.
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.
|
Undefined reference |
A keyRef must contain a reference to a key or a unique constraint.
|
Existence of fields |
A keyRef must contain at least one field.
For more information on fields, see Constraint Properties. |
Undefined selector |
You must define an XPath expression for a keyRef selector attribute.
For more information on XPath expressions, see Constraint Properties. |