|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.expr.Expr<E[]>
com.mysema.query.types.path.PArray<E>
E - component typepublic class PArray<E>
PArray represents an array typed path
| Constructor Summary | |
|---|---|
PArray(Class<? super E> type,
PathMetadata<?> metadata)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor v)
|
Expr<E[]> |
asExpr()
|
boolean |
equals(Object o)
|
PSimple<E> |
get(Expr<Integer> index)
Create a expression for indexed access |
PSimple<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 |
Class<E[]> |
getType()
Get the Java type for this expression |
int |
hashCode()
|
EBoolean |
isNotNull()
Create a this is not null expression |
EBoolean |
isNull()
Create a this is null expression |
ENumber<Integer> |
size()
Create an expression for the array size |
| Methods inherited from class com.mysema.query.types.expr.Expr |
|---|
count, countAll, countDistinct, eq, eq, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PArray(Class<? super E> type,
PathMetadata<?> metadata)
| Method Detail |
|---|
public void accept(Visitor v)
accept in class Expr<E[]>public Expr<E[]> asExpr()
asExpr in interface Path<E[]>public boolean equals(Object o)
equals in class Objectpublic PSimple<E> get(Expr<Integer> index)
get in interface EArray<E>index -
public PSimple<E> get(@Nonnegative
int index)
get in interface EArray<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 Class<E[]> getType()
Expr
getType in interface Path<E[]>getType in class Expr<E[]>public int hashCode()
hashCode in class Expr<E[]>public EBoolean isNotNull()
Paththis is not null expression
isNotNull in interface Path<E[]>public EBoolean isNull()
Paththis is null expression
isNull in interface Path<E[]>public AnnotatedElement getAnnotatedElement()
Path
getAnnotatedElement in interface Path<E[]>public ENumber<Integer> size()
size in interface EArray<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||