esendex.sdk.java.model.domain.impl.PageableImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.everit.osgi.bundles.com.esendex.javasdk Show documentation
Show all versions of org.everit.osgi.bundles.com.esendex.javasdk Show documentation
The Esendex Java SDK is an easy to use client for our REST API that you can use to integrate SMS and Voice messaging into your Java application.
The newest version!
package esendex.sdk.java.model.domain.impl;
public class PageableImpl implements Pageable {
private Integer startIndex;
private Integer count;
private Integer totalCount;
public PageableImpl() {
super();
}
/**
* Gets the startindex of child elements
* @return the startindex
*/
public Integer getStartIndex() {
return startIndex;
}
/**
* Gets the count of child elements
* @return the count
*/
public Integer getCount() {
return count;
}
/**
* Gets the totalcount of all elements available to be paged.
* @return the totalcount
*/
public Integer getTotalCount() {
return totalCount;
}
protected void setStartIndex(Integer startIndex) {
this.startIndex = startIndex;
}
protected void setCount(Integer count) {
this.count = count;
}
protected void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
/**
* {@inheritDoc}
*/
@Override
public String toString() {
return super.toString() +
"\nstartIndex: " + startIndex +
"\ncount: " + count +
"\ntotalCount: " + totalCount;
}
}