|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.assetapi.query.SortOrder
public final class SortOrder
This class represents a Sort order for asset instances to be returned.
Constructor Summary | |
---|---|
SortOrder(java.lang.String attributeName,
boolean asc)
Creates a sort order for a single attribute |
Method Summary | |
---|---|
java.lang.String |
getAttribute()
Get the name of attribute |
boolean |
getDirection()
Get sort direction, true for ascending, false for descending. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortOrder(java.lang.String attributeName, boolean asc)
attributeName
- name of the attributeasc
- true for ascending, false for descending.Method Detail |
---|
public java.lang.String getAttribute()
public boolean getDirection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |