Class ConditionOperator

java.lang.Object
com.aquima.interactions.rule.ConditionOperator
All Implemented Interfaces:
Serializable

public final class ConditionOperator extends Object implements Serializable
Enumerated type class containing the possible comparison types for filter values.
Since:
9.2
Author:
A.Pragt
See Also:
  • Field Details

    • EQ

      public static final ConditionOperator EQ
      This member defines the equals operator.
    • GT

      public static final ConditionOperator GT
      This member defines the greater-than operator.
    • LT

      public static final ConditionOperator LT
      This member defines the lower-than operator.
    • GTE

      public static final ConditionOperator GTE
      This member defines the greater-than-equals operator.
    • LTE

      public static final ConditionOperator LTE
      This member defines the lower-than-equals operator.
    • NE

      public static final ConditionOperator NE
      This member defines the not-equals operator.
    • LIKE

      public static final ConditionOperator LIKE
      This member defines the like operator.
    • NOTLIKE

      public static final ConditionOperator NOTLIKE
      This member defines the notlike operator.
    • IN

      public static final ConditionOperator IN
      This member defines the in operator.
    • NOTIN

      public static final ConditionOperator NOTIN
      This member defines the not in operator.
  • Method Details

    • valueOf

      public static ConditionOperator valueOf(String str)
      This method returns the filter operator for the specified name.
      Parameters:
      str - The name of the requested filter operator.
      Returns:
      The filter operator for the specified name.
    • isSupported

      public static boolean isSupported(String str)
      This method checks if the operator is supported.
      Parameters:
      str - The name of the requested filter operator.
      Returns:
      Flag indicating if the operator is supported.
    • getType

      public String getType()
      This method returns the type (name) of the filter operator.
      Returns:
      the type (name) of the filter operator.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object