E - component typeQ - component query typepublic class ListPath<E,Q extends SimpleExpression<? super E>> extends CollectionPathBase<List<E>,E,Q> implements ListExpression<E,Q>
hashCode, mixin| Constructor and Description |
|---|
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,
PathMetadata<?> metadata,
PathInits inits) |
ListPath(Class<? super E> elementType,
Class<Q> queryType,
String variable) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
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
|
Class<E> |
getElementType() |
PathMetadata<?> |
getMetadata()
Get the metadata for this path
|
Class<?> |
getParameter(int index) |
Path<?> |
getRoot()
Get the root for this path
|
newInstanceas, contains, contains, isEmpty, isNotEmpty, sizeas, as, equals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypepublic ListPath(Class<? super E> elementType, Class<Q> queryType, Path<?> parent, String property)
public ListPath(Class<? super E> elementType, Class<Q> queryType, PathMetadata<?> metadata)
public final <R,C> R accept(Visitor<R,C> v, C context)
Expressionaccept in interface Expression<List<E>>R - return typeC - context typev - visitorcontext - context of visitpublic 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)
ListExpressionget in interface ListExpression<E,Q extends SimpleExpression<? super E>>List.get(int)public Q get(int index)
ListExpressionget 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()
PathgetMetadata in interface Path<List<E>>public AnnotatedElement getAnnotatedElement()
PathFor 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.
getAnnotatedElement in interface Path<List<E>>public Class<?> getParameter(int index)
getParameter in interface ParametrizedExpression<List<E>>Copyright © 2007–2015 Querydsl. All rights reserved.