Previous Topic: Change the Order of Attributes Using the Attribute EditorNext Topic: Add an Attribute Definition


Assign a Domain to an Attribute

You can assign a domain to an attribute using the Attribute Editor.

When you attach a domain to an attribute, you specify logical data type for the selected attribute. Standard domains include: Default, Blob, Datetime, Number, and String. This list can also include user-defined logical data types that you create in the Domain Editor.

When you attach a domain to an attribute, the related column automatically inherits any physical model properties that you assign to the domain. For example, you can assign a Currency domain to an attribute, which can then optionally inherit its definition from that domain. The same domain, Currency, is attached to the corresponding column in the physical model, including the inherited domain characteristics such as data type and null option.

To assign a domain to an attribute

  1. Right-click the entity that contains the attribute for which you want to assign the domain and click Attribute Properties.

    The Attribute Editor opens.

  2. Select the attribute name in the Navigation Grid for which you want to assign the domain and click the General tab.
  3. Work with the following options:
    Domain

    Lets you select a domain from the list to attach it to the selected attribute. The Domain option contains a toolbar that includes the following options:

    Attribute Editor General Tab_Domain Option_Sort Button

    Lets you specify to sort the list of domains alphabetically, in reverse alphabetical order, or by domain hierarchy.

    Attribute Editor General Tab_Domain Option_Restore Inheritance from Definition Button

    Restores inheritance from definition. If this attribute is a FK, the domain may be inherited or overridden to a different domain.

    Attribute Editor General Tab_Domain Option_Domain Editor Button

    Opens the Domain Editor in logical edit mode.

    Image

    Specifies the image that you want to use to represent the domain from the list.

  4. Click Close.

    Attribute domain assignment is saved and the Attribute Editor closes.

More information:

Define General Properties for an Attribute