public class Order extends Object implements Serializable
| Constructor and Description |
|---|
Order(String propertyName,
boolean ascending) |
public Order(String propertyName, boolean ascending)
public static Order asc(String propertyName)
propertyName - the name of the property to use to sort results in ascending order.public static Order desc(String propertyName)
propertyName - the name of the property to use to sort results in descending order.public String getPropertyName()
public boolean isAscending()
Copyright © 2012–2014. All rights reserved.