Interface SortInfo
- All Known Subinterfaces:
InMemoryPropertyDescriptorSortInfo,InMemorySortInfo,PersistentPropertyDescriptorSortInfo,PersistentSortInfo
- All Known Implementing Classes:
InMemoryPropertyDescriptorSortInfoImpl,InMemorySortInfoImpl,PersistentPropertyDescriptorSortInfoImpl,PersistentSortInfoImpl
@NullMarked
public interface SortInfo
Interface representing sorting information for a property.
-
Method Summary
Modifier and TypeMethodDescription@Nullable MetaPropertyPathReturns theMetaPropertyPathobject representing the property path.Returns the sorting key that can be a column key or a property path.booleanIndicates whether the sorting order is ascending.
-
Method Details
-
getMetaPropertyPath
@Nullable MetaPropertyPath getMetaPropertyPath()Returns theMetaPropertyPathobject representing the property path.- Returns:
- the property path object or
nullif not set
-
getSortKey
String getSortKey()Returns the sorting key that can be a column key or a property path.- Returns:
- the sorting key
-
isAscending
boolean isAscending()Indicates whether the sorting order is ascending.- Returns:
trueif the sorting order is ascending,falseotherwise
-