public class SortSpec extends Object implements Serializable
| Constructor and Description |
|---|
SortSpec()
Constructor
|
SortSpec(String theParamName)
Constructor
|
SortSpec(String theParamName,
SortOrderEnum theOrder)
Constructor
|
SortSpec(String theParamName,
SortOrderEnum theOrder,
SortSpec theChain)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
SortSpec |
getChain()
Gets the chained sort specification, or
null if none. |
SortOrderEnum |
getOrder()
Returns the sort order specified by this parameter, or
null if none is explicitly provided (which
means SortOrderEnum.ASC according to the FHIR specification) |
String |
getParamName()
Returns the actual name of the search param to sort by
|
SortSpec |
setChain(SortSpec theChain)
Sets the chained sort specification, or
null if none. |
SortSpec |
setOrder(SortOrderEnum theOrder)
Sets the sort order specified by this parameter, or
null if none should be explicitly defined (which
means SortOrderEnum.ASC according to the FHIR specification) |
SortSpec |
setParamName(String theFieldName)
Sets the actual name of the search param to sort by
|
public SortSpec()
public SortSpec(String theParamName)
theParamName - The search name to sort on. See setParamName(String) for more information.public SortSpec(String theParamName, SortOrderEnum theOrder)
theParamName - The search name to sort on. See setParamName(String) for more information.theOrder - The order, or null. See setOrder(SortOrderEnum) for more information.public SortSpec(String theParamName, SortOrderEnum theOrder, SortSpec theChain)
theParamName - The search name to sort on. See setParamName(String) for more information.theOrder - The order, or null. See setOrder(SortOrderEnum) for more information.theChain - The next sorting spec, to be applied only when this spec makes two entries equal. See
setChain(SortSpec) for more information.public SortSpec getChain()
null if none. If multiple sort parameters are chained
(indicating a sub-sort), the second level sort is chained via this property.public String getParamName()
public SortOrderEnum getOrder()
null if none is explicitly provided (which
means SortOrderEnum.ASC according to the FHIR specification)public SortSpec setChain(SortSpec theChain)
null if none. If multiple sort parameters are chained
(indicating a sub-sort), the second level sort is chained via this property.public SortSpec setParamName(String theFieldName)
public SortSpec setOrder(SortOrderEnum theOrder)
null if none should be explicitly defined (which
means SortOrderEnum.ASC according to the FHIR specification)Copyright © 2014–2019 University Health Network. All rights reserved.