public class Pagination extends Object
| Constructor and Description |
|---|
Pagination()
Creates a new instance of
Pagination. |
Pagination(Integer startIndex,
Integer maxResults)
Creates a new instance of
Pagination. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMaxResults()
Gets the maxResults (per page).
|
Integer |
getStartIndex()
Gets the startIndex.
|
void |
setMaxResults(Integer maxResults)
Sets the maxResults (per page).
|
void |
setStartIndex(Integer startIndex)
Sets the startIndex.
|
String |
toString() |
public Pagination()
Pagination.public Pagination(Integer startIndex, Integer maxResults)
Pagination.startIndex - maxResults - public Integer getStartIndex()
public void setStartIndex(Integer startIndex)
startIndex - the startIndex to setpublic Integer getMaxResults()
public void setMaxResults(Integer maxResults)
maxResults - the maxResults to setCopyright © 2015. All rights reserved.