class DataSourceListController.DataSourceComparator extends BaseComparator<ListParent<DataSourceVO<?>,DataPointVO>>
Modifier and Type | Field and Description |
---|---|
private java.util.ResourceBundle |
bundle |
private static int |
SORT_CONN |
private static int |
SORT_ENABLED |
private static int |
SORT_NAME |
private static int |
SORT_TYPE |
descending, sortType
Constructor and Description |
---|
DataSourceComparator(java.util.ResourceBundle bundle,
java.lang.String sortField,
boolean descending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ListParent<DataSourceVO<?>,DataPointVO> o1,
ListParent<DataSourceVO<?>,DataPointVO> o2) |
canSort
private static final int SORT_NAME
private static final int SORT_TYPE
private static final int SORT_CONN
private static final int SORT_ENABLED
private final java.util.ResourceBundle bundle
public DataSourceComparator(java.util.ResourceBundle bundle, java.lang.String sortField, boolean descending)
public int compare(ListParent<DataSourceVO<?>,DataPointVO> o1, ListParent<DataSourceVO<?>,DataPointVO> o2)