nl.surfnet.coin.teams.domain
Class Page
java.lang.Object
nl.surfnet.coin.teams.domain.Page
public class Page
- extends Object
POJO for a Page within paging
|
Constructor Summary |
Page(int pageNumber,
int offset,
boolean currentPage)
|
Page
public Page(int pageNumber,
int offset,
boolean currentPage)
getPageNumber
public int getPageNumber()
getOffset
public int getOffset()
- Returns:
- the startpoint in the totalresult for this
Page
isCurrentPage
public boolean isCurrentPage()
- Returns:
- boolean that indicates if this
Page is the requested page
based on offset and pagesize (can be used for styling)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.