PowerDesigner not only supports object-oriented modeling and data modeling, but also supports O/R Mapping modeling between OOM and PDM objects.
The following table lists object mappings in these two model types:
OOM Element |
PDM Element |
---|---|
Domain |
Domain |
Class (only if the Persistent and Generate checkboxes are selected in the class property sheet) |
Table |
Attribute Column (only if the Persistent checkbox is selected in the attribute property sheet) |
Column |
Identifier |
Identifier |
Association |
Reference or table |
Association class |
Table with two associations between the end points of the association class |
Generalization |
Reference |
You can define mappings between these two model types in any of the following ways: