|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.cmdb.api.CMDBSort
public class CMDBSort
The CMDBSort
class defines the sort property of returned
instances.
Field Summary | |
---|---|
static int |
CMDB_SORT_ASCENDING
The sort order is ascending. |
static int |
CMDB_SORT_DESCENDING
The sort order is descending. |
Constructor Summary | |
---|---|
CMDBSort(java.lang.String attributeName,
int sortOrder)
Constructor that creates a sort object that sorts on the specified attribute with the provided order. |
Method Summary | |
---|---|
java.lang.String |
getAttributeName()
Gets the attribute name. |
int |
getSortOrder()
Gets the sort order. |
void |
setAttributeName(java.lang.String attributeName)
Sets the attribute name. |
void |
setSortOrder(int sortOrder)
Sets the sort order. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CMDB_SORT_ASCENDING
public static final int CMDB_SORT_DESCENDING
Constructor Detail |
---|
public CMDBSort(java.lang.String attributeName, int sortOrder)
attributeName
- the attribute name to sort onsortOrder
- The sort order of the attribute. It can be
CMDB_SORT_ASCENDING
or
CMDB_SORT_DESCENDING
.Method Detail |
---|
public java.lang.String getAttributeName()
public int getSortOrder()
CMDB_SORT_ASCENDING
or
CMDB_SORT_DESCENDING
public void setAttributeName(java.lang.String attributeName)
attributeName
- the attribute name to be setpublic void setSortOrder(int sortOrder)
sortOrder
- the sort order to be set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |