Package com.luciad.ogc.filter.model
Class TLcdOGCSortProperty
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.TLcdOGCSortProperty
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
This class represents the
<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.-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructor.TLcdOGCSortProperty
(TLcdOGCPropertyName aPropertyName, int aSortOrder) Constructs an instance for a given property name and a sort order. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the property name.int
Gets the sort order.int
hashCode()
void
setPropertyName
(TLcdOGCPropertyName aPropertyName) Sets the property name.void
setSortOrder
(int aSortOrder) Sets the sort order.toString()
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
-
Field Details
-
ASC
public static final int ASCAscending sort order- See Also:
-
DESC
public static final int DESCDescending sort order- See Also:
-
-
Constructor Details
-
TLcdOGCSortProperty
public TLcdOGCSortProperty()Default constructor. -
TLcdOGCSortProperty
Constructs an instance for a given property name and a sort order.- Parameters:
aPropertyName
- the property name.aSortOrder
- the sort order that must be one of the constants of this class.
-
-
Method Details
-
getPropertyName
Gets the property name.- Returns:
- the property name.
-
setPropertyName
Sets the property name.- Parameters:
aPropertyName
- the property name.
-
getSortOrder
public int getSortOrder()Gets the sort order.- Returns:
- the sort order.
-
setSortOrder
public void setSortOrder(int aSortOrder) Sets the sort order.- Parameters:
aSortOrder
- the sort order that must be one of the constants of this class.
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classTLcdDataObject
-