Class SortOrder

java.lang.Object
com.vaadin.featurepack.data.sort.SortOrder
All Implemented Interfaces:
Serializable

@Deprecated public class SortOrder extends Object implements Serializable
Deprecated.
Sort order descriptor. Links together a SortDirection value and a Vaadin container property ID.
Since:
7.4
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • SortOrder

      public SortOrder(Object propertyId, SortDirection direction)
      Deprecated.
      Create a SortOrder object. Both arguments must be non-null.
      Parameters:
      propertyId - id of the data source property to sort by
      direction - value indicating whether the property id should be sorted in ascending or descending order
  • Method Details

    • getPropertyId

      public Object getPropertyId()
      Deprecated.
      Returns the property ID.
      Returns:
      a property ID
    • getDirection

      public SortDirection getDirection()
      Deprecated.
      Returns the SortDirection value.
      Returns:
      a sort direction value
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object