Chapter 7 Customizing the OOM Environment


Domain/Attribute

These options apply to domains:

Option Function
Enforce non-divergence Specifies that attributes attached to a domain must remain synchronized with the properties of that domain. The sub-options Data type, Check, and Rules allow you to select specific properties to synchronize.
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.

Enforce non-divergence

Your choice of whether or not to enforce domain and attribute non-divergence has the following results:

Non-divergence Result
Not enforced Attributes that diverge from the domain can remain attached to the domain
Enforced Attributes that diverge from the domain (for certain attribute properties) must be detached from the domain

Your selection to enforce, or not to enforce non-divergence between a domain and the attributes using the domain, has the following results on the attribute properties (data type, check, or rules):

Non-divergence Property is... Result when domain is modified
Enforced Selected The property is updated for all attributes using the domain
  Not selected No property is updated
Not enforced Selected You must confirm property update for all attributes using the domain
  Not selected No property is updated

When the Enforce non-divergence check box is not selected, if you select and modify one, or more attribute property so that it diverges from its current domain, you are asked if you want to keep the modifications and diverge from the domain. If you do not select any attribute property and you modify an attribute or a domain property, you create a divergence; in this case you are not warned, and you can no longer impact the change on the attribute properties.

If you modify any of the Minimum, Maximum, and Default check parameters of a domain used by an attribute, only the modified domain check parameter is copied to the attribute, not all attribute check parameters are replaced by domain check parameters.

If you modify the constraint of the Minimum, Maximum, and Default check parameters of either domain or attribute properties, the attribute properties must always enforce the constraint defined for the domain.

For example, Domain1 has the following check parameters: Minimum = 5, Maximum = 15, and Default = 10. Attribute1 uses Domain1. If you change the minimum check parameter of Domain1 to 3, this value is not replaced in the attribute properties when you click Apply. This is because 5 respects the constraints defined by the domain.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.