org.datanucleus.query.typesafe
Interface ListExpression<T extends java.util.List<E>,E>

Type Parameters:
T - Java type being represented here
E - Element type of the List being represented here
All Superinterfaces:
CollectionExpression<T,E>, Expression<T>
All Known Implementing Classes:
ListExpressionImpl

public interface ListExpression<T extends java.util.List<E>,E>
extends CollectionExpression<T,E>

Representation of a List in a query.


Method Summary
 Expression get(int pos)
          Method returning the element at this position in the List.
 Expression get(NumericExpression<java.lang.Integer> posExpr)
          Method returning the element at this position in the List.
 
Methods inherited from interface org.datanucleus.query.typesafe.CollectionExpression
contains, contains, isEmpty, size
 
Methods inherited from interface org.datanucleus.query.typesafe.Expression
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
 

Method Detail

get

Expression get(NumericExpression<java.lang.Integer> posExpr)
Method returning the element at this position in the List.

Parameters:
posExpr - The position expression
Returns:
The element at this position in the List

get

Expression get(int pos)
Method returning the element at this position in the List.

Parameters:
pos - The position
Returns:
The element at this position in the List


Copyright © 2011. All Rights Reserved.