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

📄 userprojectinfo.java.svn-base

📁 远程学生作业提交系统,所用技术JSP,Servelet,Ajax,Web Services,MySql
💻 SVN-BASE
字号:
/**
 * This class associates user and project informations
 */
public class UserProjectInfo {
    /**
     * The user's name
     */
    protected String _userName;

     /**
      * The user's login name
      */
    protected String _loginName;

     /**
      * The user's email
      */
    protected String _email;

     /**
      * One of the user's projectId
      */
    protected String _projectId;

     /**
      * The project's name corresponding to the projectId
      */
    protected String _projectName;

    /**
     * Create a new instance of UserProjectInfo
     */
    public UserProjectInfo(String userName, String loginName, String email, String projectId, String projectName) {
        _userName = userName;
        _loginName = loginName;
        _email = email;
        _projectId = projectId;
        _projectName = projectName;
    }

    /**
     * Create a new instance of UserProjectInfo with default values
     */
    public UserProjectInfo() {
        _userName = "";
        _loginName = "";
        _email = "";
        _projectId = "";
        _projectName = "";
    }

    /**
     * Get the user's name
     */
    public String getUserName() {
        return _userName;
    }

    /**
     * Get the user's login name
     */
    public String getLoginName() {
        return _loginName;
    }

    /**
     * Get the user's email
     */
    public String getUserEmail() {
        return _email;
    }

    /**
     * Get the project's identifier
     */
    public String getProjectId() {
        return _projectId;
    }

    /**
     * Get the project's name
     */
    public String getProjectName() {
        return _projectName;
    }

    /**
     * Set the user's name
     */
    public void setUserName(String userName) {
        _userName = userName;
    }

    /**
     * Set the user's login name
     */
    public void getLoginName(String loginName) {
        _loginName = loginName;
    }

    /**
     * Set the user's email
     */
    public void setUserEmail(String email) {
        _email = email;
    }

    /**
     * Set the project's identifier
     */
    public void getProjectId(String projectId) {
        _projectId = projectId;
    }

    /**
     * Set the project's name
     */
    public void getProjectName(String projectName) {
        _projectName = projectName;
    }
}

⌨️ 快捷键说明

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