com.mysema.query.types.operation
Class ODate<OpType extends Comparable<?>,D extends Comparable<?>>
java.lang.Object
com.mysema.query.types.expr.Expr<D>
com.mysema.query.types.expr.EComparableBase<D>
com.mysema.query.types.expr.EComparable<D>
com.mysema.query.types.expr.EDateOrTime<D>
com.mysema.query.types.expr.EDate<D>
com.mysema.query.types.operation.ODate<OpType,D>
- Type Parameters:
OpType
- D
-
- All Implemented Interfaces:
- Operation<OpType,D>, Serializable
public class ODate<OpType extends Comparable<?>,D extends Comparable<?>>
- extends EDate<D>
- implements Operation<OpType,D>
ODate represents Date operations
- Author:
- tiwe
- See Also:
- Serialized Form
Methods inherited from class com.mysema.query.types.expr.EComparable |
between, between, goe, goe, gt, gt, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.Expr |
count, countAll, countDistinct, eq, eq, getType, hashCode, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when |
Methods inherited from interface com.mysema.query.types.operation.Operation |
getType |
create
public static <O extends Comparable<?>,D extends Comparable<?>> EDate<D> create(Class<D> type,
Operator<O> op,
Expr<?>... args)
- Factory method
- Type Parameters:
O
- D
- - Parameters:
type
- op
- args
-
- Returns:
accept
public void accept(Visitor v)
- Specified by:
accept
in class Expr<D extends Comparable<?>>
asExpr
public EDate<D> asExpr()
- Specified by:
asExpr
in interface Operation<OpType extends Comparable<?>,D extends Comparable<?>>
- Returns:
getArg
public Expr<?> getArg(int index)
- Description copied from interface:
Operation
- Get the argument with the given index
- Specified by:
getArg
in interface Operation<OpType extends Comparable<?>,D extends Comparable<?>>
- Returns:
getArgs
public List<Expr<?>> getArgs()
- Description copied from interface:
Operation
- Get the arguments of this operation
- Specified by:
getArgs
in interface Operation<OpType extends Comparable<?>,D extends Comparable<?>>
- Returns:
getOperator
public Operator<OpType> getOperator()
- Description copied from interface:
Operation
- Get the operator symbol for this operation
- Specified by:
getOperator
in interface Operation<OpType extends Comparable<?>,D extends Comparable<?>>
- Returns:
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.