sztzcanzhao.java

来自「JSP开发的学生信息管理系统」· Java 代码 · 共 58 行

JAVA
58
字号
package suzhiTuoZhan;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;

public class SztzCanZhao implements Serializable {
    private String referItemId;
    private String sortId;
    private String itemName;
    private String xuefenScore;
    private String itemContent;

    public String getReferItemId() {
        return referItemId;
    }

    public String getSortId() {
        return sortId;
    }

    public String getItemName() {
        return itemName;
    }

    public String getXuefenScore() {
        return xuefenScore;
    }

    public String getItemContent() {
        return itemContent;
    }

//set方法

    public void setReferItemId(String referItemId) {
        this.referItemId = referItemId.trim();
    }

    public void setSortId(String sortId) {
        this.sortId = sortId;
    }

    public void setItemName(String itemName) throws
            UnsupportedEncodingException {
        this.itemName = new String(itemName.getBytes("iso-8859-1")).trim();
    }

    public void setXuefenScore(String xuefenScore) throws
            UnsupportedEncodingException {
        this.xuefenScore = new String(xuefenScore.getBytes("iso-8859-1")).trim();
    }

    public void setItemContent(String itemContent) throws
            UnsupportedEncodingException {
        this.itemContent = new String(itemContent.getBytes("iso-8859-1")).trim();
    }
}

⌨️ 快捷键说明

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