|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.support.MutableSortDefinition
Mutable implementation of SortDefinition. Supports toggling the ascending value on setting the same property again.
setToggleAscendingOnProperty(boolean)
,
Serialized FormConstructor Summary | |
MutableSortDefinition()
|
|
MutableSortDefinition(boolean toggleAscendingOnSameProperty)
|
|
MutableSortDefinition(SortDefinition source)
|
|
MutableSortDefinition(java.lang.String property,
boolean ignoreCase,
boolean ascending)
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getProperty()
Return the name of the property to sort by. |
int |
hashCode()
|
boolean |
isAscending()
Return if ascending or descending. |
boolean |
isIgnoreCase()
Return whether upper and lower case in String values should be ignored. |
boolean |
isToggleAscendingOnProperty()
|
void |
setAscending(boolean ascending)
|
void |
setIgnoreCase(boolean ignoreCase)
|
void |
setProperty(java.lang.String property)
Set the sort property. |
void |
setToggleAscendingOnProperty(boolean toggleAscendingOnProperty)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MutableSortDefinition()
public MutableSortDefinition(SortDefinition source)
public MutableSortDefinition(java.lang.String property, boolean ignoreCase, boolean ascending)
public MutableSortDefinition(boolean toggleAscendingOnSameProperty)
Method Detail |
public void setProperty(java.lang.String property)
public java.lang.String getProperty()
SortDefinition
getProperty
in interface SortDefinition
public void setIgnoreCase(boolean ignoreCase)
public boolean isIgnoreCase()
SortDefinition
isIgnoreCase
in interface SortDefinition
public void setAscending(boolean ascending)
public boolean isAscending()
SortDefinition
isAscending
in interface SortDefinition
public void setToggleAscendingOnProperty(boolean toggleAscendingOnProperty)
public boolean isToggleAscendingOnProperty()
public boolean equals(java.lang.Object obj)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |