Class Order
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.
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
DynOobject, 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
ConstructorsConstructorDescriptionOrder()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributeOrderCriterion(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.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 ofOrderCriterionindicating the type of ordering.booleanDeprecated, for removal: This API element is subject to removal in a future version.Checks if the order has any criteria.
-
Constructor Details
-
Order
public Order()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
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
Deprecated, for removal: This API element is subject to removal in a future version.Returns the list ofOrderCriterionindicating 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
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 attributecriterion- the criterion
-
Order