org.datanucleus.jdo.query
Class ListExpressionImpl<T extends java.util.List<E>,E>
java.lang.Object
org.datanucleus.jdo.query.ExpressionImpl<T>
org.datanucleus.jdo.query.CollectionExpressionImpl<T,E>
org.datanucleus.jdo.query.ListExpressionImpl<T,E>
- All Implemented Interfaces:
- CollectionExpression<T,E>, Expression<T>, ListExpression<T,E>
public class ListExpressionImpl<T extends java.util.List<E>,E>
- extends CollectionExpressionImpl<T,E>
- implements ListExpression<T,E>
Implementation of a ListExpression.
|
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 class org.datanucleus.jdo.query.ExpressionImpl |
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, ne |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListExpressionImpl
public ListExpressionImpl(PersistableExpression parent,
java.lang.String name)
ListExpressionImpl
public ListExpressionImpl(java.lang.Class<T> cls,
java.lang.String name,
ExpressionType type)
get
public Expression get(int pos)
- Description copied from interface:
ListExpression
- Method returning the element at this position in the List.
- Specified by:
get in interface ListExpression<T extends java.util.List<E>,E>
- Parameters:
pos - The position
- Returns:
- The element at this position in the List
get
public Expression get(NumericExpression<java.lang.Integer> posExpr)
- Description copied from interface:
ListExpression
- Method returning the element at this position in the List.
- Specified by:
get in interface ListExpression<T extends java.util.List<E>,E>
- Parameters:
posExpr - The position expression
- Returns:
- The element at this position in the List
Copyright © 2011. All Rights Reserved.