|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.addon.jpacontainer.SortBy
public final class SortBy
Data structure class representing a field to sort by and the direction of the sort (ascending or descending). Once created, the instances of this class are immutable.
| Constructor Summary | |
|---|---|
SortBy(Object propertyId,
boolean ascending)
Creates a new SortBy instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Object |
getPropertyId()
Gets the property ID to sort by. |
int |
hashCode()
|
boolean |
isAscending()
Returns true to sort ascendingly, false to sort descendingly. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortBy(Object propertyId,
boolean ascending)
SortBy instance.
propertyId - the property ID to sort by (must not be null).ascending - true to sort ascendingly, false to sort descendingly.| Method Detail |
|---|
public Object getPropertyId()
public boolean isAscending()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||