Interface SortDefinition

All Known Implementing Classes:
MutableSortDefinition

public interface SortDefinition
Definition for sorting bean instances by a property.
Since:
26.05.2003
Author:
Juergen Hoeller
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the name of the bean property to compare.
    boolean
    Return whether to sort ascending (true) or descending (false).
    boolean
    Return whether upper and lower case in String values should be ignored.
  • Method Details

    • getProperty

      String getProperty()
      Return the name of the bean property to compare. Can also be a nested bean property path.
    • isIgnoreCase

      boolean isIgnoreCase()
      Return whether upper and lower case in String values should be ignored.
    • isAscending

      boolean isAscending()
      Return whether to sort ascending (true) or descending (false).