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

public Column getColumn()
The Column that contains this OrderBy object

Returns:
the column

setColumn

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

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

isAscending

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

Returns:
the value of the Ascending attribute

setAscending

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

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