org.hdpagination.core
Interface QueryOrder

All Superinterfaces:
java.io.Serializable

public interface QueryOrder
extends java.io.Serializable

Define related information to generate 'order by' clause in the query statement

Since:
1.0
Author:
Liangfeng Ren

Method Summary
 java.lang.String getOrderBy()
          get the column by which the query result is sorted
 java.lang.String getOrderByClause()
          get 'order by' clause in the query statement
 boolean isAscending()
          Whether the query result is sorted by ascending order
 

Method Detail

getOrderBy

java.lang.String getOrderBy()
get the column by which the query result is sorted

Returns:

isAscending

boolean isAscending()
Whether the query result is sorted by ascending order

Returns:

getOrderByClause

java.lang.String getOrderByClause()
get 'order by' clause in the query statement

Returns:


Copyright © 2008 HDPagination All Rights Reserved.