com.mysema.query.types.custom
Class CDateTime<T extends java.lang.Comparable<?>>
java.lang.Object
com.mysema.query.types.Expr<D>
com.mysema.query.types.expr.ESimple<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.expr.EDateTime<T>
com.mysema.query.types.custom.CDateTime<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Custom<T>, java.io.Serializable
public class CDateTime<T extends java.lang.Comparable<?>>
- extends EDateTime<T>
- implements Custom<T>
- Author:
- tiwe
- See Also:
- Serialized Form
Fields inherited from class com.mysema.query.types.Expr |
primitive |
Method Summary |
void |
accept(Visitor v)
|
static
<T extends java.lang.Comparable<?>>
EDateTime<T> |
|
create(java.lang.Class<T> type,
java.lang.String template,
Expr<?>... args)
|
static
<T extends java.lang.Comparable<?>>
EDateTime<T> |
|
create(java.lang.Class<T> type,
Template template,
Expr<?>... args)
|
boolean |
equals(java.lang.Object o)
|
Expr<?> |
getArg(int index)
Get the argument with the given index |
java.util.List<Expr<?>> |
getArgs()
Get the arguments of the custom expression |
Template |
getTemplate()
Get the serialization template for this custom expression |
int |
hashCode()
|
Methods inherited from class com.mysema.query.types.expr.EDateTime |
as, currentDate, currentDate, currentTimestamp, currentTimestamp, hour, max, milliSecond, min, minute, second |
Methods inherited from class com.mysema.query.types.expr.EComparable |
between, between, goe, goe, gt, gt, in, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.ESimple |
asExpr, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CDateTime
public CDateTime(java.lang.Class<T> type,
Template template,
java.util.List<Expr<?>> args)
create
public static <T extends java.lang.Comparable<?>> EDateTime<T> create(java.lang.Class<T> type,
java.lang.String template,
Expr<?>... args)
create
public static <T extends java.lang.Comparable<?>> EDateTime<T> create(java.lang.Class<T> type,
Template template,
Expr<?>... args)
accept
public void accept(Visitor v)
- Specified by:
accept
in class Expr<T extends java.lang.Comparable<?>>
getArg
public Expr<?> getArg(int index)
- Description copied from interface:
Custom
- Get the argument with the given index
- Specified by:
getArg
in interface Custom<T extends java.lang.Comparable<?>>
- Returns:
getArgs
public java.util.List<Expr<?>> getArgs()
- Description copied from interface:
Custom
- Get the arguments of the custom expression
- Specified by:
getArgs
in interface Custom<T extends java.lang.Comparable<?>>
- Returns:
getTemplate
public Template getTemplate()
- Description copied from interface:
Custom
- Get the serialization template for this custom expression
- Specified by:
getTemplate
in interface Custom<T extends java.lang.Comparable<?>>
- Returns:
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class Expr<T extends java.lang.Comparable<?>>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Expr<T extends java.lang.Comparable<?>>
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.