org.apache.wicket.extensions.markup.html.repeater.util
Class SortParam
java.lang.Object
org.apache.wicket.extensions.markup.html.repeater.util.SortParam
- All Implemented Interfaces:
- Serializable, IClusterable
public class SortParam
- extends Object
- implements IClusterable
Represents sorting information of a property
- Author:
- Igor Vaynberg ( ivaynberg )
- See Also:
- Serialized Form
SortParam
public SortParam(String property,
boolean ascending)
- Parameters:
property
- sort propertyascending
- true if sort order is ascending, false
if sort order is
descending
getProperty
public String getProperty()
- Returns:
- sort property
isAscending
public boolean isAscending()
- check if sort order is ascending
- Returns:
true if sort order is ascending, false
if sort order is
descending
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.