EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

javax.persistence.criteria
Interface QueryBuilder.In<T>

All Superinterfaces:
Expression<java.lang.Boolean>, Predicate, Selection<java.lang.Boolean>, TupleElement<java.lang.Boolean>
Enclosing interface:
QueryBuilder

public static interface QueryBuilder.In<T>
extends Predicate

Interface used to build in predicates.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.persistence.criteria.Predicate
Predicate.BooleanOperator
 
Method Summary
 Expression<T> getExpression()
          Returns the expression to be tested against the list of values.
 QueryBuilder.In<T> value(Expression<? extends T> value)
          Add to list of values to be tested against.
 QueryBuilder.In<T> value(T value)
          Add to list of values to be tested against.
 
Methods inherited from interface javax.persistence.criteria.Predicate
getExpressions, getOperator, isNegated, negate
 
Methods inherited from interface javax.persistence.criteria.Expression
as, in, in, in, in, isNotNull, isNull
 
Methods inherited from interface javax.persistence.criteria.Selection
alias, getCompoundSelectionItems, isCompoundSelection
 
Methods inherited from interface javax.persistence.TupleElement
getAlias, getJavaType
 

Method Detail

getExpression

Expression<T> getExpression()
Returns the expression to be tested against the list of values.

Returns:
expression

value

QueryBuilder.In<T> value(T value)
Add to list of values to be tested against.

Parameters:
value - value
Returns:
in predicate

value

QueryBuilder.In<T> value(Expression<? extends T> value)
Add to list of values to be tested against.

Parameters:
value - expression
Returns:
in predicate

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference