org.axiondb

Class OrderNode

public class OrderNode extends Object

One part of an ORDER BY clause.

Version: $Revision: 1.6 $ $Date: 2004/08/27 03:21:20 $

Author: Morgan Delagrange Rodney Waldhoff

Constructor Summary
OrderNode(Selectable selectable, boolean descending)
Create an OrderNode that sorts the given selectable in ascending or descending order.
Method Summary
SelectablegetSelectable()
booleanisDescending()
voidsetDescending(boolean desc)
voidsetSelectable(Selectable sel)
StringtoString()

Constructor Detail

OrderNode

public OrderNode(Selectable selectable, boolean descending)
Create an OrderNode that sorts the given selectable in ascending or descending order.

Parameters: selectable the Selectableto sort by descending when true sort in descending (greatest to least) order

Method Detail

getSelectable

public Selectable getSelectable()

isDescending

public boolean isDescending()

setDescending

public void setDescending(boolean desc)

setSelectable

public void setSelectable(Selectable sel)

toString

public String toString()