public class PredicateImpl extends CompoundExpressionImpl implements javax.persistence.criteria.Predicate
Purpose: Contains the implementation of the Predicate interface of the JPA criteria API.
Description: The predicate forms the least specific expression node. Predicates result in boolean expressions that are combined to form the final expression.
Predicate,
Serialized Form| Constructor and Description |
|---|
PredicateImpl(javax.persistence.metamodel.Metamodel metamodel,
Expression expressionNode,
java.util.List<javax.persistence.criteria.Expression<?>> parentExpressions,
javax.persistence.criteria.Predicate.BooleanOperator operator) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<javax.persistence.criteria.Expression<java.lang.Boolean>> |
getExpressions()
Return the top-level conjuncts or disjuncts of the predicate.
|
java.lang.Boolean |
getJunctionValue()
INTERNAL:
This method returns null if this is not a conjunction/disjunction
TRUE if this is a conjunction, FALSE for disjunction.
|
javax.persistence.criteria.Predicate.BooleanOperator |
getOperator()
Return the boolean operator for the predicate.
|
boolean |
isCompoundExpression() |
boolean |
isJunction() |
javax.persistence.criteria.Predicate |
not()
Apply negation to the predicate.
|
void |
setOperator(javax.persistence.criteria.Predicate.BooleanOperator operator) |
isExpression, isNegated, isPredicate, setParentNodefindRootAndParameters, getChildExpressions, getOperationas, in, in, in, in, isLiteral, isNotNull, isNull, isParameter, isSubqueryalias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRootequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitas, in, in, in, in, isNotNull, isNullpublic PredicateImpl(javax.persistence.metamodel.Metamodel metamodel,
Expression expressionNode,
java.util.List<javax.persistence.criteria.Expression<?>> parentExpressions,
javax.persistence.criteria.Predicate.BooleanOperator operator)
public java.lang.Boolean getJunctionValue()
public javax.persistence.criteria.Predicate.BooleanOperator getOperator()
CompoundExpressionImplgetOperator in interface javax.persistence.criteria.PredicategetOperator in class CompoundExpressionImplpublic java.util.List<javax.persistence.criteria.Expression<java.lang.Boolean>> getExpressions()
getExpressions in interface javax.persistence.criteria.PredicategetExpressions in class CompoundExpressionImplpublic javax.persistence.criteria.Predicate not()
not in interface javax.persistence.criteria.Predicatenot in class CompoundExpressionImplpublic void setOperator(javax.persistence.criteria.Predicate.BooleanOperator operator)
setOperator in class CompoundExpressionImploperator - the operator to setpublic boolean isJunction()
isJunction in interface InternalExpressionisJunction in class ExpressionImpl<java.lang.Boolean>public boolean isCompoundExpression()
isCompoundExpression in interface InternalExpressionisCompoundExpression in class CompoundExpressionImplEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference