|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.ExpressionBase<T> com.mysema.query.types.expr.SimpleExpression<E[]> com.mysema.query.types.path.ArrayPath<E>
E
- component typepublic class ArrayPath<E>
ArrayPath represents an array typed path
Field Summary |
---|
Fields inherited from class com.mysema.query.types.expr.SimpleExpression |
---|
primitive |
Fields inherited from class com.mysema.query.types.ExpressionBase |
---|
type |
Constructor Summary | |
---|---|
ArrayPath(Class<? super E[]> type,
Path<?> parent,
String property)
|
|
ArrayPath(Class<? super E[]> type,
PathMetadata<?> metadata)
|
|
ArrayPath(Class<? super E[]> type,
String variable)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context |
|
boolean |
equals(Object o)
|
|
SimplePath<E> |
get(Expression<Integer> index)
Create a expression for indexed access |
|
SimplePath<E> |
get(int index)
Create a expression for 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 |
|
Path<?> |
getRoot()
Get the root for this path |
|
int |
hashCode()
|
|
NumberExpression<Integer> |
size()
Create an expression for the array size |
Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
---|
as, as, count, countDistinct, eq, eq, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when |
Methods inherited from class com.mysema.query.types.ExpressionBase |
---|
getType, 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 ArrayPath(Class<? super E[]> type, String variable)
public ArrayPath(Class<? super E[]> type, Path<?> parent, String property)
public ArrayPath(Class<? super E[]> type, PathMetadata<?> metadata)
Method Detail |
---|
public <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<E[]>
R
- return typeC
- context typev
- visitorcontext
- context of visit
public boolean equals(Object o)
equals
in class SimpleExpression<E[]>
public SimplePath<E> get(Expression<Integer> index)
get
in interface ArrayExpression<E>
index
-
public SimplePath<E> get(@Nonnegative int index)
get
in interface ArrayExpression<E>
index
-
public Class<E> getElementType()
public PathMetadata<?> getMetadata()
Path
getMetadata
in interface Path<E[]>
public Path<?> getRoot()
Path
getRoot
in interface Path<E[]>
public int hashCode()
hashCode
in class SimpleExpression<E[]>
public AnnotatedElement getAnnotatedElement()
Path
getAnnotatedElement
in interface Path<E[]>
public NumberExpression<Integer> size()
size
in interface ArrayExpression<E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |