⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 paramentity.java

📁 羽量级数据持久层开发框架
💻 JAVA
字号:
package org.speedframework.entity;

import org.speedframework.connection.IConnectionAdaptor;

import java.io.Serializable;

/**
 * Class ParamEntity
 * 参数承载对象
 * @author <a href="mailto:santafeng@gmail.com"> lizf </a>
 * @version $Revision:1.0.0, $Date: 2007-10-10 3:20:15 $
 */
public class ParamEntity implements Serializable {

	private static final long serialVersionUID = 7345122089233772840L;
	
	private int index = 0;

	private int maxResults = 0;
	
	private boolean openTableSchema=false;

	private boolean commit = true;

	private boolean useCacheStatus = true;

	private String SQL;

	private IConnectionAdaptor connectionAdaptor;

	private Object entity;

	private Serializable id;

	private Class loadclass;

	private Pagination pagination;

	private Object[] param;

	private Object[][] params;

	private int returnType;

	public boolean isUseCacheStatus() {
		return useCacheStatus;
	}

	public void setUseCacheStatus(boolean useCacheStatus) {
		this.useCacheStatus = useCacheStatus;
	}

	public IConnectionAdaptor getConnectionAdaptor() {
		return connectionAdaptor;
	}

	public void setConnectionAdaptor(IConnectionAdaptor connectionAdaptor) {
		this.connectionAdaptor = connectionAdaptor;
	}

	public boolean isCommit() {
		return commit;
	}

	public void setCommit(boolean commit) {
		this.commit = commit;
	}

	public Pagination getPagination() {
		return pagination;
	}

	public void setPagination(Pagination pagination) {
		this.pagination = pagination;
	}

	public Object[] getParam() {
		return param;
	}

	public void setParam(Object[] param) {
		this.param = param;
	}

	public Object[][] getParams() {
		return params;
	}

	public String getSQL() {
		return SQL;
	}

	public void setParams(Object[][] params) {
		this.params = params;
	}

	public void setSQL(String sql) {
		SQL = sql;
	}

	public Object getEntity() {
		return entity;
	}

	public void setEntity(Object entity) {
		this.entity = entity;
	}

	public Serializable getId() {
		return id;
	}

	public Class getLoadclass() {
		return loadclass;
	}

	public void setId(Serializable id) {
		this.id = id;
	}

	public void setLoadclass(Class loadclass) {
		this.loadclass = loadclass;
	}

	public int getReturnType() {
		return returnType;
	}

	public void setReturnType(int returnType) {
		this.returnType = returnType;
	}

	public boolean isOpenTableSchema() {
		return openTableSchema;
	}

	public void setOpenTableSchema(boolean openTableSchema) {
		this.openTableSchema = openTableSchema;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getMaxResults() {
		return maxResults;
	}

	public void setMaxResults(int maxResults) {
		this.maxResults = maxResults;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -