org.xorm.query
Class QueryOrdering

java.lang.Object
  |
  +--org.xorm.query.QueryOrdering

public class QueryOrdering
extends Object

Immutable class to capture ordering information.


Field Summary
static int ASCENDING
           
static int DESCENDING
           
 
Constructor Summary
QueryOrdering(String field, int order)
           
 
Method Summary
 String getField()
           
 int getOrder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASCENDING

public static final int ASCENDING
See Also:
Constant Field Values

DESCENDING

public static final int DESCENDING
See Also:
Constant Field Values
Constructor Detail

QueryOrdering

public QueryOrdering(String field,
                     int order)
Method Detail

getField

public String getField()

getOrder

public int getOrder()


$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/query/QueryOrdering.html,v 1.2 2004/05/30 08:55:08 wbiggs Exp $