public class SortCriterion extends NamedModel<Long>
| Constructor and Description |
|---|
SortCriterion() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getColumnId()
Get the column ID of the column to sort on
|
SortDirection |
getDirection()
Get the sort direction
|
SortCriterion |
setColumnId(Long columnId)
Set the column ID of the column to sort on
|
SortCriterion |
setDirection(SortDirection direction)
Set the sort direction
|
getName, setNameequals, getId, hashCode, setIdpublic Long getColumnId()
public SortCriterion setColumnId(Long columnId)
columnId - the column IDpublic SortDirection getDirection()
public SortCriterion setDirection(SortDirection direction)
direction - the sort directionCopyright © 2014–2019 Smartsheet. All rights reserved.