@GwtCompatible public final class GenericLogicalExpression extends LogicalExpression<java.lang.Object>
This class represents a logical expression combining multiple filters in a query.
An instance can only be obtained by using the helper class GenericBuilder.LogicalOp
LOCAL_PART, QNAME, XML_ROOT_ELEMENT
Modifier | Constructor and Description |
---|---|
protected |
GenericLogicalExpression(LogicalOperator operator,
Criteria... conditions)
Constructs a new
GenericLogicalExpression |
protected |
GenericLogicalExpression(LogicalOperator operator,
java.util.List<? extends Criteria> conditions)
Constructs a new
GenericLogicalExpression |
Modifier and Type | Method and Description |
---|---|
Criteria |
copy() |
java.util.List<Criteria> |
getConditions()
Returns the list of conditions
|
protected void |
setConditions(java.util.List<Criteria> conditions)
Sets the list of conditions
|
equals, getOperator, hashCode, toString
protected GenericLogicalExpression(LogicalOperator operator, Criteria... conditions)
GenericLogicalExpression
operator
- a logical operation type define by LogicalOperator
enumconditions
- an array of conditionsprotected GenericLogicalExpression(LogicalOperator operator, java.util.List<? extends Criteria> conditions)
GenericLogicalExpression
operator
- a logical operation type define by LogicalOperator
enumconditions
- a list of conditionspublic java.util.List<Criteria> getConditions()
LogicalExpression
getConditions
in class LogicalExpression<java.lang.Object>
protected void setConditions(java.util.List<Criteria> conditions)
LogicalExpression
setConditions
in class LogicalExpression<java.lang.Object>
conditions
- a list of conditionspublic Criteria copy()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.