接口 SortDefinition

  • 所有已知实现类:
    MutableSortDefinition

    public interface SortDefinition
    Definition for sorting bean instances by a property.
    从以下版本开始:
    26.05.2003
    作者:
    Juergen Hoeller
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      StringgetProperty()
      Return the name of the bean property to compare.
      booleanisAscending()
      Return whether to sort ascending (true) or descending (false).
      booleanisIgnoreCase()
      Return whether upper and lower case in String values should be ignored.
    • 方法详细资料

      • 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).