org.datanucleus.query.typesafe
Interface TimeExpression<T>

Type Parameters:
T - time type
All Superinterfaces:
ComparableExpression<java.util.Date>, Expression<java.util.Date>, TemporalExpression<T>
All Known Implementing Classes:
TimeExpressionImpl

public interface TimeExpression<T>
extends TemporalExpression<T>

Representation of a time in a query.


Method Summary
 NumericExpression<java.lang.Integer> getHour()
          Accessor for the hour of this time.
 NumericExpression<java.lang.Integer> getMinute()
          Accessor for the minute of this time.
 NumericExpression<java.lang.Integer> getSecond()
          Accessor for the second of this time.
 
Methods inherited from interface org.datanucleus.query.typesafe.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
 
Methods inherited from interface org.datanucleus.query.typesafe.Expression
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
 

Method Detail

getHour

NumericExpression<java.lang.Integer> getHour()
Accessor for the hour of this time.

Returns:
Expression for the hour

getMinute

NumericExpression<java.lang.Integer> getMinute()
Accessor for the minute of this time.

Returns:
Expression for the minute

getSecond

NumericExpression<java.lang.Integer> getSecond()
Accessor for the second of this time.

Returns:
Expression for the second


Copyright © 2011. All Rights Reserved.