public class OrderBy extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OrderBy.Order
Supported sort orders
|
Constructor and Description |
---|
OrderBy() |
Modifier and Type | Method and Description |
---|---|
List<com.versionone.apiclient.services.OrderBy.Term> |
getTerms() |
String |
getToken()
Get the sort token
|
void |
majorSort(IAttributeDefinition attribdef,
OrderBy.Order order)
Set the attribute and order for major sort of returned data
|
void |
minorSort(IAttributeDefinition attribdef,
OrderBy.Order order)
Set the attribute and order for minor sort of returned data
|
int |
size()
Return the number of terms
|
String |
toString()
Get the string representation of the sort
|
public List<com.versionone.apiclient.services.OrderBy.Term> getTerms()
public void majorSort(IAttributeDefinition attribdef, OrderBy.Order order)
attribdef
- - IAttributeDefinitionorder
- - Orderpublic void minorSort(IAttributeDefinition attribdef, OrderBy.Order order)
attribdef
- - IAttributeDefinitionorder
- - Orderpublic int size()
public String getToken()
Copyright © 2015 VersionOne, Inc.. All rights reserved.