|
||||||||||
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.OperationImpl<T>
T
- expression typepublic class OperationImpl<T>
OperationImpl is the default implementation of the Operation interface
Constructor Summary | |
---|---|
OperationImpl(Class<? extends T> type,
Operator<? super T> operator,
Expression<?>... args)
|
|
OperationImpl(Class<? extends T> type,
Operator<? super T> operator,
List<Expression<?>> args)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context |
|
static
|
create(Class<? extends RT> type,
Operator<? super RT> operator,
Expression<?>... args)
|
|
boolean |
equals(Object o)
|
|
Expression<?> |
getArg(int i)
Get the argument with the given index |
|
List<Expression<?>> |
getArgs()
Get the arguments of this operation |
|
Operator<? super T> |
getOperator()
Get the operator symbol for this operation |
|
int |
hashCode()
|
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 OperationImpl(Class<? extends T> type, Operator<? super T> operator, Expression<?>... args)
public OperationImpl(Class<? extends T> type, Operator<? super T> operator, List<Expression<?>> args)
Method Detail |
---|
public static <RT> Operation<RT> create(Class<? extends RT> type, Operator<? super RT> operator, Expression<?>... args)
public Expression<?> getArg(int i)
Operation
getArg
in interface Operation<T>
public List<Expression<?>> getArgs()
Operation
getArgs
in interface Operation<T>
public Operator<? super T> getOperator()
Operation
getOperator
in interface Operation<T>
public boolean equals(Object o)
equals
in class Object
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 int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |