Class PageStatisticsRepresentation

All Implemented Interfaces:
ResourceRepresentation, org.svenson.DynamicProperties

public class PageStatisticsRepresentation extends AbstractExtensibleRepresentation
  • Constructor Details

    • PageStatisticsRepresentation

      public PageStatisticsRepresentation()
    • PageStatisticsRepresentation

      public PageStatisticsRepresentation(int pageSize)
  • Method Details

    • 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()
    • setTotalElements

      public void setTotalElements(Long totalElements)
    • getTotalElements

      @JSONProperty(ignoreIfNull=true) public Long getTotalElements()