Package com.aquima.interactions.trace
Class FilterCondition
java.lang.Object
com.aquima.interactions.trace.FilterCondition
- All Implemented Interfaces:
Serializable
This class may be used to represent a condition on a query.
- Since:
- 9.2
- Author:
- A.Pragt
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFilterCondition
(IValue value, ConditionOperator operator) FilterCondition
(IValue value, ConditionOperator operator, boolean ignoreCase) FilterCondition
(IValue value, ConditionOperator operator, boolean ignoreCase, MatchMode matchMode) Constructs a new condition. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the operator to use.getValue()
This method returns the value to check against.boolean
Indicates whether the condition should ignore case (when applicable).
-
Constructor Details
-
FilterCondition
-
FilterCondition
-
FilterCondition
public FilterCondition(IValue value, ConditionOperator operator, boolean ignoreCase, MatchMode matchMode) Constructs a new condition.- Parameters:
value
- The value to check, may be null.operator
- The operator to use, not null.ignoreCase
- should casing be ignoredmatchMode
- the match mode used with LIKE conditions
-
-
Method Details
-
getValue
This method returns the value to check against.- Returns:
- The value to compare the value with.
-
getOperator
This method returns the operator to use.- Returns:
- the operator to use
-
isIgnoreCase
public boolean isIgnoreCase()Indicates whether the condition should ignore case (when applicable).- Returns:
- true if case should be ignored, false otherwise
-
getMatchMode
- Returns:
- the match mode used in LIKE conditions
-