Package com.aquima.interactions.rule
Class ConditionOperator
java.lang.Object
com.aquima.interactions.rule.ConditionOperator
- All Implemented Interfaces:
Serializable
Enumerated type class containing the possible comparison types for filter values.
- Since:
- 9.2
- Author:
- A.Pragt
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConditionOperator
This member defines the equals operator.static final ConditionOperator
This member defines the greater-than operator.static final ConditionOperator
This member defines the greater-than-equals operator.static final ConditionOperator
This member defines the in operator.static final ConditionOperator
This member defines the like operator.static final ConditionOperator
This member defines the lower-than operator.static final ConditionOperator
This member defines the lower-than-equals operator.static final ConditionOperator
This member defines the not-equals operator.static final ConditionOperator
This member defines the not in operator.static final ConditionOperator
This member defines the notlike operator.static final ConditionOperator
This member defines the subsetof operator. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
This method returns the type (name) of the filter operator.int
hashCode()
static boolean
isSupported
(String str) This method checks if the operator is supported.toString()
static ConditionOperator
This method returns the filter operator for the specified name.
-
Field Details
-
EQ
This member defines the equals operator. -
GT
This member defines the greater-than operator. -
LT
This member defines the lower-than operator. -
GTE
This member defines the greater-than-equals operator. -
LTE
This member defines the lower-than-equals operator. -
NE
This member defines the not-equals operator. -
LIKE
This member defines the like operator. -
NOTLIKE
This member defines the notlike operator. -
IN
This member defines the in operator. -
NOTIN
This member defines the not in operator. -
SUBSETOF
This member defines the subsetof operator.
-
-
Method Details
-
valueOf
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
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
This method returns the type (name) of the filter operator.- Returns:
- the type (name) of the filter operator.
-
hashCode
public int hashCode() -
equals
-
toString
-