Defining business rules
132 PowerDesigner
Defining business rules
You can define business rules in an XML model and attach them to objects.

What is a business rule?

A business rule is a written statement specifying what an XML model must
contain or how it must be structured to support business needs.
A business rule is a rule that your business follows. It could be a government-
imposed law, a customer requirement, or an internal guideline.
Business rules guide and document the creation of an XML model.
Business rules complement model graphics with information that is not easily
represented graphically.

Defining business rule properties

To display a business rule property sheet, double-click its name or its icon in
the Browser tree view.

Business rule general properties

The General page of a business rule property sheet displays the following
properties:
Property Description
Name Name of the rule. It must be a no-colon-name (See Glossary)
Code Code of the rule. It must be a no-colon-name
Comment Descriptive label of the rule
Stereotype Sub-classification used to extend the semantics of an object
without changing its structure. It can be predefined or user-
defined
Type Constraint, definition, fact, formula, requirement or validation
Modeling guides
Graphics
complements