com.aspose.diagram

  • java.lang.Object
    • 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()
void
setCategory(java.lang.Stringvalue)
           Specifies the text displayed in the Category column of the Issues window. Default is an empty string.
java.lang.StringgetDescription()
void
setDescription(java.lang.Stringvalue)
           the description of the validation rule that appears in the user interface. Default is "Unknown".
longgetID()
void
setID(longvalue)
           Specifies the unique identifier of the validation rule.
intgetIgnored()
void
setIgnored(intvalue)
           Specifies whether the validation rule is currently ignored. Default is False. The value of the property is BOOL integer constant.
java.lang.StringgetNameU()
void
setNameU(java.lang.Stringvalue)
           Specifies the universal name of the validation rule.
RuleValuegetRuleFilter()
void
           Specifies the logical expression that determines whether the validation rule should be applied to a target object.
intgetRuleTarget()
void
setRuleTarget(intvalue)
           Specifies the type of object to which the validation rule applies. The value of the property is VisRuleTargetsValue integer constant.
RuleValuegetRuleTest()
void
           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.