Class FilterCondition

java.lang.Object
com.aquima.interactions.trace.FilterCondition
All Implemented Interfaces:
Serializable

public class FilterCondition extends Object implements Serializable
This class may be used to represent a condition on a query.
Since:
9.2
Author:
A.Pragt
See Also:
  • Constructor Details

    • FilterCondition

      public FilterCondition(IValue value, ConditionOperator operator)
    • FilterCondition

      public FilterCondition(IValue value, ConditionOperator operator, boolean ignoreCase)
    • 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 ignored
      matchMode - the match mode used with LIKE conditions
  • Method Details

    • getValue

      public IValue getValue()
      This method returns the value to check against.
      Returns:
      The value to compare the value with.
    • getOperator

      public ConditionOperator 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

      public MatchMode getMatchMode()
      Returns:
      the match mode used in LIKE conditions