All Downloads are FREE. Search and download functionalities are using the official Maven repository.

esendex.sdk.java.model.domain.impl.PageableImpl Maven / Gradle / Ivy

Go to download

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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy