org.jaffa.persistence
Class Criteria.OrderBy

java.lang.Object
  extended byorg.jaffa.persistence.Criteria.OrderBy
All Implemented Interfaces:
Serializable
Enclosing class:
Criteria

public class Criteria.OrderBy
extends Object
implements Serializable

This class is used by the Criteria for each order by element.

See Also:
Serialized Form

Method Summary
 String getOrderByElement()
          Returns the name of the field.
 int getOrdering()
          Returns the type of ordering.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOrderByElement

public String getOrderByElement()
Returns the name of the field.

Returns:
the name of the field.

getOrdering

public int getOrdering()
Returns the type of ordering.

Returns:
either Ascending or Descending.


Copyright © 2002-2004 JAFFA Project.