public final class RequestSortCriteria extends Object
Constructor and Description |
---|
RequestSortCriteria() |
Modifier and Type | Method and Description |
---|---|
RequestSortCriteria |
add(Path aPath)
Adds the specified node as an ascending sort criterion.
|
RequestSortCriteria |
add(Path aPath,
boolean isAscendant)
Adds the specified node as an ascending sort criterion or as a descending sort criterion.
|
Path |
getPath(int criterionIndex) |
boolean |
isAscendant(int criterionIndex) |
void |
reset() |
int |
size() |
String |
toDisplayString() |
String |
toString() |
public RequestSortCriteria add(Path aPath) throws IllegalArgumentException
RequestSortCriteria
IllegalArgumentException
- if first step of aPath is Path.PARENT
or null.public RequestSortCriteria add(Path aPath, boolean isAscendant) throws IllegalArgumentException
RequestSortCriteria
IllegalArgumentException
- if first step of aPath is Path.PARENT
or null.public Path getPath(int criterionIndex)
public boolean isAscendant(int criterionIndex)
public int size()
public void reset()
public String toDisplayString()