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

com.daon.identityx.rest.model.pojo.RestSearchMetadata Maven / Gradle / Ivy

/*
* Copyright Daon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.daon.identityx.rest.model.pojo;


/**
 * Holds information about list paging 
 * 
 *
 */
public class RestSearchMetadata {

	private int limit;
	private int page;
	private int totalCount;
	
	/**
	 * 
	 * @return the size of the page
	 */
	public int getLimit() {
		return limit;
	}
	
	/**
	 * 
	 * @param limit the size of the page
	 */
	public void setLimit(int limit) {
		this.limit = limit;
	}
	
	/**
	 * 
	 * @return page number
	 */
	public int getPage() {
		return page;
	}
	
	/**
	 * 
	 * @param page number
	 */
	public void setPage(int page) {
		this.page = page;
	}
	
	/**
	 * 
	 * @return total number of items
	 */
	public int getTotalCount() {
		return totalCount;
	}
	
	/**
	 * 
	 * @param totalCount total number of items
	 */
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy