Feature Rule Properties

In the data model administrator, you select the feature class in the data model explorer. Right-click the feature class and click Edit Feature Rules.

In the Feature Rules Properties dialog box, you can assign the feature rules, as shown in the following table. After you have assigned the feature rule, you can modify some properties.

Feature Rule Properties

Description

Feature Class

Name of the feature class

Server Side (PL/SQL)

Client Side (.NET)

Feature rules can be server-side or client-side.

Click the respective tab.

Note, that you can only define new server-side feature rules.

Applied Rule Bases

Lists feature rules that are currently assigned to the feature class. The assigned feature rules are recorded in the system table TB_RULE_BASE.

The TB_RULE_FCLASSTYPE table defines which feature rule is available for which feature class type. Example: Calculating the length is valid for LineString feature classes but not for point feature classes.

Edit

Edits the feature rules. Select a row and click the button.

Priority

Defines the execution order of the feature rules. A feature rule with a lower priority value is executed before a rule with a higher value.

Example: It makes sense to validate the geometry of a feature, before calculating the area.

Use the Up and Down button to change the order and modify the priority.

Rule Base Definitions

Lists all feature rules (TB_RULE_DEF) and rule groups (TB_RULE_GROUP) that are available for the current feature class.

If you select a group, all included rules are added to the Applied Rule Bases list.

Note:

Only feature rules that are not part of a group are available individually.

Add

Adds a feature rule definition. Select a row and click Add.

Remove

Removes an applied feature rule.

Edit

Edits your own feature rule definitions. Displays the server-side feature rule definitions.

New

Creates a new server-side feature rule definition.

New Group

Creates a feature rule group.

Event

Event on which a feature rule reacts.

BI

Before insert

BU

Before update

BD

Before delete

AI

After insert

AU

After update

AD

After delete