org.apache.ws.jaxme.sqls.impl
Class SelectStatementImpl.OrderColumnImpl

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.impl.SelectStatementImpl.OrderColumnImpl
All Implemented Interfaces:
SelectStatement.OrderColumn
Direct Known Subclasses:
OraSelectStatementImpl.OraOrderColumnImpl
Enclosing class:
SelectStatementImpl

public static class SelectStatementImpl.OrderColumnImpl
extends java.lang.Object
implements SelectStatement.OrderColumn


Constructor Summary
SelectStatementImpl.OrderColumnImpl(java.lang.Object pColumnReference, boolean pDescending)
           
 
Method Summary
 java.lang.Object getColumn()
          Returns the ordered column.
 boolean isDescending()
          Returns whether ascending (false) or descending (true) sorting is requested.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectStatementImpl.OrderColumnImpl

public SelectStatementImpl.OrderColumnImpl(java.lang.Object pColumnReference,
                                           boolean pDescending)
Method Detail

getColumn

public java.lang.Object getColumn()
Description copied from interface: SelectStatement.OrderColumn

Returns the ordered column. Typically, this is a ColumnReference. However, it may as well be a Function or a piece of RawSQLCode.

Specified by:
getColumn in interface SelectStatement.OrderColumn

isDescending

public boolean isDescending()
Description copied from interface: SelectStatement.OrderColumn

Returns whether ascending (false) or descending (true) sorting is requested.

Specified by:
isDescending in interface SelectStatement.OrderColumn