public static class LiveDataQuery.SortEntry extends Object
Constructor and Description |
---|
SortEntry()
Default constructor.
|
SortEntry(String property)
Creates a new sort entry for the specified property.
|
SortEntry(String property,
boolean descending)
Creates a new sort entry for the specified property and sort order.
|
Modifier and Type | Method and Description |
---|---|
String |
getProperty() |
boolean |
isDescending() |
void |
setDescending(boolean descending)
Sets the sort direction.
|
void |
setProperty(String property)
Sets the property to sort on.
|
public SortEntry()
public SortEntry(String property)
property
- the property to sort onpublic SortEntry(String property, boolean descending)
property
- the property to sort ondescending
- the sort directionpublic String getProperty()
public void setProperty(String property)
property
- the property namepublic boolean isDescending()
public void setDescending(boolean descending)
descending
- the new sort directionCopyright © 2004–2021 XWiki. All rights reserved.