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

📄 userbean.java

📁 java登陆,帐号以及密码的操作 <strong>UserBean</strong> will hold all of the information * regardi
💻 JAVA
字号:
package dbproject.model;

import java.io.Serializable;
import java.util.Enumeration;
import java.util.Hashtable;

/**
 * <strong>UserBean</strong> will hold all of the information
 * regarding a specific user of the AddressBook application.
 */
public final class UserBean implements Serializable {


    private String password = null;
    private String userName = null;
   // Getter/Setter methods for all defined properties

    public String getPassword() {

        return (password);

    }
   public String getUserName() {

        return (userName);

    }
    public void setPassword(String password) {

        this.password = password;

    }
    public void setUserName(String userName) {

        this.userName = userName;

    }

    public String toString() {

        StringBuffer sb = new StringBuffer("User[username=" + userName + "]");
        return (sb.toString());

    }
}

⌨️ 快捷键说明

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