Skip navigation links
com.fatwire.assetapi.query
Class SortOrder
java.lang.Object
com.fatwire.assetapi.query.SortOrder
-
public final class SortOrder
- extends java.lang.Object
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 |
SortOrder
public SortOrder(java.lang.String attributeName,
boolean asc)
- Creates a sort order for a single attribute
- Parameters:
attributeName
- name of the attribute
asc
- true for ascending, false for descending.
getAttribute
public java.lang.String getAttribute()
- Get the name of attribute
-
- Returns:
- name of attribute
getDirection
public boolean getDirection()
- Get sort direction, true for ascending, false for descending.
-
- Returns:
- true for ascending, false for descending.
Skip navigation links
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.