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

top.coos.extra.es.QueryBean Maven / Gradle / Ivy

There is a newer version: 2.2.7.1
Show newest version
package top.coos.extra.es;

import java.util.HashMap;
import java.util.Map;

public class QueryBean {

	private Map where = new HashMap();

	private int pagesize = 50;

	private int currentpage = 1;

	public QueryBean addWhere(String key, Object value) {

		where.put(key, value);
		return this;
	}

	public Map getWhere() {

		return where;
	}

	public void setWhere(Map where) {

		this.where = where;
	}

	public int getPagesize() {

		return pagesize;
	}

	public void setPagesize(int pagesize) {

		this.pagesize = pagesize;
	}

	public int getCurrentpage() {

		return currentpage;
	}

	public void setCurrentpage(int currentpage) {

		this.currentpage = currentpage;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy