com.mysema.query.types.expr
Class ETimeConst<D extends Date>
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.ETime<D>
com.mysema.query.types.expr.ETimeConst<D>
- All Implemented Interfaces:
- Constant<D>, Serializable
public final class ETimeConst<D extends Date>
- extends ETime<D>
- implements Constant<D>
- 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.EComparable |
between, between, goe, goe, gt, gt, in, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.ESimple |
count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
Methods inherited from interface com.mysema.query.types.Constant |
asExpr |
ETimeConst
public ETimeConst(D time)
create
public static <D extends Date> ETime<D> create(D time)
accept
public void accept(Visitor v)
- Specified by:
accept
in class Expr<D extends Date>
hour
public ENumber<Integer> hour()
- Description copied from class:
ETime
- Get a hours expression (range 0-23)
- Overrides:
hour
in class ETime<D extends Date>
- Returns:
minute
public ENumber<Integer> minute()
- Description copied from class:
ETime
- Get a minutes expression (range 0-59)
- Overrides:
minute
in class ETime<D extends Date>
- Returns:
second
public ENumber<Integer> second()
- Description copied from class:
ETime
- Get a seconds expression (range 0-59)
- Overrides:
second
in class ETime<D extends Date>
- Returns:
milliSecond
public ENumber<Integer> milliSecond()
- Description copied from class:
ETime
- Get a milliseconds expression (range 0-999)
Is always 0 in HQL and JDOQL modules
- Overrides:
milliSecond
in class ETime<D extends Date>
- Returns:
getConstant
public D getConstant()
- Description copied from interface:
Constant
- Get the constant
- Specified by:
getConstant
in interface Constant<D extends Date>
- Returns:
equals
public boolean equals(Object o)
- Specified by:
equals
in class Expr<D extends Date>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Expr<D extends Date>
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.