mutableprofilemgrmodel.java

来自「<Java网络程序设计 J2EE>随书源码」· Java 代码 · 共 42 行

JAVA
42
字号
/**/package org.impact.stars.organizationmd.profilemgr.model;import org.impact.stars.organizationmd.profilemgr.model.ExplicitInformation;import org.impact.stars.organizationmd.profilemgr.model.ProfileMgrModel;/** * MutableProfileMgrModel is a class which models personal preferences data * for a particular user with the additional facility to change the data */public class MutableProfileMgrModel extends ProfileMgrModel {    /**     * 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 MutableProfileMgrModel(String userId, ExplicitInformation eInfo) {        super(userId, eInfo);    }    /**     * Sets the string which represents the id of this user.     * @param  the string representing this user id     */    public void setUserId(String id) {        this.userId = id;    }    /**     * Sets the <code>ExplicitInformation</code> structure which contains the     * personal preferences for this user.     * @param  the <code>ExplicitInformation</code> object for this user     */    public void setExplicitInformation(ExplicitInformation ein) {        this.eInfo = ein;    }}

⌨️ 快捷键说明

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