|
||||||||||
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.QBean<T>
T
- bean typepublic class QBean<T>
QBean is a JavaBean populating projection type
Constructor Summary | |
---|---|
QBean(Class<T> type,
boolean fieldAccess,
Expression<?>... args)
|
|
QBean(Class<T> type,
boolean fieldAccess,
Map<String,? extends Expression<?>> bindings)
|
|
QBean(Class<T> type,
Expression<?>... args)
|
|
QBean(Class<T> type,
Map<String,? extends Expression<?>> bindings)
|
|
QBean(Path<T> type,
boolean fieldAccess,
Expression<?>... args)
|
|
QBean(Path<T> type,
boolean fieldAccess,
Map<String,? extends Expression<?>> bindings)
|
|
QBean(Path<T> type,
Expression<?>... args)
|
|
QBean(Path<T> type,
Map<String,? extends Expression<?>> bindings)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context |
|
Expression<T> |
as(Path<T> alias)
Create an alias for the expression |
|
Expression<T> |
as(String alias)
Create an alias for the expression |
|
boolean |
equals(Object obj)
|
|
List<Expression<?>> |
getArgs()
Get the invocation arguments |
|
int |
hashCode()
|
|
T |
newInstance(Object... a)
Create a projection with the given arguments |
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 QBean(Path<T> type, Expression<?>... args)
public QBean(Path<T> type, Map<String,? extends Expression<?>> bindings)
public QBean(Path<T> type, boolean fieldAccess, Expression<?>... args)
public QBean(Path<T> type, boolean fieldAccess, Map<String,? extends Expression<?>> bindings)
public QBean(Class<T> type, Map<String,? extends Expression<?>> bindings)
public QBean(Class<T> type, Expression<?>... args)
public QBean(Class<T> type, boolean fieldAccess, Expression<?>... args)
public QBean(Class<T> type, boolean fieldAccess, Map<String,? extends Expression<?>> bindings)
Method Detail |
---|
public T newInstance(Object... a)
FactoryExpression
newInstance
in interface FactoryExpression<T>
public Expression<T> as(Path<T> alias)
public Expression<T> as(String alias)
public <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<T>
R
- return typeC
- context typev
- visitorcontext
- context of visit
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public List<Expression<?>> getArgs()
FactoryExpression
getArgs
in interface FactoryExpression<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |