|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beanfabrics.model.SortKey
public class SortKey
The SortKey describes the sort order for a field accessible by a particular
Path
relative to the element model.
Constructor Summary | |
---|---|
SortKey(boolean ascending,
Path sortPath)
Creates a new SortKey for the specified Path with
the specified sort direction. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Path |
getSortPath()
Returns the sort path. |
int |
hashCode()
|
SortKey |
invert()
Returns the inverted sortkey. |
boolean |
isAscending()
Returns true if the sort direction is ascending,
false otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortKey(boolean ascending, Path sortPath)
SortKey
for the specified Path
with
the specified sort direction.
ascending
- the sort directionsortPath
- the Path
to the field relative to the element's
rootMethod Detail |
---|
public Path getSortPath()
public boolean isAscending()
true
if the sort direction is ascending,
false
otherwise.
true
if the sort direction is ascending,
false
otherwisepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public SortKey invert()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |