Class OrderProperty

java.lang.Object
com.ithit.webdav.server.paging.OrderProperty

public class OrderProperty extends Object
Represents property used for sorting in ascending or descending order.
  • Constructor Details

    • OrderProperty

      public OrderProperty(Property property, boolean ascending)
      Initializes new instance.
      Parameters:
      property - Property name.
      ascending - Order direction.
  • Method Details

    • getProperty

      public Property getProperty()
      Property name.
      Returns:
      Property
    • isAscending

      public boolean isAscending()
      Order direction.
      Returns:
      true if in ascending order