Interface SortDefinition

All Known Implementing Classes:
MutableSortDefinition

@Deprecated(since="7.0.3", forRemoval=true) public interface SortDefinition
Deprecated, for removal: This API element is subject to removal in a future version.
as severely outdated and superseded by more modern solutions, for example in Spring Data Commons
Definition for sorting bean instances by a property.
Since:
26.05.2003
Author:
Juergen Hoeller
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the name of the bean property to compare.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return whether to sort ascending (true) or descending (false).
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return whether upper and lower case in String values should be ignored.
  • Method Details

    • getProperty

      String getProperty()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return the name of the bean property to compare. Can also be a nested bean property path.
    • isIgnoreCase

      boolean isIgnoreCase()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return whether upper and lower case in String values should be ignored.
    • isAscending

      boolean isAscending()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Return whether to sort ascending (true) or descending (false).