|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectdk.eobjects.metamodel.query.OrderByItem
public class OrderByItem
Represents an ORDER BY item. An OrderByItem sorts the resulting DataSet according to a SelectItem that may or may not be a part of the query already.
OrderByClause,
SelectItem,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
OrderByItem.Direction
|
| Constructor Summary | |
|---|---|
OrderByItem(SelectItem selectItem)
Creates an ascending OrderByItem |
|
OrderByItem(SelectItem selectItem,
boolean ascending)
Deprecated. user OrderByItem(SelectItem, Direction) instead |
|
OrderByItem(SelectItem selectItem,
OrderByItem.Direction direction)
Creates an OrderByItem |
|
| Method Summary | |
|---|---|
protected OrderByItem |
clone()
|
boolean |
equals(java.lang.Object obj)
|
OrderByItem.Direction |
getDirection()
|
Query |
getQuery()
|
SelectItem |
getSelectItem()
|
boolean |
isAscending()
|
boolean |
isDescending()
|
OrderByItem |
setDirection(OrderByItem.Direction direction)
|
OrderByItem |
setQuery(Query query)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OrderByItem(SelectItem selectItem,
OrderByItem.Direction direction)
selectItem - the select item to orderdirection - the direction to order the select item
@Deprecated
public OrderByItem(SelectItem selectItem,
boolean ascending)
selectItem - ascending - public OrderByItem(SelectItem selectItem)
selectItem - | Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isAscending()
public boolean isDescending()
public OrderByItem.Direction getDirection()
public OrderByItem setDirection(OrderByItem.Direction direction)
public SelectItem getSelectItem()
public Query getQuery()
getQuery in interface IQueryItempublic OrderByItem setQuery(Query query)
setQuery in interface IQueryItemprotected OrderByItem clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||