Package com.ithit.webdav.server.paging
Class OrderProperty
java.lang.Object
com.ithit.webdav.server.paging.OrderProperty
Represents property used for sorting in ascending or descending order.
-
Constructor Summary
ConstructorDescriptionOrderProperty
(Property property, boolean ascending) Initializes new instance. -
Method Summary
Modifier and TypeMethodDescriptionProperty name.boolean
Order direction.
-
Constructor Details
-
OrderProperty
Initializes new instance.- Parameters:
property
- Property name.ascending
- Order direction.
-
-
Method Details
-
getProperty
Property name.- Returns:
- Property
-
isAscending
public boolean isAscending()Order direction.- Returns:
- true if in ascending order
-