Chapter 6 Generating from a Conceptual Data Model


Generating OOM Objects

When you generate an Object Oriented Model (OOM) from a CDM, PowerDesigner converts CDM objects into specified object language objects as follows:

CDM Objects Generated object in an OOM
Entity Class
Attribute Attribute
Association Relationship or association
Binary association with attributes Association class
Inheritance Generalization

Persistent entities

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.

Note   OOM naming conventions
If the code of the generated OOM objects does not correspond to the target language naming conventions, you can define a code naming convention script to convert object names into codes. For more information on conversion scripts, see section .convert_name & .convert_code macros in chapter Managing Models in the General Features Guide.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.