public class SortFieldDescriptor
extends java.lang.Object
Constructor and Description |
---|
SortFieldDescriptor(GUID fieldUID,
SortDirection sortDirection)
Create a new descriptor for a given field and sorting direction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
GUID |
getFieldUID()
Get the unique ID of the field to sort by.
|
SortDirection |
getSortDirection()
Get the direction to sort this field by.
|
void |
reverseSortDirection()
Calling this method reverses the sort direction.
|
void |
setFieldUID(GUID fieldUID)
Set the unique ID of the field to sort by.
|
void |
setSortDirection(SortDirection sortDirection)
Set the direction to sort this field by.
|
public SortFieldDescriptor(GUID fieldUID, SortDirection sortDirection)
fieldUID
- The unique ID of the fieldsortDirection
- the direction to sort bypublic GUID getFieldUID()
public void setFieldUID(GUID fieldUID)
fieldUID
- The unique ID of the field.public SortDirection getSortDirection()
public void setSortDirection(SortDirection sortDirection)
sortDirection
- The sorting direction.public void reverseSortDirection()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.