public class TLcdOGCSortProperty extends TLcdDataObject
<ogc:SortProperty>
element.
A TLcdOGCSortProperty
instance is composed of an instance of TLcdOGCPropertyName
and a sort order that must be one of the constants of this class.Modifier and Type | Field and Description |
---|---|
static int |
ASC
Ascending sort order
|
static int |
DESC
Descending sort order
|
Constructor and Description |
---|
TLcdOGCSortProperty()
Default constructor.
|
TLcdOGCSortProperty(TLcdOGCPropertyName aPropertyName,
int aSortOrder)
Constructs an instance for a given property name and a sort order.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TLcdOGCPropertyName |
getPropertyName()
Gets the property name.
|
int |
getSortOrder()
Gets the sort order.
|
int |
hashCode() |
void |
setPropertyName(TLcdOGCPropertyName aPropertyName)
Sets the property name.
|
void |
setSortOrder(int aSortOrder)
Sets the sort order.
|
String |
toString() |
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public static final int ASC
public static final int DESC
public TLcdOGCSortProperty()
public TLcdOGCSortProperty(TLcdOGCPropertyName aPropertyName, int aSortOrder)
aPropertyName
- the property name.aSortOrder
- the sort order that must be one of the constants of this class.public TLcdOGCPropertyName getPropertyName()
public void setPropertyName(TLcdOGCPropertyName aPropertyName)
aPropertyName
- the property name.public int getSortOrder()
public void setSortOrder(int aSortOrder)
aSortOrder
- the sort order that must be one of the constants of this class.public String toString()
toString
in class TLcdDataObject