Class CriteriaOrdering

java.lang.Object
io.github.mmm.property.criteria.CriteriaOrdering

public class CriteriaOrdering extends Object
An ordering for an ORDER BY clause.
Since:
1.0.0
  • Constructor Details

    • CriteriaOrdering

      public CriteriaOrdering(io.github.mmm.value.PropertyPath<?> path, io.github.mmm.base.sort.SortOrder order)
      The constructor.
      Parameters:
      path - the PropertyPath to order by.
      order - the SortOrder to order by.
  • Method Details

    • getProperty

      public io.github.mmm.value.PropertyPath<?> getProperty()
      Returns:
      the property to order.
    • getOrder

      public io.github.mmm.base.sort.SortOrder getOrder()
      Returns:
      the SortOrder to order by.
    • toString

      public String toString()
      Overrides:
      toString in class Object