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

📄 pagemodel.java

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 JAVA
字号:
package com.gs.component.enterprise.model;

import java.io.*;
import java.util.*;

/**
 * 受理人员查看历史记录的Model
 */
public class PageModel
    implements Serializable {

    //当前的页号
    protected int currentPage;

    //总页数
    protected int totalPage;

    //记录总数
    protected int totalCount;

    //当前显示的记录数目
    protected int currentCount;

    //是否有上一页
    protected boolean hasPreview;

    //是否有下一页
    protected boolean hasNext;

    //记录开始号
    protected int firstNumber;

    //显示记录的结束号
    protected int lastNumber;

    //返回的对象
    protected ArrayList al;

    /**
     * Gets the currentPage
     * @return Returns a int
     */
    public int getCurrentPage() {
        return currentPage;
    }

    /**
     * Sets the currentPage
     * @param currentPage The currentPage to set
     */
    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    /**
     * Gets the totalPage
     * @return Returns a int
     */
    public int getTotalPage() {
        return totalPage;
    }

    /**
     * Sets the totalPage
     * @param totalPage The totalPage to set
     */
    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    /**
     * Gets the totalCount
     * @return Returns a int
     */
    public int getTotalCount() {
        return totalCount;
    }

    /**
     * Sets the totalCount
     * @param totalCount The totalCount to set
     */
    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    /**
     * Gets the currentCount
     * @return Returns a int
     */
    public int getCurrentCount() {
        return currentCount;
    }

    /**
     * Sets the currentCount
     * @param currentCount The currentCount to set
     */
    public void setCurrentCount(int currentCount) {
        this.currentCount = currentCount;
    }

    /**
     * Gets the hasPreview
     * @return Returns a boolean
     */
    public boolean getHasPreview() {
        return hasPreview;
    }

    /**
     * Sets the hasPreview
     * @param hasPreview The hasPreview to set
     */
    public void setHasPreview(boolean hasPreview) {
        this.hasPreview = hasPreview;
    }

    /**
     * Gets the hasNext
     * @return Returns a boolean
     */
    public boolean getHasNext() {
        return hasNext;
    }

    /**
     * Sets the hasNext
     * @param hasNext The hasNext to set
     */
    public void setHasNext(boolean hasNext) {
        this.hasNext = hasNext;
    }

    /**
     * Gets the firstNumber
     * @return Returns a int
     */
    public int getFirstNumber() {
        return firstNumber;
    }

    /**
     * Sets the firstNumber
     * @param firstNumber The firstNumber to set
     */
    public void setFirstNumber(int firstNumber) {
        this.firstNumber = firstNumber;
    }

    /**
     * Gets the lastNumber
     * @return Returns a int
     */
    public int getLastNumber() {
        return lastNumber;
    }

    /**
     * Sets the lastNumber
     * @param lastNumber The lastNumber to set
     */
    public void setLastNumber(int lastNumber) {
        this.lastNumber = lastNumber;
    }

    /**
     * Gets the al
     * @return Returns a ArrayList
     */
    public ArrayList getAl() {
        return al;
    }

    /**
     * Sets the al
     * @param al The al to set
     */
    public void setAl(ArrayList al) {
        this.al = al;
    }

}

⌨️ 快捷键说明

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