public class IGCSearchSorting extends Object
| Constructor and Description |
|---|
IGCSearchSorting(String property)
Creates a new search sorting criteria directly, sorting by the provided property in ascending order.
|
IGCSearchSorting(String property,
Boolean ascending)
Creates a new search sorting criteria directly.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAscending() |
String |
getProperty() |
com.fasterxml.jackson.databind.node.ObjectNode |
getSortObject()
Returns the JSON object representing the condition.
|
void |
setAscending(Boolean ascending) |
void |
setProperty(String property) |
public IGCSearchSorting(String property, Boolean ascending)
property - the property of an asset type to search againstascending - whether to sort results in ascending order (true) or descending order (false)public IGCSearchSorting(String property)
property - the property of an asset type to search againstpublic String getProperty()
public void setProperty(String property)
public Boolean getAscending()
public void setAscending(Boolean ascending)
public com.fasterxml.jackson.databind.node.ObjectNode getSortObject()
Copyright © 2018–2021 ODPi. All rights reserved.