|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.seaf.common.PropertySort<P>
P - Property enumpublic class PropertySort<P extends Enum<?>>
Specification of the sort on a property.
| Constructor Summary | |
|---|---|
PropertySort()
Default constructor of JavaBean PropertySort. |
|
PropertySort(P property)
Construct property sort for the given property. |
|
PropertySort(P property,
SortOrder order)
Full constructor of JavaBean PropertySort. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
SortOrder |
getOrder()
Default getter for property order. |
P |
getProperty()
Default getter for property property. |
int |
hashCode()
|
void |
setOrder(SortOrder order)
Default setter for property order. |
void |
setProperty(P property)
Default setter for property property. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertySort()
public PropertySort(P property)
property - The property to sort on
public PropertySort(P property,
SortOrder order)
property - The property to sort onorder - Order of the sort| Method Detail |
|---|
public final P getProperty()
public void setProperty(P property)
property - New value for the property propertypublic final SortOrder getOrder()
public final void setOrder(SortOrder order)
order - New value for the order propertypublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||