aspose.diagram
Class Rule

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

Field Summary
RuleValueRuleFilter
           Specifies the logical expression that determines whether the validation rule should be applied to a target object.
RuleValueRuleTest
           Specifies the logical expression that determines whether the target object satisfies the validation rule
 
Constructor Summary
Rule()
           Constructor.
 
Property Getters/Setters Summary
functiongetCategory()
functionsetCategory(value)
           Specifies the text displayed in the Category column of the Issues window. Default is an empty string.
functiongetDescription()
functionsetDescription(value)
           the description of the validation rule that appears in the user interface. Default is "Unknown".
functiongetID()
functionsetID(value)
           Specifies the unique identifier of the validation rule.
functiongetIgnored()
functionsetIgnored(value)
           Specifies whether the validation rule is currently ignored. Default is False. The value of the property is BOOL integer constant.
functiongetNameU()
functionsetNameU(value)
           Specifies the universal name of the validation rule.
functiongetRuleTarget()
functionsetRuleTarget(value)
           Specifies the type of object to which the validation rule applies. The value of the property is VisRuleTargetsValue integer constant.
 

Field Detail

RuleFilter

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

RuleTest

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

Constructor Detail

Rule

function Rule()
Constructor.

Property Getters/Setters Detail

getID/setID : long 

function getID() / function setID(value)
Specifies the unique identifier of the validation rule.

getNameU/setNameU : String 

function getNameU() / function setNameU(value)
Specifies the universal name of the validation rule.

getCategory/setCategory : String 

function getCategory() / function setCategory(value)
Specifies the text displayed in the Category column of the Issues window. Default is an empty string.

getDescription/setDescription : String 

function getDescription() / function setDescription(value)
the description of the validation rule that appears in the user interface. Default is "Unknown".

getRuleTarget/setRuleTarget : Number 

function getRuleTarget() / function setRuleTarget(value)
Specifies the type of object to which the validation rule applies. The value of the property is VisRuleTargetsValue integer constant.

getIgnored/setIgnored : Number 

function getIgnored() / function setIgnored(value)
Specifies whether the validation rule is currently ignored. Default is False. The value of the property is BOOL integer constant.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.