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

Type Parameters:
T - Java type of the expression being represented here
All Known Implementing Classes:
OrderExpressionImpl

public interface OrderExpression<T>

Expression representing the ordering using an expression and a direction.


Nested Class Summary
static class OrderExpression.OrderDirection
           
 
Method Summary
 OrderExpression.OrderDirection getDirection()
          Accessor for the direction of the ordering with this expression.
 Expression<T> getExpression()
          Accessor for the expression being used for ordering.
 

Method Detail

getDirection

OrderExpression.OrderDirection getDirection()
Accessor for the direction of the ordering with this expression.

Returns:
The direction

getExpression

Expression<T> getExpression()
Accessor for the expression being used for ordering.

Returns:
Ordering expression


Copyright © 2011. All Rights Reserved.