public class SortCriterion extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
ascending |
protected String |
propertyName |
Constructor and Description |
---|
SortCriterion(boolean ascending,
String propertyName) |
SortCriterion(String criterion) |
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName() |
boolean |
isAscending() |
String |
toString() |
static String |
toString(SortCriterion[] criteria) |
static SortCriterion[] |
valueOf(String s) |
protected final boolean ascending
protected final String propertyName
public SortCriterion(boolean ascending, String propertyName)
public SortCriterion(String criterion)
public boolean isAscending()
public String getPropertyName()
public static SortCriterion[] valueOf(String s)
public static String toString(SortCriterion[] criteria)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.