com.mysema.query.types.expr
Class ETimeConst

java.lang.Object
  extended by com.mysema.query.types.expr.Expr<D>
      extended by com.mysema.query.types.expr.EComparableBase<D>
          extended by com.mysema.query.types.expr.EComparable<D>
              extended by com.mysema.query.types.expr.EDateOrTime<D>
                  extended by com.mysema.query.types.expr.ETime<Time>
                      extended by com.mysema.query.types.expr.ETimeConst
All Implemented Interfaces:
Constant<Time>, Serializable

public class ETimeConst
extends ETime<Time>
implements Constant<Time>

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
ETimeConst(Time time)
           
 
Method Summary
 void accept(Visitor v)
           
static ETime<Time> create(Time time)
           
 Time getConstant()
           
 ENumber<Integer> hour()
          Get a hours expression (range 0-23)
 ENumber<Integer> milliSecond()
          Get a milliseconds expression (range 0-999) Is always 0 in HQL and JDOQL modules
 ENumber<Integer> minute()
          Get a minutes expression (range 0-59)
 ENumber<Integer> second()
          Get a seconds expression (range 0-59)
 
Methods inherited from class com.mysema.query.types.expr.ETime
currentTime, currentTime
 
Methods inherited from class com.mysema.query.types.expr.EDateOrTime
after, after, before, before
 
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.EComparableBase
asc, castToNum, desc, stringValue
 
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 class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ETimeConst

public ETimeConst(Time time)
Method Detail

create

public static ETime<Time> create(Time time)

accept

public void accept(Visitor v)
Specified by:
accept in class Expr<Time>

hour

public ENumber<Integer> hour()
Description copied from class: ETime
Get a hours expression (range 0-23)

Overrides:
hour in class ETime<Time>
Returns:

minute

public ENumber<Integer> minute()
Description copied from class: ETime
Get a minutes expression (range 0-59)

Overrides:
minute in class ETime<Time>
Returns:

second

public ENumber<Integer> second()
Description copied from class: ETime
Get a seconds expression (range 0-59)

Overrides:
second in class ETime<Time>
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<Time>
Returns:

getConstant

public Time getConstant()
Specified by:
getConstant in interface Constant<Time>
Returns:


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.