Package io.jmix.core

Class Sort.Order

java.lang.Object
io.jmix.core.Sort.Order
All Implemented Interfaces:
Serializable
Enclosing class:
Sort

public static class Sort.Order extends Object implements Serializable
Sort order defines a property and corresponding Sort.Direction.
See Also:
  • Constructor Details

  • Method Details

    • asc

      public static Sort.Order asc(String property)
      Creates new order for the given property with ASC direction.
    • desc

      public static Sort.Order desc(String property)
      Creates new order for the given property with DESC direction.
    • getDirection

      public Sort.Direction getDirection()
    • getProperty

      public String getProperty()
    • toString

      public String toString()
      Overrides:
      toString in class Object