![Sybase Powerdesigner 7.5 Скачать руководство пользователя страница 143](http://html1.mh-extra.com/html/sybase/powerdesigner-7-5/powerdesigner-7-5_user-manual_1416512143.webp)
Chapter 2 Building an Object-Oriented Model
133
At generation, validation rule variables are instantiated with the following
values:
Variable
Value
%ATTRIBUTE%
Code of the attribute to which the business rule applies
%DOMAIN%
Code of the domain to which the business rule applies
%CLASS%
Code of the class to which the business rule applies
%MINMAX%
Minimum and maximum values for the attribute or domain
%LISTVAL%
List values for the entity attribute or domain
%RULES%
Server validation rules for the entity attribute or domain
$
For more information on defining business rules, see the chapter Using
Business Rules.
v
To use a validation rule in check parameters:
1
Click the Rules tab in the property sheet of a class, attribute, or domain.
The Rules page appears.
2
Click the Add Rules tool.
A list appears displaying the available business rules in the model.
3
Select a business rule in the list.
4
Click OK in each of the dialog boxes.
Validation rule expressions
You must click the Rules button to modify the expression attached to
a validation rule. You can also modify validation rule expressions
from the list of business rules, by clicking the Define button.
Содержание Powerdesigner 7.5
Страница 1: ...OBJECT ORIENTED MODEL User s Guide POWERDESIGNER 7 5...
Страница 8: ...viii...
Страница 22: ...Defining OOM properties 12...
Страница 97: ...Chapter 2 Building an Object Oriented Model 87 4 Modify the operation display preferences 5 Click OK...
Страница 144: ...Defining check parameters 134...
Страница 208: ...Generating for XML 198 6 Click OK An XML file is generated with the file extension xml...
Страница 210: ...Customizing scripts 200...
Страница 224: ...Generating a CDM from an OOM 214...
Страница 238: ...Generating a PDM from an OOM 228...
Страница 260: ...Object language editor categories 250...
Страница 268: ...Applying business rules to objects 258...
Страница 288: ...278...