Interface SortSpecification

    • Method Detail

      • descending

        SortSpecification descending()
        Returns a new instance of the SortSpecification that should render as descending in an ORDER BY clause.
        Returns:
        new instance of SortSpecification
      • orderByName

        String orderByName()
        Return the phrase that should be written into a rendered order by clause. This should NOT include the "DESC" word for descending sort specifications.
        Returns:
        the order by phrase
      • isDescending

        boolean isDescending()
        Return true if the sort order is descending.
        Returns:
        true if the SortSpecification should render as descending