condition.java

来自「本源码为教学管理信息系统」· Java 代码 · 共 98 行

JAVA
98
字号
/* * Created on 2004-11-1 */package com.wygl.page;import java.io.Serializable;import java.util.Date;/** * 基本查询条件 *  * @author liangwj */public class Condition implements Serializable {	protected long pageNo;// 页号	protected long crossPages;// 总页数	protected long rowCounts;// 记录总数	protected String hqlString; // 基础HQL查询语句	protected long rowsPerpage = 20;		protected long currentRow;		protected String actionType;//页面类别参数	protected Date sysd;//系统日期	private String lb;//记载文件类型	private String lbcopy;//复制记载文件类型	public Condition() {		pageNo = 1;		crossPages = 1;		rowCounts = 0;		currentRow = 0;		sysd = new Date();		lbcopy="%";		lb="%";	}	public long getCurrentRow() {		return currentRow;	}	public void setCurrentRow(long currentRow) {		this.currentRow = currentRow;	}	public Date getSysd() {		return sysd;	}	public void setSysd(Date sysd) {		this.sysd = sysd;	}	public long getCrossPages() {		return crossPages;	}	public void setCrossPages(long crossPages) {		this.crossPages = crossPages;	}	public long getPageNo() {		return pageNo;	}	public void setPageNo(long pageNo) {		this.pageNo = pageNo;	}	public long getRowCounts() {		return rowCounts;	}	public void setRowCounts(long rowCounts) {		this.rowCounts = rowCounts;	}	public String getHqlString() {		return hqlString;	}	public void setHqlString(String hqlString) {		this.hqlString = hqlString;	}	public long getRowsPerpage() {		return rowsPerpage;	}	public void setRowsPerpage(long rowsPerpage) {		this.rowsPerpage = rowsPerpage;	}	public String getActionType() {		return actionType;	}	public void setActionType(String actionType) {		this.actionType = actionType;	}	public String getLb() {		return lb;	}	public void setLb(String lb) {		this.lb = lb;	}	public String getLbcopy() {		return lbcopy;	}	public void setLbcopy(String lbcopy) {		this.lbcopy = lbcopy;	}}

⌨️ 快捷键说明

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