org.riotfamily.riot.dao
Class Order
java.lang.Object
org.riotfamily.riot.dao.Order
- All Implemented Interfaces:
- Serializable, SortDefinition
public class Order
- extends Object
- implements Serializable, SortDefinition
- See Also:
- Serialized Form
Constructor Summary |
Order(String property,
boolean ascending,
boolean caseSensitive)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Order
public Order(String property,
boolean ascending,
boolean caseSensitive)
getProperty
public String getProperty()
- Specified by:
getProperty
in interface SortDefinition
isAscending
public boolean isAscending()
- Specified by:
isAscending
in interface SortDefinition
isCaseSensitive
public boolean isCaseSensitive()
isIgnoreCase
public boolean isIgnoreCase()
- Specified by:
isIgnoreCase
in interface SortDefinition
isProperty
public boolean isProperty(String property)
toggleDirection
public void toggleDirection()