2004.04.29


com.jdc.rdb.sql.dml.select
Class Order

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.rdb.sql.dml.select.Order

public final class Order
extends Object

Order provides a list of enumerated types for an OrderBy clause sort order. Valid OrderBy clause sort orders are:

Version:
2.0
Author:
Jay Damon
See Also:
OrderBy

Field Summary
static Order ASCENDING
          The OrderBy clause ascending sort order.
static Order DESCENDING
          The OrderBy clause descending sort order.
 
Fields inherited from class com.jdc.lang.Object
string
 
Method Summary
 boolean equals(Object object)
          Compares this Order object to the specified object.
 String toString()
          Returns a String representation of this Order object.
static Order valueOf(String order)
          Returns an Order representation of this String value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASCENDING

public static final Order ASCENDING
The OrderBy clause ascending sort order.


DESCENDING

public static final Order DESCENDING
The OrderBy clause descending sort order.

Method Detail

equals

public boolean equals(Object object)
Compares this Order object to the specified object.

Overrides:
equals in class Object
Returns:
True if a specified object is equal to this Order object.
False if the specified object is not equal to this Order object.

toString

public String toString()
Returns a String representation of this Order object.

Overrides:
toString in class Object
Returns:
A String representation of this Order object.

valueOf

public static Order valueOf(String order)
Returns an Order representation of this String value.

Returns:
An Order representation of this String value.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.