public class PagePositionImpl extends Object implements PagePosition
Constructor and Description |
---|
PagePositionImpl() |
PagePositionImpl(long pageNr,
int messageNr) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PagePosition o) |
boolean |
equals(Object obj) |
int |
getMessageNr() |
long |
getPageNr() |
long |
getRecordID() |
int |
hashCode() |
PagePosition |
nextMessage() |
PagePosition |
nextPage() |
void |
setRecordID(long recordID) |
String |
toString() |
public PagePositionImpl(long pageNr, int messageNr)
pageNr
- messageNr
- public PagePositionImpl()
public long getRecordID()
getRecordID
in interface PagePosition
public void setRecordID(long recordID)
setRecordID
in interface PagePosition
recordID
- the recordID to setpublic long getPageNr()
getPageNr
in interface PagePosition
public int getMessageNr()
getMessageNr
in interface PagePosition
public int compareTo(PagePosition o)
compareTo
in interface Comparable<PagePosition>
public PagePosition nextMessage()
nextMessage
in interface PagePosition
public PagePosition nextPage()
nextPage
in interface PagePosition
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.