java.lang.Object
overit.geocallapp.wfm.core.bl.common.Order
All Implemented Interfaces:
Serializable

@Deprecated(since="16.0", forRemoval=true) public class Order extends Object implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Use Order
Class used to sort lists of DynO objects. An order is characterized by a list of attributes and a list of OrderCriterion:
  • a list of attributes, composed by the individual attributes of the DynO object, that will be used as comparators
  • a list of OrderCriterion, i.e. a list of comparator criteria (ascending/descending)
Since:
14.0
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Adds the given attribute and the given order criterion to the current orderO.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the list of attributes that will be used as comparators.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the list of OrderCriterion indicating the type of ordering.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Checks if the order has any criteria.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Order

      public Order()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getAttributes

      public List<String> getAttributes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the list of attributes that will be used as comparators.
      Returns:
      a list of attributes
      See Also:
    • getCriteria

      public List<OrderCriterion> getCriteria()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the list of OrderCriterion indicating the type of ordering.
      Returns:
      a list of OrderCriterion
      See Also:
    • hasOrderCriteria

      public boolean hasOrderCriteria()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Checks if the order has any criteria.
      Returns:
      true if order the order has any criteria, false otherwise
    • addAttributeOrderCriterion

      public void addAttributeOrderCriterion(String attribute, OrderCriterion criterion)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Adds the given attribute and the given order criterion to the current orderO.
      Parameters:
      attribute - the attribute
      criterion - the criterion