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

📄 profilemgrmodel.java

📁 《Java网络程序设计.rar》包括三个网络程序的源代码。
💻 JAVA
字号:
/**/package org.impact.stars.organizationmd.profilemgr.model;import org.impact.stars.organizationmd.profilemgr.model.ExplicitInformation;import org.impact.stars.organizationmd.profilemgr.exceptions.ProfileMgrAppException;/** * ProfileMgrModel is a class which models personal preferences data for a * particular user. */public class ProfileMgrModel implements java.io.Serializable {    public String userId;    public ExplicitInformation eInfo;    /**     * Class constructor specifying the user and preference information.     * @param userId    a string which represents the id of this user     * @param eInfo     an <code>ExplicitInformation</code> structure     *                  containing the personal preferences of this user     */    public ProfileMgrModel(String userId, ExplicitInformation eInfo) {        this.userId = userId;        this.eInfo = eInfo;    }    /**     * Class constructor with no arguments, used by the web tier.     */    public ProfileMgrModel() {}    /**     * Gets the string which represents the id of this user.     * @return  the string representing this user id     */    public String getUserId() {        return userId;    }    /**     * Gets the <code>ExplicitInformation</code> structure which contains the     * personal preferences for this user.     * @return  the <code>ExplicitInformation</code> object for this user     */    public ExplicitInformation getExplicitInformation() {        return eInfo;    }   /**     */    /*   public String getBanner(String favCategory) throws ProfileMgrAppException {       try {            ProfileMgrDAO dao = ProfileMgrDAOFactory.getDAO();            return dao.getBanner(favCategory);        } catch (ProfileMgrDAOSysException se) {            throw new ProfileMgrAppException(se.getMessage());        }    }*/   /**    * Performs a shallow copy of a <code>ProfileMgrModel</code> to another.    * Used only by the web tier.    * @param    other   the <code>ProfileMgrModel</code> to copy to another    */    public void copy(ProfileMgrModel other) {        this.userId = other.userId;        this.eInfo = other.eInfo;    }}

⌨️ 快捷键说明

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