public class SortFieldInfo extends Object
| Constructor and Description |
|---|
SortFieldInfo(SimpleField field,
Path name,
boolean descending) |
| Modifier and Type | Method and Description |
|---|---|
static SortFieldInfo[] |
buildSortFields(Sort sort,
EntityMetadata md)
Build sort field info
|
static SortFieldInfo[] |
buildSortFields(Sort sort,
FieldTreeNode context)
Build sort field info starting from the given metadata context
|
SimpleField |
getField()
Metadata for the sort field
|
Path |
getName()
Field name
|
boolean |
isDescending()
If sort key is descending or not
|
public SortFieldInfo(SimpleField field, Path name, boolean descending)
public SimpleField getField()
public Path getName()
public boolean isDescending()
public static SortFieldInfo[] buildSortFields(Sort sort, EntityMetadata md)
public static SortFieldInfo[] buildSortFields(Sort sort, FieldTreeNode context)
Copyright © 2016. All rights reserved.