Creating an OOM

You create a new object-oriented model by selecting File > New Model.

Note: In addition to creating an OOM from scratch with the following procedure, you can also reverse-engineer a model from existing OO code (see Reverse Engineering OO Source Files into an OOM).
The New Model dialog is highly configurable, and your administrator may have hidden options that are not relevant for your work or provided templates or predefined models to guide you through model creation. When you open the dialog, one or more of the following buttons will be available on the left hand side:
  • Categories - which provides a set of predefined models and diagrams sorted in a configurable category structure.
  • Model types - which provides the classic list of PowerDesigner model types and diagrams.
  • Template files - which provides a set of model templates sorted by model type.

New Model Dialog
  1. Select File > New Model to open the New Model dialog.
  2. Click a button, and then select a category or model type ( Object-Oriented Model ) in the left-hand pane.
  3. Select an item in the right-hand pane. Depending on how your New Model dialog is configured, these items may be first diagrams or templates on which to base the creation of your model. Use the Views tool on the upper right hand side of the dialog to control the display of the items.
  4. Enter a model name. The code of the model, which is used for script or code generation, is derived from this name according to the model naming conventions.
  5. [when available] Select an object language , and specify whether to:
    • Share the object language definition – creates a link to the file in the Resource Files\ Object Languages directory. Changes made to the target affect all models that share it.
    • Copy the object language definition in model – makes a copy of the resource file and saves it with the model. Changes made to the target affect only the current model.
    For more information about PowerDesigner resource files, and how to add extensions to them, see the Customizing and Extending PowerDesigner manual.
  6. [optional] Click the Select Extensions button and attach one or more extensions to your model.
  7. Click OK to create and open the object-oriented model .
    Note: Sample OOMs are available in the Example Directory.