|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.aspect.submission.StepAndPage
public class StepAndPage
Holds a step number and a page number within that step.
| Constructor Summary | |
|---|---|
StepAndPage()
Default constructor returns an unset instance |
|
StepAndPage(int step,
int page)
Initialize a new StepAndPage from given step and page numbers |
|
StepAndPage(java.lang.String asString)
Initialize a new StepAndPage by parsing a string of the form "step.page". |
|
| Method Summary | |
|---|---|
int |
compareTo(StepAndPage o)
|
boolean |
equals(java.lang.Object other)
Compare this StepAndPage with another |
int |
getPage()
|
int |
getStep()
|
int |
hashCode()
|
boolean |
isSet()
Does this instance have a value? |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StepAndPage()
public StepAndPage(int step,
int page)
step - page - public StepAndPage(java.lang.String asString)
asString - decimal step and page numbers separated by a period.| Method Detail |
|---|
public int getStep()
public int getPage()
public boolean isSet()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother -
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(StepAndPage o)
compareTo in interface java.lang.Comparable<StepAndPage>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||