Class TLcdOGCSortProperty

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.TLcdOGCSortProperty
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdOGCSortProperty extends TLcdDataObject
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 Details

  • Constructor Details

    • TLcdOGCSortProperty

      public TLcdOGCSortProperty()
      Default constructor.
    • TLcdOGCSortProperty

      public TLcdOGCSortProperty(TLcdOGCPropertyName aPropertyName, int aSortOrder)
      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

      public TLcdOGCPropertyName getPropertyName()
      Gets the property name.
      Returns:
      the property name.
    • setPropertyName

      public void setPropertyName(TLcdOGCPropertyName aPropertyName)
      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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class TLcdDataObject