|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.expr.DslExpression<T> com.mysema.query.types.expr.CollectionExpressionBase<C,E> com.mysema.query.types.path.CollectionPathBase<List<E>,E,Q> com.mysema.query.types.path.ListPath<E,Q>
E
- component typeQ
- component query typepublic class ListPath<E,Q extends SimpleExpression<? super E>>
ListPath represents list paths
Field Summary |
---|
Fields inherited from class com.mysema.query.types.expr.DslExpression |
---|
mixin |
Constructor Summary | |
---|---|
ListPath(Class<? super E> elementType,
Class<Q> queryType,
Path<?> parent,
String property)
|
|
ListPath(Class<? super E> elementType,
Class<Q> queryType,
PathMetadata<?> metadata)
|
|
ListPath(Class<? super E> elementType,
Class<Q> queryType,
String variable)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context |
|
Q |
any()
|
|
protected PathMetadata<Integer> |
forListAccess(Expression<Integer> index)
|
|
protected PathMetadata<Integer> |
forListAccess(int index)
|
|
Q |
get(Expression<Integer> index)
Indexed access |
|
Q |
get(int index)
Indexed access |
|
AnnotatedElement |
getAnnotatedElement()
Return the annotated element related to the given path For property paths the annotated element contains the annotations of the related field and/or getter method and for all others paths the annotated element is the expression type. |
|
Class<E> |
getElementType()
|
|
PathMetadata<?> |
getMetadata()
Get the metadata for this path |
|
Class<?> |
getParameter(int index)
|
|
Path<?> |
getRoot()
Get the root for this path |
Methods inherited from class com.mysema.query.types.path.CollectionPathBase |
---|
newInstance |
Methods inherited from class com.mysema.query.types.expr.CollectionExpressionBase |
---|
contains, contains, isEmpty, isNotEmpty, size |
Methods inherited from class com.mysema.query.types.expr.DslExpression |
---|
as, as, equals, getType, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Expression |
---|
getType |
Constructor Detail |
---|
public ListPath(Class<? super E> elementType, Class<Q> queryType, String variable)
public ListPath(Class<? super E> elementType, Class<Q> queryType, Path<?> parent, String property)
public ListPath(Class<? super E> elementType, Class<Q> queryType, PathMetadata<?> metadata)
Method Detail |
---|
public final <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<List<E>>
R
- return typeC
- context typev
- visitorcontext
- context of visit
public Q any()
any
in class CollectionPathBase<List<E>,E,Q extends SimpleExpression<? super E>>
protected PathMetadata<Integer> forListAccess(int index)
protected PathMetadata<Integer> forListAccess(Expression<Integer> index)
public Q get(Expression<Integer> index)
ListExpression
get
in interface ListExpression<E,Q extends SimpleExpression<? super E>>
List.get(int)
public Q get(int index)
ListExpression
get
in interface ListExpression<E,Q extends SimpleExpression<? super E>>
List.get(int)
public Class<E> getElementType()
getElementType
in class CollectionExpressionBase<List<E>,E>
public PathMetadata<?> getMetadata()
Path
getMetadata
in interface Path<List<E>>
public Path<?> getRoot()
Path
getRoot
in interface Path<List<E>>
public AnnotatedElement getAnnotatedElement()
Path
getAnnotatedElement
in interface Path<List<E>>
public Class<?> getParameter(int index)
getParameter
in interface ParametrizedExpression<List<E>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |