Class PageableImpl

java.lang.Object
esendex.sdk.java.model.domain.impl.PageableImpl
All Implemented Interfaces:
Pageable
Direct Known Subclasses:
MessageCollectionResponseImpl, OptOutCollectionResponseImpl

public class PageableImpl extends Object implements Pageable
  • Constructor Details

    • PageableImpl

      public PageableImpl()
  • Method Details

    • getStartIndex

      public Integer getStartIndex()
      Gets the startindex of child elements
      Specified by:
      getStartIndex in interface Pageable
      Returns:
      the startindex
    • getCount

      public Integer getCount()
      Gets the count of child elements
      Specified by:
      getCount in interface Pageable
      Returns:
      the count
    • getTotalCount

      public Integer getTotalCount()
      Gets the totalcount of all elements available to be paged.
      Specified by:
      getTotalCount in interface Pageable
      Returns:
      the totalcount
    • setStartIndex

      protected void setStartIndex(Integer startIndex)
    • setCount

      protected void setCount(Integer count)
    • setTotalCount

      protected void setTotalCount(Integer totalCount)
    • toString

      public String toString()
      Overrides:
      toString in class Object