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

📄 conflictmodel.java

📁 《Java网络程序设计.rar》包括三个网络程序的源代码。
💻 JAVA
字号:
/* */package org.impact.stars.conflictmd.conflict.model;import java.sql.Date;/** * This class provides methods to view and modify concept * information for a particular concept. */public class ConflictModel implements java.io.Serializable {    private String conflictID;    protected String description;    private Date detecttime;    private String name;    private String pstakeholder;    private Date resolvetime;    private String scale;    private String status;    private String strategy;    private String type;    public ConflictModel(String aconflictID, String adescription,         Date adetecttime, String aname, String apstakeholder,         Date aresolvetime, String ascale, String astatus,         String astrategy, String atype) {            this.conflictID = aconflictID;        this.description = adescription;        this.detecttime = adetecttime;        this.name = aname;        this.pstakeholder = apstakeholder;        this.resolvetime = aresolvetime;        this.scale = ascale;        this.status = astatus;        this.strategy = astrategy;        this.type = atype;    }    /**     * Class constructor with no arguments, used by the web tier.     */    public ConflictModel() {}    // get and set methods for the instance variables    public String getConflictID()    {        return conflictID;    }        public  String getName()    {        return name;    }        public Date getDetectTime()    {        return detecttime;    }        public Date getResolveTime()    {        return resolvetime;    }        public String getScale()    {        return scale;    }        public String getType()    {        return type;    }       public String getStatus()    {        return status;    }                public String getPStakeholder()    {        return pstakeholder;    }            public String getStrategy()    {        return strategy;    }            public String getDescription()    {        return description;    }/*    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(ConflictModel other) {        this.conflictID = other.conflictID;        this.description = other.description;        this.detecttime = other.detecttime;        this.name = other.name;        this.pstakeholder = other.pstakeholder;        this.resolvetime = other.resolvetime;        this.scale = other.scale;        this.type = other.type;        this.status = other.status;        this.strategy = other.strategy;    }}

⌨️ 快捷键说明

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