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

📄 nodeentity.java

📁 Javachaxun这是一个成绩查询系统
💻 JAVA
字号:
/*
 * NodeEntity.java
 *
 * Created on 2007年5月23日, 下午4:00
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package cn.vearn;

/**
 *
 * @author Administrator
 */
public class NodeEntity {
    
    /** Creates a new instance of NodeEntity */
    public NodeEntity() {
        super();
        nodeId = "";
        nodeName = "";
        course = false;
        
        chinese = 0;
        maths = 0;
        physics = 0;
        economics = 0;
        english = 0;
    }
    
    /**
     * 注意一定要重载Object类的toString方法,否则节点名称按java对象格式显示
     * @return  this object as a string
     */
    public String toString() {
        return nodeName;
    }
    
    public int getChinese() {
        return chinese;
    }
    
    public void setChinese(int chinese) {
        this.chinese = chinese;
    }
    
    public boolean isCourse() {
        return course;
    }
    
    public void setCourse(boolean course) {
        this.course = course;
    }
    
    public int getEconomics() {
        return economics;
    }
    
    public void setEconomics(int economics) {
        this.economics = economics;
    }
    
    public int getEnglish() {
        return english;
    }
    
    public void setEnglish(int english) {
        this.english = english;
    }
    
    public int getMaths() {
        return maths;
    }
    
    public void setMaths(int maths) {
        this.maths = maths;
    }
    
    public String getNodeId() {
        return nodeId;
    }
    
    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }
    
    public String getNodeName() {
        return nodeName;
    }
    
    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }
    
    public int getPhysics() {
        return physics;
    }
    
    public void setPhysics(int physics) {
        this.physics = physics;
    }
    
    private String nodeId;  // 结点ID
    private String nodeName;  // 结点名称
    private boolean course;  // 该节点是否在JXTreeTable显示各科目成绩
    
    private int chinese;  // 国文成绩
    private int maths;  // 数学成绩
    private int physics;  // 物理成绩
    private int economics;  // 经济成绩
    private int english;  // 英文成绩

}

⌨️ 快捷键说明

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