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

📄 conceptmodel.java

📁 《Java网络程序设计.rar》包括三个网络程序的源代码。
💻 JAVA
字号:
/* */package org.impact.stars.conceptmd.concept.model;import java.sql.Date;/** * This class provides methods to view and modify concept * information for a particular concept. */public class ConceptModel implements java.io.Serializable {    //private String cstrID;    protected String conceptID;    private String name;    private String parentID;    private String type;    private String pstakeholder;    private String shared;    private Date proposetime;    private String definition;    private String description;    public ConceptModel(String aconceptID, String aname, String aparentID, String atype, String apstakeholder, String ashared, Date aproposetime, String adefinition, String adescription) {            //this.cstrID = acstrID;        this.conceptID = aconceptID;        this.name = aname;        this.parentID = aparentID;        this.type = atype;        this.pstakeholder = apstakeholder;        this.shared = ashared;        this.proposetime = aproposetime;        this.definition = adefinition;        this.description = adescription;    }    /**     * Class constructor with no arguments, used by the web tier.     */    public ConceptModel() {}    // get and set methods for the instance variables    public String getConceptID() {        return conceptID;    }        public void setConceptID(String acid) {        this.conceptID = acid;    }    /*    public String getCstrID() {        return cstrID;    }    */    public String getDefinition() {        return definition;    }        public String getDescription() {        return description;    }    public String getName() {        return name;    }        public String getParentID() {        return parentID;    }        public void setParentID(String apid) {        this.parentID = apid;    }    public Date getProposetime() {        return proposetime;    }        public String getPstakeholder() {        return pstakeholder;    }        public String getShared() {        return shared;    }        public String getType() {        return type;    }/*    public String toString() {        String ret = null;        ret = "userId = " + userId + "\n";        ret += "status = " + status + "\n";        ret += "contact info = " + info.toString() + "\n";        return ret;    }*/    /** shallow copy */    public void copy(ConceptModel other) {        //this.cstrID = other.cstrID;        this.conceptID = other.conceptID;        this.name = other.name;        this.parentID = other.parentID;        this.type = other.type;        this.pstakeholder = other.pstakeholder;        this.shared = other.shared;        this.proposetime = other.proposetime;        this.definition = other.definition;        this.description = other.description;    }}

⌨️ 快捷键说明

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