E
- component typeQ
- component query typepublic class SetPath<E,Q extends SimpleExpression<? super E>> extends CollectionPathBase<java.util.Set<E>,E,Q>
SetPath
represents set pathshashCode, mixin
Modifier | Constructor and Description |
---|---|
protected |
SetPath(java.lang.Class<? super E> type,
java.lang.Class<Q> queryType,
Path<?> parent,
java.lang.String property) |
protected |
SetPath(java.lang.Class<? super E> type,
java.lang.Class<Q> queryType,
PathMetadata metadata) |
protected |
SetPath(java.lang.Class<? super E> type,
java.lang.Class<Q> queryType,
PathMetadata metadata,
PathInits inits) |
protected |
SetPath(java.lang.Class<? super E> type,
java.lang.Class<Q> queryType,
java.lang.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()
Create a path that matches any element in this collection
|
java.lang.reflect.AnnotatedElement |
getAnnotatedElement()
Return the annotated element related to the given path
|
java.lang.Class<E> |
getElementType()
Get the element type
|
PathMetadata |
getMetadata()
Get the metadata for this path
|
java.lang.Class<?> |
getParameter(int index)
Get the type parameter at the given index
|
Path<?> |
getRoot()
Get the root for this path
|
newInstance
as, contains, contains, isEmpty, isNotEmpty, size
as, as, equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
protected SetPath(java.lang.Class<? super E> type, java.lang.Class<Q> queryType, java.lang.String variable)
protected SetPath(java.lang.Class<? super E> type, java.lang.Class<Q> queryType, Path<?> parent, java.lang.String property)
protected SetPath(java.lang.Class<? super E> type, java.lang.Class<Q> queryType, PathMetadata metadata)
protected SetPath(java.lang.Class<? super E> type, java.lang.Class<Q> queryType, PathMetadata metadata, PathInits inits)
public final <R,C> R accept(Visitor<R,C> v, C context)
Expression
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic Q any()
CollectionPathBase
any
in class CollectionPathBase<java.util.Set<E>,E,Q extends SimpleExpression<? super E>>
public java.lang.Class<E> getElementType()
CollectionExpressionBase
getElementType
in class CollectionExpressionBase<java.util.Set<E>,E>
public PathMetadata getMetadata()
Path
public Path<?> getRoot()
Path
public java.lang.reflect.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 java.lang.Class<?> getParameter(int index)
ParameterizedExpression
index
- zero based index of type parameterCopyright © 2007–2021 Querydsl. All rights reserved.