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

📄 conflictevent.java

📁 《Java网络程序设计.rar》包括三个网络程序的源代码。
💻 JAVA
字号:
/* */package org.impact.stars.control.event;import java.util.Collection;import java.io.Serializable;import java.sql.Date;/** * This event is sent from the web tier to the EJB Controller to notify * the EJB Controller that the user wants to change the CONFLICT model * data. */public class ConflictEvent extends StarsEventSupport {    public static final int CREATE_CONFLICT = 0;    public static final int DELETE_CONFLICT = 1;    public static final int UPDATE_CONFLICT = 2;    private int actionType;    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;    private int requestId;    public ConflictEvent() {}    public void setInfo(int aactiontype, int requestId,String aconflictID, String adescription,         Date adetecttime, String aname, String apstakeholder,         Date aresolvetime, String ascale, String astatus,         String astrategy, String atype) {                    this.actionType = aactiontype;        this.requestId = requestId;                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;         }    public int getActionType() {        return actionType;    }    public int getRequestId() {        return requestId;    }    public String getEventName() {        return "java:comp/env/event/CONFLICTEvent";    }            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;    }        }

⌨️ 快捷键说明

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