|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.sql.OrderBy
public class OrderBy
An order by clause.
| Constructor Summary | |
|---|---|
OrderBy(Column column,
SqlEnum order,
boolean ignoreCase)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks whether two orderBy are equal. |
Column |
getColumn()
Returns the column to order by. |
SqlEnum |
getOrder()
Returns the order to order by (ASC or DESC). |
int |
hashCode()
|
boolean |
isIgnoreCase()
Returns whether case should be ignored for String columns. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrderBy(Column column,
SqlEnum order,
boolean ignoreCase)
column - the column to order by, not null.order - the order, either SqlEnum.DESC or SqlEnum.ASC, not null.ignoreCase - whether case should be ignored for String columns
NullPointerException - if null is passed.
IllegalArgumentException - if an unknown order is passed.| Method Detail |
|---|
public Column getColumn()
public SqlEnum getOrder()
public boolean isIgnoreCase()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - the object to compare to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||