Class SortBy

java.lang.Object
org.n52.shetland.ogc.gml.SortBy

public class SortBy extends Object
class represents the gml:sortByType
Since:
1.0.0
  • Constructor Details

    • SortBy

      public SortBy(String propertyp, GmlConstants.SortingOrder orderp)
      constructor
      Parameters:
      propertyp - name of property, by which should be sorted
      orderp - sorting order (currently only ascending ('ASC') or descending ('DESC')
    • SortBy

      public SortBy()
      default constructor
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      Returns String representation with values of this object
    • getOrder

      public GmlConstants.SortingOrder getOrder()
      Get order
      Returns:
      the order
    • setOrder

      public void setOrder(GmlConstants.SortingOrder order)
      Set ordering
      Parameters:
      order - the order to set
    • getProperty

      public String getProperty()
      Get property
      Returns:
      the property
    • setProperty

      public void setProperty(String property)
      Set property
      Parameters:
      property - the property to set