Interface Rule

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getRuleContents()
      This contains the text of the rule itself.
      String getRuleID()
      Contains the unique identifier of this rule within the provider.
      int getVersion()
      Contains a value used for conflict resolution during concurrent updates.
      void setRuleContents​(String ruleContents)
      This contains the text of the rule itself.
      void setRuleID​(String ruleID)
      Contains the unique identifier of this rule within the provider.
      void setVersion​(int version)
      Contains a value used for conflict resolution during concurrent updates.
    • Method Detail

      • getVersion

        int getVersion()
        Contains a value used for conflict resolution during concurrent updates.
      • setVersion

        void setVersion​(int version)
        Contains a value used for conflict resolution during concurrent updates.
      • getRuleID

        String getRuleID()
        Contains the unique identifier of this rule within the provider. This is only guaranteed to be unique within the context of a single Rule provider.
      • setRuleID

        void setRuleID​(String ruleID)
        Contains the unique identifier of this rule within the provider. This is only guaranteed to be unique within the context of a single Rule provider.
      • getRuleContents

        String getRuleContents()
        This contains the text of the rule itself. In the case of XML rules, this will be the literal text. In the case of Java rules, this will be a readable approximation of the rule itself.
      • setRuleContents

        void setRuleContents​(String ruleContents)
        This contains the text of the rule itself. In the case of XML rules, this will be the literal text. In the case of Java rules, this will be a readable approximation of the rule itself.