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:
- java.io.Serializable, IClusterable
public class SortParam
- extends java.lang.Object
- implements IClusterable
Represents sorting information of a property
- Author:
- Igor Vaynberg ( ivaynberg )
- See Also:
- Serialized Form
Constructor Summary |
SortParam(java.lang.String property,
boolean asc)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SortParam
public SortParam(java.lang.String property,
boolean asc)
- Parameters:
property
- sort propertyasc
- sort direction
isAscending
public boolean isAscending()
- Returns:
- true if sort dir is ascending, false otherwise
getProperty
public java.lang.String getProperty()
- Returns:
- sort property
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.