public class SortBy
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static SortBy |
buildCustomKey(java.lang.String customeKey,
SortType sortType)
创建按自定义Entity属性进行排序的实例
|
static SortBy |
buildEntityDesc(SortType sortType)
创建按Entity描述信息进行排序的实例
|
static SortBy |
buildEntityName(SortType sortType)
创建按Entity标识进行排序的实例
|
static SortBy |
buildLocTime(SortType sortType)
创建按定位时间locTime进行排序的实例
|
java.lang.String |
getFieldName()
获取排序字段名称
|
SortType |
getSortType()
获取排序规则
|
void |
setSortType(SortType sortType)
设置排序规则
|
java.lang.String |
toString() |
public java.lang.String getFieldName()
public SortType getSortType()
public void setSortType(SortType sortType)
sortType
- public static SortBy buildLocTime(SortType sortType)
sortType
- 排序规则public static SortBy buildEntityName(SortType sortType)
sortType
- 排序规则public static SortBy buildEntityDesc(SortType sortType)
sortType
- 排序规则public static SortBy buildCustomKey(java.lang.String customeKey, SortType sortType)
customeKey
- 自定义Entity属性字段名称sortType
- 排序规则public java.lang.String toString()
toString
在类中 java.lang.Object