Chapter 6 Managing Models


Applying transformations during generation

Transformation profiles can be used during model generation:

Inter model generation

During inter-model generation, it is impossible to execute both lists of transformations of the same transformation profile, because the current model is the source of generation but not the target as defined in the following example.


Model to model generation

When you generate a model to the same type of model, you can execute both lists of transformations of the transformation profile provided you select the same extended model definition in the source and in the target model.


Steps To select transformations for generation:

  1. Select Tools→Generate Model to open the Model Generation Options dialog box.
  2. Click the Details tab, and click the Enable Transformations to display the Extended Model Definitions, Pre-generation, and Post-generation tabs.
  3. Click the Extended Model Definitions tab to select the extended model definitions in which you have defined your transformations.
  4. Click the Pre-generation tab and select profiles and transformations to be applied before generation. If you deselect a profile checkbox, none of its transformations will be executed. You can drag and drop profiles to modify transformation execution order. During generation, transformations are executed in the following order:

  5. Click the Post-generation tab and select profiles and transformations to be applied after generation.
  6. Click OK in the Model Generation Options dialog box.

 


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