You can generate CDM objects to other model objects.
CDM |
OOM |
PDM |
---|---|---|
Entity |
Class |
Table |
Entity attribute |
Attribute |
Table column |
Primary identifier |
- |
Primary or foreign key depending on independent or dependent relationship |
Identifier |
- |
Alternate key |
Association |
Relationship or association |
- |
Binary association with attributes |
Association class |
- |
Inheritance |
Generalization |
- |
Relationship |
- |
Reference |
All entities are generated as persistent classes with the "Generate table" persistence mode.
When the Generate check box of an entity is not selected, the generated class has the "Migrate columns" persistence mode.
Two columns in the same table cannot have the same name. If column names conflict due to foreign key migration, PowerDesigner automatically renames the migrated columns. The new name is composed of the first three letters of the original entity name followed by the code of the attribute.