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 Details

    • getMetaPropertyPath

      @Nullable MetaPropertyPath getMetaPropertyPath()
      Returns the MetaPropertyPath object representing the property path.
      Returns:
      the property path object or null if 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:
      true if the sorting order is ascending, false otherwise