You can modify an object's properties from its property sheet. To open a domain property sheet, double-click its Browser entry in the Domains folder. The following sections detail the property sheet tabs that contain the properties most commonly entered for domains.
The General tab contains the following properties:
The Detail tab contains a Persistent groupbox whose purpose is to improve the generation of code and data types during generation of a CDM or a PDM from an object-oriented model, and which contains the following properties:
Property |
Description |
---|---|
Persistent |
Groupbox for valid generation of CDM or PDM persistent models. Defines a model as persistent For more information on object persistence, see Managing Object Persistence During OOM to PDM Generation. |
Data Type |
Specifies a persistent data type used in the generation of a persistent model, either a CDM or a PDM. The persistent data type is defined from default PowerDesigner conceptual data types |
Length |
Maximum number of characters of the persistent data type. |
Precision |
Number of places after the decimal point, for persistent data type values that can take a decimal point. |
The following tabs are also available:
Standard Checks - contains checks which control the values permitted for the domain (see Setting Data Profiling Constraints)
Additional Checks - allows you to specify additional constraints (not defined by standard check parameters) for the domain.
Rules - lists the business rules associated with the domain (see "Business Rules" in Chapter 4, Objects of the Core Features Guide ).
Data Type |
Content |
Length |
Mandatory Precision |
---|---|---|---|
Integer |
32-bit integer |
— |
— |
Short Integer |
16-bit integer |
— |
— |
Long Integer |
32-bit integer |
— |
— |
Byte |
256 values |
— |
— |
Number |
Numbers with a fixed decimal point |
Fixed |
|
Decimal |
Numbers with a fixed decimal point |
Fixed |
|
Float |
32-bit floating point numbers |
Fixed |
— |
Short Float |
Less than 32-bit point decimal number |
— |
— |
Long Float |
64-bit floating point numbers |
— |
— |
Money |
Numbers with a fixed decimal point |
Fixed |
|
Serial |
Automatically incremented numbers |
Fixed |
— |
Boolean |
Two opposing values (true/false; yes/no; 1/0) |
— |
— |
Data Type |
Content |
Length |
---|---|---|
Characters |
Character strings |
Fixed |
Variable Characters |
Character strings |
Maximum |
Long Characters |
Character strings |
Maximum |
Long Var Characters |
Character strings |
Maximum |
Text |
Character strings |
Maximum |
Multibyte |
Multibyte character strings |
Fixed |
Variable Multibyte |
Multibyte character strings |
Maximum |