E
- component typeQ
- component query typepublic class CollectionPath<E,Q extends SimpleExpression<? super E>> extends CollectionPathBase<Collection<E>,E,Q>
mixin
Constructor and Description |
---|
CollectionPath(Class<? super E> type,
Class<Q> queryType,
Path<?> parent,
String property) |
CollectionPath(Class<? super E> type,
Class<Q> queryType,
PathMetadata<?> metadata) |
CollectionPath(Class<? super E> type,
Class<Q> queryType,
PathMetadata<?> metadata,
PathInits inits) |
CollectionPath(Class<? super E> type,
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() |
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
|
newInstance
contains, contains, isEmpty, isNotEmpty, size
as, as, equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
public CollectionPath(Class<? super E> type, Class<Q> queryType, Path<?> parent, String property)
public CollectionPath(Class<? super E> type, Class<Q> queryType, PathMetadata<?> metadata)
public final <R,C> R accept(Visitor<R,C> v, C context)
Expression
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic Q any()
any
in class CollectionPathBase<Collection<E>,E,Q extends SimpleExpression<? super E>>
public Class<E> getElementType()
getElementType
in class CollectionExpressionBase<Collection<E>,E>
public PathMetadata<?> getMetadata()
Path
public Path<?> getRoot()
Path
public AnnotatedElement getAnnotatedElement()
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.
public Class<?> getParameter(int index)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.