responseevent.java

来自「以前做的一个j2ee的项目」· Java 代码 · 共 53 行

JAVA
53
字号
package gov.gdlt.ssgly.taxcore.comm.event;

import sun.jdbc.rowset.CachedRowSet;

/**
 * 用来封装后台传回客户端的处理结果,实际上是一个JavaBean.
 * <p>Title: RequestEvent</p>
 * <p>Description: 税收管理员系统</p>
 * <p>Copyright: Copyright (c) 2005 广州市地方税务局</p>
 * <p>Company: 信息中心</p>
 * since 2005.08.08.
 */

public class ResponseEvent implements java.io.Serializable {

    protected CachedRowSet rowSetDataList;
    protected boolean isRowSet;
    protected String reponseCode = "0";

    public ResponseEvent() {
    }

    public CachedRowSet getRowSetDataList() {
        if (!this.getIsRowSet()) {
            this.rowSetDataList = null;
        }
        return rowSetDataList;
    }

    public void setRowSetDataList(CachedRowSet rowSetDataList) {
        this.rowSetDataList = rowSetDataList;
    }

    public String getRepCode() {
        return reponseCode;
    }

    public void setRepCode(String reponseCode) {
        this.reponseCode = reponseCode;
    }

    public boolean getIsRowSet() {
        return isRowSet;
    }

    public void setIsRowSet(boolean isRowSet) {
        this.isRowSet = isRowSet;
        if (this.isRowSet == false) {
            this.rowSetDataList = null;
        }
    }
}

⌨️ 快捷键说明

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