Chapter 12 Generating Other Models from an OOM


Configuring the generated model options

When you configure the options of a CDM to generate, you may define options diverging from the OOM options.

To avoid conflicts, PowerDesigner applies the following rule for default values of CDM options: an option defined for the generated CDM should respect the equivalent option of the OOM.

Equivalent options are model options found in both models. The Enforce non-divergence option exists in both OOM and CDM.

OOM option CDM option Result in generated CDM
Enforce non-divergence _ Enforce non-divergence in model according to OOM options. Data items and attributes attached to the domain cannot have divergent definitions
_ Enforce non-divergence Enforce non-divergence in model according to CDM options defined using the Configure Model Options feature.

Relationships and data items unique code

Unique Code for relationships and data item has no equivalent in the OOM and this option is not selected by default in the CDM options. However, if you select Unique Code for relationships or data items in the CDM options, relationships and data items will be renamed during the generation of an OOM to a CDM.

Options with no equivalent, like Show Classes as Data Type in the OOM without any corresponding option in a CDM, are generated using default values found in the registry.

 


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