public class InImpl<T> extends CompoundExpressionImpl implements javax.persistence.criteria.CriteriaBuilder.In<T>
Purpose: Contains the implementation of the In interface of the JPA criteria API.
Description: This class represents an In predicate.
Join,
Serialized Form| Constructor and Description |
|---|
InImpl(javax.persistence.metamodel.Metamodel metamodel,
javax.persistence.criteria.Expression leftExpression,
java.util.List<javax.persistence.criteria.Expression<?>> compoundExpressions) |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.criteria.Expression<T> |
getExpression()
Returns the expression to be tested against the
list of values.
|
void |
setParentNode(Expression parentNode)
This method is used to store what will be the parent EclipseLink expression in the case the tree needs to be altered.
|
javax.persistence.criteria.CriteriaBuilder.In<T> |
value(javax.persistence.criteria.Expression<? extends T> value)
Add to list of values to be tested against.
|
javax.persistence.criteria.CriteriaBuilder.In<T> |
value(T value)
Add to list of values to be tested against.
|
getExpressions, getOperator, isCompoundExpression, isExpression, isNegated, not, setOperatorfindRootAndParameters, getChildExpressions, getOperationas, in, in, in, in, isLiteral, isNotNull, isNull, isParameter, isPredicate, isSubqueryalias, getAlias, getCompoundSelectionItems, getCurrentNode, getJavaType, isCompoundSelection, isConstructor, isFrom, isRootequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpressions, getOperator, isNegated, notas, in, in, in, in, isNotNull, isNullpublic InImpl(javax.persistence.metamodel.Metamodel metamodel,
javax.persistence.criteria.Expression leftExpression,
java.util.List<javax.persistence.criteria.Expression<?>> compoundExpressions)
public javax.persistence.criteria.Expression<T> getExpression()
getExpression in interface javax.persistence.criteria.CriteriaBuilder.In<T>public javax.persistence.criteria.CriteriaBuilder.In<T> value(T value)
value in interface javax.persistence.criteria.CriteriaBuilder.In<T>value - valuepublic javax.persistence.criteria.CriteriaBuilder.In<T> value(javax.persistence.criteria.Expression<? extends T> value)
value in interface javax.persistence.criteria.CriteriaBuilder.In<T>value - expressionpublic void setParentNode(Expression parentNode)
setParentNode in class CompoundExpressionImplEclipseLink 2.4.2, "build v20130514-5956486" API Reference