resultsetquerybypage.java
来自「简单的j2ee轻量级框架」· Java 代码 · 共 38 行
JAVA
38 行
package com.prinice.jfoot.util.dbo;
/**
* @author:Leo
* @version:1.0
* @description:该类用于构造分页查询的返回结果
* @date:2008-2-19
*/
import java.sql.*;
public class ResultSetQueryByPage {
//private ArrayList<LinkedHashMap> alQueryByPage = null;//该分页的记录
private int totalSize = 0;//该查询的总记录数
private ResultSet rsQueryByPage = null;//该分页的记录
/*
public ArrayList<LinkedHashMap> getAlQueryByPage(){
return this.alQueryByPage;
}
public void setAlQueryByPage(ArrayList<LinkedHashMap> al){
this.alQueryByPage = al;
}
*/
public int getTotalSize(){
return this.totalSize;
}
public void setTotalSize(int totalSize){
this.totalSize = totalSize;
}
public ResultSet getRsQueryByPage(){
return this.rsQueryByPage;
}
public void setRsQueryByPage(ResultSet rs){
this.rsQueryByPage = rs;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?