new Rule()

Constructor.

Methods

getCategory()

Specifies the text displayed in the Category column of the Issues window. Default is an empty string.

getDescription()

the description of the validation rule that appears in the user interface. Default is "Unknown".

getID()

Specifies the unique identifier of the validation rule.

getIgnored()

Specifies whether the validation rule is currently ignored. Default is False. The value of the property is BOOL integer constant.

getNameU()

Specifies the universal name of the validation rule.

getRuleFilter()

Specifies the logical expression that determines whether the validation rule should be applied to a target object.

getRuleTarget()

Specifies the type of object to which the validation rule applies. The value of the property is VisRuleTargetsValue integer constant.

getRuleTest()

Specifies the logical expression that determines whether the target object satisfies the validation rule

setCategory()

Specifies the text displayed in the Category column of the Issues window. Default is an empty string.

setDescription()

the description of the validation rule that appears in the user interface. Default is "Unknown".

setID()

Specifies the unique identifier of the validation rule.

setIgnored()

Specifies whether the validation rule is currently ignored. Default is False. The value of the property is BOOL integer constant.

setNameU()

Specifies the universal name of the validation rule.

setRuleFilter()

Specifies the logical expression that determines whether the validation rule should be applied to a target object.

setRuleTarget()

Specifies the type of object to which the validation rule applies. The value of the property is VisRuleTargetsValue integer constant.

setRuleTest()

Specifies the logical expression that determines whether the target object satisfies the validation rule