com.mysema.query.types.expr
Class TemporalExpression<T extends Comparable>

java.lang.Object
  extended by com.mysema.query.types.expr.DslExpression<T>
      extended by com.mysema.query.types.expr.SimpleExpression<T>
          extended by com.mysema.query.types.expr.ComparableExpressionBase<T>
              extended by com.mysema.query.types.expr.ComparableExpression<T>
                  extended by com.mysema.query.types.expr.TemporalExpression<T>
Type Parameters:
T - expression type
All Implemented Interfaces:
Expression<T>, Serializable
Direct Known Subclasses:
DateExpression, DateTimeExpression, TimeExpression

public abstract class TemporalExpression<T extends Comparable>
extends ComparableExpression<T>

TemporalExpression is a supertype for Date/Time related types

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.expr.DslExpression
mixin
 
Constructor Summary
TemporalExpression(Expression<T> mixin)
           
 
Method Summary
 BooleanExpression after(Expression<T> right)
          Get a this > right expression
 BooleanExpression after(T right)
          Get a this > right expression
 BooleanExpression before(Expression<T> right)
          Get a this < right expression
 BooleanExpression before(T right)
          Get a this < right expression
 
Methods inherited from class com.mysema.query.types.expr.ComparableExpression
as, as, between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetween
 
Methods inherited from class com.mysema.query.types.expr.ComparableExpressionBase
asc, castToNum, coalesce, coalesce, desc, stringValue
 
Methods inherited from class com.mysema.query.types.expr.SimpleExpression
count, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, when, when
 
Methods inherited from class com.mysema.query.types.expr.DslExpression
equals, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.Expression
accept
 

Constructor Detail

TemporalExpression

public TemporalExpression(Expression<T> mixin)
Method Detail

after

public BooleanExpression after(T right)
Get a this > right expression

Parameters:
right -
Returns:

after

public BooleanExpression after(Expression<T> right)
Get a this > right expression

Parameters:
right -
Returns:

before

public BooleanExpression before(T right)
Get a this < right expression

Parameters:
right -
Returns:

before

public BooleanExpression before(Expression<T> right)
Get a this < right expression

Parameters:
right -
Returns:


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