|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.SortInfo
public class SortInfo
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.
Field Summary | |
---|---|
int |
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). |
Constructor Summary | |
---|---|
SortInfo()
|
|
SortInfo(int id,
int order)
Constructs a new SortInfo object. |
|
SortInfo(int id,
IQuerySource source,
int order)
Constructs a new SortInfo object used by dynamic queries. |
Method Summary | |
---|---|
Object |
clone()
Makes a copy of the object. |
boolean |
equals(Object obj)
Use this method for checking equality. |
int |
getFieldID()
Returns the fieldID to sort on. |
int |
getSortOrder()
Returns the sort order to be applied on the field. |
IQuerySource |
getSource()
Returns the IQuerySource form or query containing the field to sort on |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int m_fldID
InternalID
associated with the field to sort on.
public int m_order
Constructor Detail |
---|
public SortInfo()
public SortInfo(int id, int order)
SortInfo
object.
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).public SortInfo(int id, IQuerySource source, int order)
SortInfo
object used by dynamic queries.
id
- The InternalID
associated with the field to sort on.source
- The IQuerySource
associated with the field to sort on.order
- An integer value indicating the sort order for the field (1 - ascending, 2 - descending).Method Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int getFieldID()
public int getSortOrder()
public IQuerySource getSource()
IQuerySource
form or query containing the field to sort on
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |