|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.Expr<D> com.mysema.query.types.expr.ESimple<Map<K,V>> com.mysema.query.types.expr.EMapBase<K,V> com.mysema.query.types.path.PMap<K,V,E>
K
- key typeV
- value typepublic class PMap<K,V,E extends Expr<V>>
PMap represents map paths
Field Summary |
---|
Fields inherited from class com.mysema.query.types.Expr |
---|
primitive |
Constructor Summary | |
---|---|
PMap(Class<? super K> keyType,
Class<? super V> valueType,
Class<E> queryType,
PathMetadata<?> metadata)
|
Method Summary | |
---|---|
void |
accept(Visitor v)
|
boolean |
equals(Object o)
|
protected PathMetadata<K> |
forMapAccess(Expr<K> key)
|
protected PathMetadata<K> |
forMapAccess(K key)
|
E |
get(Expr<K> key)
Get a this.get(key) expression |
E |
get(K key)
Get a this.get(key) expression |
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<K> |
getKeyType()
Get the key type for this path |
PathMetadata<?> |
getMetadata()
Get the metadata for this path |
Path<?> |
getRoot()
Get the root for this path |
Class<V> |
getValueType()
Get the value type for this path |
int |
hashCode()
|
EBoolean |
isNotNull()
Create a this is not null expression |
EBoolean |
isNull()
Create a this is null expression |
Methods inherited from class com.mysema.query.types.expr.EMapBase |
---|
contains, containsKey, containsKey, containsValue, containsValue, isEmpty, isNotEmpty, size |
Methods inherited from class com.mysema.query.types.expr.ESimple |
---|
as, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
Methods inherited from class com.mysema.query.types.Expr |
---|
asExpr, getType, notIn, notIn, notIn, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Path |
---|
asExpr, getType |
Constructor Detail |
---|
public PMap(Class<? super K> keyType, Class<? super V> valueType, Class<E> queryType, PathMetadata<?> metadata)
Method Detail |
---|
protected PathMetadata<K> forMapAccess(K key)
protected PathMetadata<K> forMapAccess(Expr<K> key)
public void accept(Visitor v)
accept
in class Expr<Map<K,V>>
public boolean equals(Object o)
equals
in class Expr<Map<K,V>>
public E get(Expr<K> key)
EMap
this.get(key)
expression
get
in interface EMap<K,V>
Map.get(Object)
public E get(K key)
EMap
this.get(key)
expression
get
in interface EMap<K,V>
Map.get(Object)
public Class<K> getKeyType()
EMap
getKeyType
in interface EMap<K,V>
public PathMetadata<?> getMetadata()
Path
getMetadata
in interface Path<Map<K,V>>
public Path<?> getRoot()
Path
getRoot
in interface Path<Map<K,V>>
public Class<V> getValueType()
EMap
getValueType
in interface EMap<K,V>
public int hashCode()
hashCode
in class Expr<Map<K,V>>
public EBoolean isNotNull()
Path
this is not null
expression
isNotNull
in interface Path<Map<K,V>>
public EBoolean isNull()
Path
this is null
expression
isNull
in interface Path<Map<K,V>>
public AnnotatedElement getAnnotatedElement()
Path
getAnnotatedElement
in interface Path<Map<K,V>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |