com.cumulocity.rest.representation
Class PageStatisticsRepresentation

java.lang.Object
  extended by com.cumulocity.rest.representation.PageStatisticsRepresentation

public class PageStatisticsRepresentation
extends Object


Constructor Summary
PageStatisticsRepresentation()
           
PageStatisticsRepresentation(int pageSize)
           
 
Method Summary
 int getCurrentPage()
           
 int getPageSize()
           
 Integer getTotalPages()
           
 void setCurrentPage(int currentPage)
           
 void setPageSize(int pageSize)
           
 void setTotalPages(Integer totalPages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageStatisticsRepresentation

public PageStatisticsRepresentation()

PageStatisticsRepresentation

public PageStatisticsRepresentation(int pageSize)
Method Detail

setTotalPages

public void setTotalPages(Integer totalPages)

getTotalPages

@JSONProperty(ignoreIfNull=true)
public Integer getTotalPages()

setPageSize

public void setPageSize(int pageSize)

getPageSize

@JSONProperty(ignoreIfNull=true)
public int getPageSize()

setCurrentPage

public void setCurrentPage(int currentPage)

getCurrentPage

@JSONProperty(ignoreIfNull=true)
public int getCurrentPage()


Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.