|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo.table.OrderBy
public class OrderBy
A simple bean used to represent a order by clause in a
SQL statement.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Nested Class Summary | |
|---|---|
static class |
OrderBy.Direction
An enumeration of sort directions. |
| Constructor Summary | |
|---|---|
OrderBy()
Default constructor. |
|
OrderBy(String column,
OrderBy.Direction direction)
Create a new instance of the order by clause for the specified column and order direction. |
|
| Method Summary | |
|---|---|
String |
getColumn()
Returns column. |
OrderBy.Direction |
getDirection()
Returns direction. |
void |
setColumn(String column)
Set column. |
void |
setDirection(OrderBy.Direction direction)
Set direction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrderBy()
public OrderBy(String column,
OrderBy.Direction direction)
column - The column to use to order by.direction - The direction to order by.| Method Detail |
|---|
public String getColumn()
column.
public void setColumn(String column)
column.
column - The value to set.public OrderBy.Direction getDirection()
direction.
public void setDirection(OrderBy.Direction direction)
direction.
direction - The value to set.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||