com.aspose.diagram
Class Rule

java.lang.Object
    extended by com.aspose.diagram.Rule

public class Rule 
extends java.lang.Object

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


Constructor Summary
Rule()
           Constructor.
 
Property Getters/Setters Summary
java.lang.StringgetCategory()
voidsetCategory(java.lang.String)
           Specifies the text displayed in the Category column of the Issues window. Default is an empty string.
java.lang.StringgetDescription()
voidsetDescription(java.lang.String)
           the description of the validation rule that appears in the user interface. Default is "Unknown".
longgetID()
voidsetID(long)
           Specifies the unique identifier of the validation rule.
intgetIgnored()
voidsetIgnored(int)
           Specifies whether the validation rule is currently ignored. Default is False. The value of the property is BOOL integer constant.
java.lang.StringgetNameU()
voidsetNameU(java.lang.String)
           Specifies the universal name of the validation rule.
RuleValuegetRuleFilter()
voidsetRuleFilter(RuleValue)
           Specifies the logical expression that determines whether the validation rule should be applied to a target object.
intgetRuleTarget()
voidsetRuleTarget(int)
           Specifies the type of object to which the validation rule applies. The value of the property is VisRuleTargetsValue integer constant.
RuleValuegetRuleTest()
voidsetRuleTest(RuleValue)
           Specifies the logical expression that determines whether the target object satisfies the validation rule
 

Constructor Detail

Rule

public Rule()
Constructor.

Property Getters/Setters Detail

getRuleFilter/setRuleFilter

public RuleValue getRuleFilter() / public void setRuleFilter(RuleValue value)
Specifies the logical expression that determines whether the validation rule should be applied to a target object.

getRuleTest/setRuleTest

public RuleValue getRuleTest() / public void setRuleTest(RuleValue value)
Specifies the logical expression that determines whether the target object satisfies the validation rule

getID/setID

public long getID() / public void setID(long value)
Specifies the unique identifier of the validation rule.

getNameU/setNameU

public java.lang.String getNameU() / public void setNameU(java.lang.String value)
Specifies the universal name of the validation rule.

getCategory/setCategory

public java.lang.String getCategory() / public void setCategory(java.lang.String value)
Specifies the text displayed in the Category column of the Issues window. Default is an empty string.

getDescription/setDescription

public java.lang.String getDescription() / public void setDescription(java.lang.String value)
the description of the validation rule that appears in the user interface. Default is "Unknown".

getRuleTarget/setRuleTarget

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

getIgnored/setIgnored

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

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