@SearchPrimitive public final class FieldSort extends Object implements SearchSort
SearchSort.Order, SearchSort.Type
Constructor and Description |
---|
FieldSort(String fieldName,
SearchSort.Type type,
SearchSort.Order order) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName() |
String |
getKey()
Gets the key that uniquely identifies this sort method.
|
SearchSort.Order |
getOrder()
Returns the order (whether
SearchSort.Order.ASCENDING or SearchSort.Order.DESCENDING ) of the sort. |
SearchSort.Type |
getType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
expand
public static final String KEY
public FieldSort(String fieldName, SearchSort.Type type, SearchSort.Order order)
public String getKey()
SearchSort
getKey
in interface SearchSort
public SearchSort.Order getOrder()
SearchSort
SearchSort.Order.ASCENDING
or SearchSort.Order.DESCENDING
) of the sort.getOrder
in interface SearchSort
SearchSort.Order.ASCENDING
or SearchSort.Order.DESCENDING
) of the sort.public SearchSort.Type getType()
public String getFieldName()
Copyright © 2003–2019 Atlassian. All rights reserved.