![Sybase Powerdesigner 7.5 User Manual Download Page 130](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512130.webp)
Defining domains
120
Defining domains
Domains help you identify the types of information in your project. They
define the set of values for which an attribute is valid. Applying domains to
attributes makes it easier to standardize data characteristics for attributes in
different classes.
In an OOM, you can associate the following information with a domain:
♦
Data type, length, and precision
♦
Check parameters
♦
Business rules
Domain properties
Each domain definition includes the following properties:
Property
Description
Maximum
length
Name
Name for the domain
254
Code
Reference name for the domain
254
Comment
Descriptive label for the domain
—
Data type
Form of the data corresponding to the domain, such
as numeric, alphanumeric, Boolean, or others
—
Length
Maximum number of characters
—
Precision
Number of places after the decimal point, for data
values that can take a decimal point
—
A domain definition can also include the following properties, which have
associated values or information used by attributes attached to the class:
Property
Description
Standard checks
Check parameters defined for the domain
Additional
checks
Domain constraints or validation rules not defined by standard
check parameters
Rules
Business rules attached to the domain
Summary of Contents for Powerdesigner 7.5
Page 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Page 8: ...viii...
Page 22: ...Defining OOM properties 12...
Page 144: ...Defining check parameters 134...
Page 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Page 210: ...Customizing scripts 200...
Page 224: ...Generating a CDM from an OOM 214...
Page 238: ...Generating a PDM from an OOM 228...
Page 260: ...Object language editor categories 250...
Page 268: ...Applying business rules to objects 258...
Page 288: ...278...