Rule class

Rule class

Represents a single validation rule in a diagram validation rule set.

The Rule type exposes the following members:

Constructors

ConstructorDescription
Rule()Constructor.

Properties

PropertyDescription
rule_filterSpecifies the logical expression that determines whether the validation rule should be applied to a target object.
rule_testSpecifies the logical expression that determines whether the target object satisfies the validation rule
idSpecifies the unique identifier of the validation rule.
name_uSpecifies the universal name of the validation rule.
categorySpecifies the text displayed in the Category column of the Issues window. Default is an empty string.
descriptionthe description of the validation rule that appears in the user interface. Default is “Unknown”.
rule_targetSpecifies the type of object to which the validation rule applies.
ignoredSpecifies whether the validation rule is currently ignored. Default is False.

See Also