Constructor and Description |
---|
FieldOrder(Sorting.AttributeSorter fieldSorter,
Sorting.Order sortOrder)
Creates an attribute vector
|
Modifier and Type | Method and Description |
---|---|
Sorting.FieldOrder |
clone() |
boolean |
equals(Object other) |
String |
getFieldName()
Returns the name of this attribute
|
Sorting.AttributeSorter |
getSorter()
Returns the sorter of this attribute
|
Sorting.Order |
getSortOrder()
Returns the sorting order of this attribute
|
int |
hashCode() |
void |
setAscending(boolean asc)
Decide if sortorder is ascending or not.
|
void |
setSorter(Sorting.AttributeSorter sorter) |
String |
toString() |
public FieldOrder(Sorting.AttributeSorter fieldSorter, Sorting.Order sortOrder)
fieldSorter
- the sorter of this attributesortOrder
- whether to sort this ascending or descendingpublic String getFieldName()
public Sorting.AttributeSorter getSorter()
public void setSorter(Sorting.AttributeSorter sorter)
public Sorting.Order getSortOrder()
public void setAscending(boolean asc)
public Sorting.FieldOrder clone()
Copyright © 2018. All rights reserved.