Previous Topic: The Domain Editor in Physical Edit ModeNext Topic: Change a Physical Domain Name


Add a Domain in the Physical Edit Mode

You can work with features in the Domain Editor to add a domain to the physical model.

To add a domain in the physical edit mode

  1. Click Domains on the Model menu.

    The Domain Editor opens.

  2. Click the New New icon in property editors to create a new object button on the toolbar.

    A new domain with a default name is added to the Navigation Grid. It is placed in the list in alphabetical order.

  3. Work with the following options in the Navigation Grid:
    Physical Name

    Displays the name of the domain in the physical model. When you add a new domain, a default name is automatically assigned. You can change the domain name in this field using in-place editing.

    Domain Parent

    Displays the current parent domain. You can change the domain using the drop-down list.

    Physical Data Type

    Specifies the physical data type for the domain. You can change the data type using the drop-down list. The drop-down list contains the data types related to the current domain.

    Anchored to Type

    Specifies whether the domain is anchored to a column or a variable. This column is enabled only for a DB2 LUW user defined data type.

    Schema

    Specifies the schema associated with the domain.

    Distinct Type

    Specifies whether the domain is of distinct type.

    Physical Only

    Specifies whether the domain should only appear in the physical model. Select this check box if you want the selected domain to appear in the physical model only. Clear this check box if you want the selected domain in the logical model.

    Note: When you select or clear the check box in the Navigation Grid, your selection is automatically reflected in the Physical Only check box in the General tab.

  4. Work with the other tabs in the editor to further define the domain properties.
  5. Click Close.

    The domain is added to the physical model and the Domain Editor closes.

Back to Top

More information:

Summary of User Data Type Schema Generation Options

Specifying Database-Specific Options For a Domain

Specify a Validation Rule and Default Value for a Domain in the Physical Model

Specify a Column Definition Using a Physical Domain

Specify a Domain Comment in the Physical Model

Specify a Data Source For a Domain