T
- Type of value@GwtCompatible public abstract class LogicalExpression<T> extends java.lang.Object implements Criteria
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOCAL_PART |
static javax.xml.namespace.QName |
QNAME |
static java.lang.String |
XML_ROOT_ELEMENT |
Modifier | Constructor and Description |
---|---|
protected |
LogicalExpression()
Initializes a newly created
LogicalExpression |
protected |
LogicalExpression(LogicalOperator operator,
Criteria... conditions)
Constructs a new
LogicalExpression |
protected |
LogicalExpression(LogicalOperator operator,
java.util.List<? extends Criteria> conditions)
Constructs a new
LogicalExpression |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
abstract java.util.List<Criteria> |
getConditions()
Returns the list of conditions
|
LogicalOperator |
getOperator()
Returns the type of logical operation define by the
LogicalOperator enum |
int |
hashCode() |
protected abstract void |
setConditions(java.util.List<Criteria> conditions)
Sets the list of conditions
|
java.lang.String |
toString() |
public static final java.lang.String XML_ROOT_ELEMENT
public static final java.lang.String LOCAL_PART
public static final javax.xml.namespace.QName QNAME
protected LogicalExpression()
LogicalExpression
protected LogicalExpression(LogicalOperator operator, Criteria... conditions)
LogicalExpression
operator
- a logical operation type define by LogicalOperator
enumconditions
- an array of conditionsprotected LogicalExpression(LogicalOperator operator, java.util.List<? extends Criteria> conditions)
LogicalExpression
operator
- a logical operation type define by LogicalOperator
enumconditions
- a list of conditionspublic LogicalOperator getOperator()
LogicalOperator
enumLogicalOperator
public abstract java.util.List<Criteria> getConditions()
protected abstract void setConditions(java.util.List<Criteria> conditions)
conditions
- a list of conditionspublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.