tomcat最新安装程序

源代码在线查看: userbean.java

软件大小: 24022 K
上传用户: xxjjyy1237
关键词: tomcat 安装程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				package addressbook.model;
				
				import java.io.Serializable;
				import java.util.Enumeration;
				import java.util.Hashtable;
				
				/**
				 * UserBean 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());
				
				    }
				}
							

相关资源