Class ClaimRule


  • public class ClaimRule
    extends Object
    A rule for processing a claim.
    Since:
    2.39
    • Constructor Detail

      • ClaimRule

        public ClaimRule()
    • Method Detail

      • getOperation

        public ClaimRuleOperation getOperation()
        Get the operation that this rule will apply to any claims it processes.
        Returns:
        The operation.
        Since:
        2.39
      • setOperation

        public ClaimRule setOperation​(ClaimRuleOperation operation)
        Set the operation that this rule will apply to any claims it processes.
        Parameters:
        operation - The operation.
        Returns:
        this object.
        Since:
        2.39
      • getClaimName

        public String getClaimName()
        Get the name of the claim that this rule applies to.
        Returns:
        The claim name.
        Since:
        2.39
      • setClaimName

        public ClaimRule setClaimName​(String claimName)
        Set the name of the claim that this rule applies to.
        Parameters:
        claimName - The claim name.
        Returns:
        this object.
        Since:
        2.39
      • getComparisonValue

        public String getComparisonValue()
        Get the value to compare the claim value to, if the operation is EQUALS. Values are compared based on their serialization as strings.
        Returns:
        The comparison value, as a string.
        Since:
        2.39
      • setComparisonValue

        public ClaimRule setComparisonValue​(String comparisonValue)
        Set the value to compare the claim value to, if the operation is EQUALS. Values are compared based on their serialization as strings.
        Parameters:
        comparisonValue - The comparison value, as a string.
        Returns:
        this object.
        Since:
        2.39