Class SortingParser.SortImpl

java.lang.Object
ch.tocco.nice2.model.base.spi.sorting.SortingParser.SortImpl
All Implemented Interfaces:
Sorting
Enclosing class:
SortingParser

public static class SortingParser.SortImpl extends Object implements Sorting
  • Method Details

    • isAscending

      public boolean isAscending()
      Description copied from interface: Sorting
      Impl note: unfortunately we don't have access to ch.tocco.nice2.persist.query.Ordering.Direction here.
      Specified by:
      isAscending in interface Sorting
      Returns:
      True if ascending-sorted, false if descending-sorted.
    • getOrderItem

      public String getOrderItem()
      Specified by:
      getOrderItem in interface Sorting
      Returns:
      The order-item. Can be a field or a path through relations going to a field.