showrecordbypage.java

来自「纯粹jsp的留言板,使用了mvc」· Java 代码 · 共 72 行

JAVA
72
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package messagepad.beans;import com.sun.rowset.*;/** * * @author Administrator */public class ShowRecordByPage {    CachedRowSetImpl rowSet=null;    int pageSize=10;    int pageAllCount=0;    int showPage=1;    StringBuffer presentPageResult;    String databaseName="";    String tableName="";    StringBuffer formTitle=null;        public void setRowset(CachedRowSetImpl set){        rowSet=set;    }    public CachedRowSetImpl getRowSet(){        return rowSet;    }    public void setPageSize(int size){        pageSize=size;    }    public int getPageSize(){        return pageSize;    }    public int getPageAllCount(){        return pageAllCount;    }    public void setPageAllCount(int n){        pageAllCount=n;    }    public void setShowPage(int n){        showPage=n;    }    public int getShowPage(){        return showPage;    }    public void setPresentPageResult(StringBuffer p){        presentPageResult=p;    }    public StringBuffer getPresentPageResult(){        return presentPageResult;    }    public void setDatabaseName(String s){        databaseName=s.trim();    }    public String getDatabaseName(){        return databaseName;    }    public void setTableName(String s){        tableName=s;    }    public String getTableName(){        return tableName;    }    public void setFormTitle(StringBuffer s){        formTitle=s;    }    public StringBuffer getFormTitle(){        return formTitle;    }}

⌨️ 快捷键说明

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