Class GenericLogicalExpression

java.lang.Object
com.appiancorp.common.query.LogicalExpression<Object>
com.appiancorp.common.query.GenericLogicalExpression
All Implemented Interfaces:
Criteria

@GwtCompatible public final class GenericLogicalExpression extends LogicalExpression<Object>

This class represents a logical expression combining multiple filters in a query.

An instance can only be obtained by using the helper class GenericQuery.GenericBuilder.LogicalOp

  • Constructor Details

    • GenericLogicalExpression

      protected GenericLogicalExpression(LogicalOperator operator, Criteria... conditions)
      Constructs a new GenericLogicalExpression
      Parameters:
      operator - a logical operation type define by LogicalOperator enum
      conditions - an array of conditions
    • GenericLogicalExpression

      protected GenericLogicalExpression(LogicalOperator operator, List<? extends Criteria> conditions)
      Constructs a new GenericLogicalExpression
      Parameters:
      operator - a logical operation type define by LogicalOperator enum
      conditions - a list of conditions
  • Method Details