com.mysema.query.types.expr
Class OSimple<D>
java.lang.Object
com.mysema.query.types.Expr<D>
com.mysema.query.types.expr.ESimple<D>
com.mysema.query.types.expr.OSimple<D>
- Type Parameters:
D
-
- All Implemented Interfaces:
- Operation<D>, Serializable
public class OSimple<D>
- extends ESimple<D>
- implements Operation<D>
OSimple represents a simple operation expression
- Author:
- tiwe
- See Also:
- Serialized Form
Fields inherited from class com.mysema.query.types.Expr |
primitive |
Methods inherited from class com.mysema.query.types.expr.ESimple |
count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
create
public static <D> Expr<D> create(Class<D> type,
Operator<? super D> op,
Expr<?>... args)
- Factory method
- Type Parameters:
D
- - Parameters:
type
- op
- args
-
- Returns:
accept
public void accept(Visitor v)
- Specified by:
accept
in class Expr<D>
getArg
public Expr<?> getArg(int index)
- Description copied from interface:
Operation
- Get the argument with the given index
- Specified by:
getArg
in interface Operation<D>
- Returns:
getArgs
public List<Expr<?>> getArgs()
- Description copied from interface:
Operation
- Get the arguments of this operation
- Specified by:
getArgs
in interface Operation<D>
- Returns:
getOperator
public Operator<? super D> getOperator()
- Description copied from interface:
Operation
- Get the operator symbol for this operation
- Specified by:
getOperator
in interface Operation<D>
- Returns:
equals
public boolean equals(Object o)
- Specified by:
equals
in class Expr<D>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Expr<D>
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.