IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sdo.mediator.jdbc.metadata
Interface OrderBy


public interface OrderBy

An OrderBy object is used to order query results by the value of a database column.


Method Summary
 Column getColumn()
          The Column that contains this OrderBy object
 boolean isAscending()
          The Ascending attribute controls whether results are in ascending or descending order
 void setAscending(boolean value)
          Sets the value of the 'Ascending' attribute
 void setColumn(Column value)
          Sets the value of the 'Column' reference
 

Method Detail

getColumn

Column getColumn()
The Column that contains this OrderBy object

Returns:
the column

setColumn

void setColumn(Column value)
Sets the value of the 'Column' reference.

Parameters:
value - the new value of the 'Column' reference.
See Also:
getColumn()

isAscending

boolean isAscending()
The Ascending attribute controls whether results are in ascending or descending order

Returns:
the value of the Ascending attribute

setAscending

void setAscending(boolean value)
Sets the value of the 'Ascending' attribute.

Parameters:
value - the new value of the 'Ascending' attribute.
See Also:
isAscending()

IBM WebSphere Application ServerTM
Release 8