PowerDesigner provides default model checks to verify the validity of generalizations.
Check |
Description and Correction |
---|---|
Redundant generalizations |
Only one generalization is allowed between two classes or two interfaces.
|
Class multiple inheritance |
The following check applies only to Java and PowerBuilder. Multiple inheritance is accepted in UML but not in this language.
|
Extend final class |
A final class cannot be extended.
|
Non-persistent specifying attribute |
If a generalization has a specifying attribute, the attribute must be marked as persistent.
|
Generic: Child type parameters |
A child of a generic classifier must resolve all of the type parameters defined by its parent.
|
Generic: Child cannot be bound |
A bound classifier cannot be the child of any classifier other than its generic parent.
|