Class SortCriterion
java.lang.Object
org.opencastproject.util.requests.SortCriterion
A sort criterion represents the combination of a field name and a sort
SortCriterion.Order-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSortCriterion(String fieldName, SortCriterion.Order order) Create a order criterion based on the given field name and order. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetOrder()inthashCode()static SortCriterionParse a string representation of a sort criterion.toString()
-
Constructor Details
-
SortCriterion
Create a order criterion based on the given field name and order.- Parameters:
fieldName- the field nameorder- the order
-
-
Method Details
-
parse
Parse a string representation of a sort criterion.- Parameters:
sortCriterion- the sort criterion string- Returns:
- the sort criterion
-
getFieldName
-
getOrder
-
equals
-
hashCode
public int hashCode() -
toString
-