com.remedy.arsys.api
Class SortInfo
java.lang.Object
|
+--com.remedy.arsys.api.SortInfo
- public class SortInfo
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
The SortInfo class specifies the sort order of fields
from an entry list. It consists of two elements, a field ID and a sort order.
- See Also:
- Serialized Form
|
Field Summary |
InternalID |
m_fldID
The InternalID associated with the field to sort on. |
int |
m_order
An integer value indicating the sort order for the field
(1 - ascending, 2 - descending). |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
m_fldID
public InternalID m_fldID
- The
InternalID associated with the field to sort on.
m_order
public int m_order
- An integer value indicating the sort order for the field
(1 - ascending, 2 - descending).
SortInfo
public SortInfo(InternalID id,
int order)
- Constructs a new
SortInfo object.
- Parameters:
id - The InternalID associated with the field to sort on.order - An integer value indicating the sort order for the field (1 - ascending, 2 - descending).
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Makes a copy of the object.
- Overrides:
- clone in class java.lang.Object
getFieldID
public InternalID getFieldID()
- Returns the
InternalID of the field to sort on.
getSortOrder
public int getSortOrder()
- Returns the sort order to be applied on the field.