public final class SortOrder extends CodeList<SortOrder>
Modifier and Type | Field and Description |
---|---|
static SortOrder |
ASCENDING
Represents acending order.
|
static SortOrder |
DESCENDING
Represents descending order.
|
Modifier and Type | Method and Description |
---|---|
SortOrder[] |
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 sort order that matches the given string, or returns a new one if none match it.
|
static SortOrder[] |
values()
Returns the list of
SortOrder s. |
@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.
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 SortOrder[] family()
Copyright © 1996–2023 Geotools. All rights reserved.