|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.tif.jacob.core.definition.SortOrder
public final class SortOrder
This class declares the different kinds of sort orders.
IBrowserTableField.getSortorder(),
IAdhocBrowserDefinition.addBrowserField(int, String, String, String, SortOrder),
IAdhocBrowserDefinition.addBrowserField(String, String, String, SortOrder)| Field Summary | |
|---|---|
static SortOrder |
ASCENDING
The instance for indicating that ascending sort order is used. |
static SortOrder |
DESCENDING
The instance for indicating that descending sort order is used. |
static SortOrder |
NONE
The instance for indicating that no sort order is used. |
static java.lang.String |
RCS_ID
The internal revision control system id. |
static java.lang.String |
RCS_REV
The internal revision control system id in short form. |
| Method Summary | |
|---|---|
static SortOrder |
fromJad(CastorSortOrder jadType)
Internal method for converting a XML JAD type to this class. |
java.lang.String |
getSqlKeyword()
Internal method for determining the corresponding SQL sort order keyword. |
static SortOrder |
parse(java.lang.String orderString)
Parses the hands over string to a valid SortOrder object. |
CastorSortOrder |
toJad()
Internal method for converting this sort order to the corresponding XML JAD type. |
java.lang.String |
toString()
Returns a string representation of this sort order, which is easy for a person to read. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final transient java.lang.String RCS_ID
public static final transient java.lang.String RCS_REV
public static final SortOrder NONE
public static final SortOrder ASCENDING
public static final SortOrder DESCENDING
| Method Detail |
|---|
public static SortOrder fromJad(CastorSortOrder jadType)
jadType - the XML JAD type
public java.lang.String getSqlKeyword()
null if unsorted.public CastorSortOrder toJad()
public java.lang.String toString()
toString in class java.lang.Objectpublic static SortOrder parse(java.lang.String orderString)
orderString - the order string to parse
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||