Setting OOM Model Options

You can set OOM model options by selecting Tools > Model Options or right-clicking the diagram background and selecting Model Options. These options affect all the objects in the model, including those already created.

You can set the following options:

Option

Definition

Name/Code case sensitive

Specifies that the names and codes for all objects are case sensitive, allowing you to have two objects with identical names or codes but different cases in the same model. If you change case sensitivity during the design process, we recommend that you check your model to verify that your model does not contain any duplicate objects.

Enable links to requirements

Displays a Requirements tab in the property sheet of every object in the model, which allows you to attach requirements to objects (see Requirements Modeling).

Show classes as data types

Includes classes of the model in the list of data types defined for attributes or parameters, and return types defined for operations.

Preview editable

Applies to reverse engineering. You can edit your code from the Preview page of a class or an interface by selecting the Preview Editable check box. This allows you to reverse engineer changes applied to your code directly from the Preview page.

External Shortcut Properties

Specifies the properties that are stored for external shortcuts to objects in other models for display in property sheets and on symbols. By default, All properties appear, but you can select to display only Name/Code to reduce the size of your model.
Note: This option only controls properties of external shortcuts to models of the same type (PDM to PDM, EAM to EAM, etc). External shortcuts to objects in other types of model can show only the basic shortcut properties.

Default Data Types

Specifies default data types for attributes, operations, and parameters.

If you type a data type value that does not exist in the BasicDataTypes and AdditionalDataTypes lists of the object language, then the value of the DefaultDataType entry is used. For more information on data types in the object language, see Customizing and Extending PowerDesigner > Object, Process, and XML Language Definition Files > Settings Category: Object Language.

Domain/Attribute: Enforce non-divergence

Specifies that attributes attached to a domain must remain synchronized with the properties of that domain. You can specify any or all of:
  • Data type – data type, length, and precision

  • Check – check parameters, such as minimum and maximum values

  • Rules – business rules

Domain/Attribute: Use data type full name

Specifies that the full data type name is used for attribute data types instead of its abbreviated from. Provides a clear persistent data type list for attributes.

Default Association Container

Specifies a default container for associations that have a role with a multiplicity greater than one.

Message: Support delay

Specifies that messages may have duration (slanted arrow message). If this option is deselected, messages are treated as instantaneous, or fast (horizontal message).

Interface/Class: Auto-implement realized interfaces

Adds to the realizing class any methods of a realized interface and its parents that are not already implemented by the class. The <<implement>> stereotype is applied to the methods.

Interface/Class: Class attribute default visibility

Specifies the default visibility of class attributes.

Note: For information about specifying naming conventions for your model objects, see Core Features Guide > Modeling with PowerDesigner > Objects > Naming Conventions.