|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.expr.DslExpression<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.DslExpression |
|---|
mixin |
| 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 |
|
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 |
|
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, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, when, when |
| Methods inherited from class com.mysema.query.types.expr.DslExpression |
|---|
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 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 final <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 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 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 | |||||||||