|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCodeList<SortOrder>
SortOrder
public final class SortOrder
Captures the SortBy
order, ASC
or DESC
.
Field Summary | |
---|---|
static SortOrder |
ASCENDING
Represents acending order. |
static SortOrder |
DESCENDING
Represents descending order. |
Method Summary | |
---|---|
CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
String |
toSQL()
Returns the element name for this sorting order as a SQL "ASC"
or "DESC" keyword. |
static SortOrder |
valueOf(String code)
Returns the SortOrder that matches the given string, or returns a new one if none match it. |
static SortOrder[] |
values()
Returns the list of SortOrder s. |
Methods inherited from class CodeList |
---|
compareTo, name, ordinal, readResolve, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@UML(identifier="ASC", obligation=CONDITIONAL, specification=OGC_02059) public static final SortOrder ASCENDING
Note this has the string representation of "ASC"
to agree
with the Filter 1.1 specification.
@UML(identifier="DESC", obligation=CONDITIONAL, specification=OGC_02059) public static final SortOrder DESCENDING
Note this has the string representation of "DESC"
to agree
with the Filter 1.1 specification.
Method Detail |
---|
public String toSQL()
"ASC"
or "DESC"
keyword.
We have chosen to use the full names ASCENDING
and
DESCENDING
for our code list. The original XML schema
matches the SQL convention of ASC
and DESC
.
public static SortOrder[] values()
SortOrder
s.
public CodeList[] family()
family
in class CodeList<SortOrder>
public static SortOrder valueOf(String code)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |