|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.Expr<D>
com.mysema.query.types.expr.ESimple<D>
com.mysema.query.types.path.PEntity<D>
com.mysema.query.types.path.PathBuilder<D>
D - public final class PathBuilder<D>
PathBuilder is an extension to PEntity for dynamic path construction
| Field Summary |
|---|
| Fields inherited from class com.mysema.query.types.Expr |
|---|
primitive |
| Constructor Summary | |
|---|---|
PathBuilder(Class<? extends D> type,
PathMetadata<?> pathMetadata)
Creates a new PathBuilder instance |
|
PathBuilder(Class<? extends D> type,
String variable)
Creates a new PathBuilder instance |
|
| Method Summary | ||
|---|---|---|
|
get(Path<A> path)
|
|
PBoolean |
get(PBoolean path)
|
|
|
get(PComparable<A> path)
|
|
|
get(PDate<A> path)
|
|
|
get(PDateTime<A> path)
|
|
|
get(PNumber<A> path)
|
|
PString |
get(PString path)
|
|
|
get(PTime<A> path)
|
|
PathBuilder<Object> |
get(String property)
Get a PathBuilder instance for the given property |
|
|
get(String property,
Class<A> type)
Get a PathBuilder for the given property with the given type |
|
|
getArray(String property,
Class<A[]> type)
Get a PArray instance for the given property and the given array type |
|
PBoolean |
getBoolean(String propertyName)
Get a new Boolean typed path |
|
|
getCollection(String property,
Class<A> type)
Get a new Collection typed path |
|
|
getComparable(String property,
Class<A> type)
Get a new Comparable typed path |
|
|
getDate(String property,
Class<A> type)
Get a new Date path |
|
|
getDateTime(String property,
Class<A> type)
Get a new DateTime path |
|
|
getList(String property,
Class<A> type)
Get a new List typed path |
|
|
getList(String property,
Class<A> type,
Class<E> queryType)
Get a new List typed path |
|
|
getMap(String property,
Class<K> key,
Class<V> value)
Get a new Map typed path |
|
|
getMap(String property,
Class<K> key,
Class<V> value,
Class<E> queryType)
Get a new Map typed path |
|
|
getNumber(String property,
Class<A> type)
Get a new Number typed path |
|
|
getSet(String property,
Class<A> type)
Get a new Set typed path |
|
|
getSimple(String property,
Class<A> type)
Get a new Simple path |
|
PString |
getString(String property)
Get a new String typed path |
|
|
getTime(String property,
Class<A> type)
Get a new Time typed path |
|
| Methods inherited from class com.mysema.query.types.path.PEntity |
|---|
accept, as, createArray, createBoolean, createCollection, createComparable, createDate, createDateTime, createList, createMap, createNumber, createSet, createSimple, createString, createTime, equals, forProperty, getAnnotatedElement, getMetadata, getRoot, hashCode, instanceOf, isNotNull, isNull |
| 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 PathBuilder(Class<? extends D> type,
PathMetadata<?> pathMetadata)
type - pathMetadata -
public PathBuilder(Class<? extends D> type,
String variable)
type - variable - | Method Detail |
|---|
public PathBuilder<Object> get(String property)
property - property name
public <A> PathBuilder<A> get(String property,
Class<A> type)
A - property - property nametype -
public <A> PArray<A> getArray(String property,
Class<A[]> type)
A - property - property nametype -
public PBoolean get(PBoolean path)
path -
public PBoolean getBoolean(String propertyName)
propertyName - property name
public <A> PCollection<A> getCollection(String property,
Class<A> type)
A - property - property nametype -
public <A extends Comparable<?>> PComparable<A> get(PComparable<A> path)
A - path -
public <A extends Comparable<?>> PComparable<A> getComparable(String property,
Class<A> type)
A - property - property nametype -
public <A extends Comparable<?>> PDate<A> get(PDate<A> path)
A - path -
public <A extends Comparable<?>> PDate<A> getDate(String property,
Class<A> type)
A - property - property nametype -
public <A extends Comparable<?>> PDateTime<A> get(PDateTime<A> path)
A - path -
public <A extends Comparable<?>> PDateTime<A> getDateTime(String property,
Class<A> type)
A - property - property nametype -
public <A> PList<A,PathBuilder<A>> getList(String property,
Class<A> type)
A - property - property nametype -
public <A,E extends Expr<A>> PList<A,E> getList(String property,
Class<A> type,
Class<E> queryType)
A - E - property - property nametype - queryType -
public <K,V> PMap<K,V,PathBuilder<V>> getMap(String property,
Class<K> key,
Class<V> value)
K - V - property - property namekey - value -
public <K,V,E extends Expr<V>> PMap<K,V,E> getMap(String property,
Class<K> key,
Class<V> value,
Class<E> queryType)
K - V - E - property - property namekey - value - queryType -
public <A extends Number & Comparable<?>> PNumber<A> get(PNumber<A> path)
A - path -
public <A extends Number & Comparable<?>> PNumber<A> getNumber(String property,
Class<A> type)
A - property - property nametype -
public <A> PSet<A> getSet(String property,
Class<A> type)
A - property - property nametype -
public <A> Path<A> get(Path<A> path)
A - path -
public <A> PSimple<A> getSimple(String property,
Class<A> type)
A - property - property nametype -
public PString get(PString path)
path -
public PString getString(String property)
property - property name
public <A extends Comparable<?>> PTime<A> get(PTime<A> path)
A - path -
public <A extends Comparable<?>> PTime<A> getTime(String property,
Class<A> type)
A - property - property nametype -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||