Object Generations (Profile)

Object generations allow you to define mappings between one PowerDesigner model type and another based on the two metamodels (and any extensions) to enable the generation of one or more object types.

For an overview of creating, deploying, and using object generations, see Core Features Guide > Linking and Synchronizing Models > Generating Models and Model Objects > Generating Model Objects > Defining Advanced Object Generations.
  1. [if the Object Generations category is not present] Right-click the root node, select Add Items, select Object Generations, and click OK to create this folder.
  2. Right click the Object Generations folder, and select New to create an object generation.
  3. Enter the following properties as appropriate:

    Property

    Description

    Target model type

    Specifies the type of model that will be created or updated by the generation.

    Menu command name

    Specifies the name of the command that will appear in the interface under Tools > Generate Objects. This field is initialized when you select a target model type.

    Comment Provides a description of the generation or other additional information.
  4. [optional] Click the Source Extensions and/or Target Extensions tab and select extension files containing extended attributes, collections, or metaclasses to reference in your mappings.
    Attaching extension files in this way allow you to reuse previously defined extensions in your generations or to share extensions between generations. You can also define extensions as appropriate under the Profile category in the resource file containing the generation definition.
  5. Click the Mappings button to define mappings from your source to target metaclasses in the Mapping Editor (see Model-to-Model Generation Mappings).
  6. Click Apply to save your changes.