Package org.serviceconnector.web.xml
Class AbstractXMLLoader.Paging
java.lang.Object
org.serviceconnector.web.xml.AbstractXMLLoader.Paging
- Enclosing class:
- AbstractXMLLoader
The Class Paging for internal use only, holds paging data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintGets the last page.intGets the last site.intgetPage()Gets the page.intGets the page size.intgetSite()Gets the site.intGets the site size.intgetSize()Gets the size.intvoidsetLastPage(int lastPage) Sets the last page.voidsetLastSite(int lastSite) Sets the last site.voidsetPage(int page) Sets the page.voidsetPageSize(int pageSize) Sets the page size.voidsetSite(int site) Sets the site.voidsetSiteSize(int siteSize) Sets the site size.voidsetSize(int size) Sets the size.
-
Constructor Details
-
Paging
public Paging(int size) Instantiates a new paging.
-
-
Method Details
-
getStartIndex
public int getStartIndex() -
getEndIndex
public int getEndIndex() -
getSize
public int getSize()Gets the size.- Returns:
- the size
-
setSize
public void setSize(int size) Sets the size.- Parameters:
size- the new size
-
getPage
public int getPage()Gets the page.- Returns:
- the page
-
setPage
public void setPage(int page) Sets the page.- Parameters:
page- the new page
-
getSite
public int getSite()Gets the site.- Returns:
- the site
-
setSite
public void setSite(int site) Sets the site.- Parameters:
site- the new site
-
getLastPage
public int getLastPage()Gets the last page.- Returns:
- the last page
-
setLastPage
public void setLastPage(int lastPage) Sets the last page.- Parameters:
lastPage- the new last page
-
getLastSite
public int getLastSite()Gets the last site.- Returns:
- the last site
-
setLastSite
public void setLastSite(int lastSite) Sets the last site.- Parameters:
lastSite- the new last site
-
getPageSize
public int getPageSize()Gets the page size.- Returns:
- the page size
-
setPageSize
public void setPageSize(int pageSize) Sets the page size.- Parameters:
pageSize- the new page size
-
getSiteSize
public int getSiteSize()Gets the site size.- Returns:
- the site size
-
setSiteSize
public void setSiteSize(int siteSize) Sets the site size.- Parameters:
siteSize- the new site size
-