userform.java

来自「《JSP网站开发典型模块与实例精讲》一书光盘源码」· Java 代码 · 共 175 行

JAVA
175
字号
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.0/xslt/JavaClass.xslpackage book.example.photoprint.form;import org.apache.struts.validator.ValidatorForm;/**  * MyEclipse Struts * Creation date: 12-12-2005 *  * XDoclet definition: * @struts.form name="userForm" */public class UserForm extends ValidatorForm {	// --------------------------------------------------------- Instance Variables	/** cellphoto property */	private String cellphoto;	/** passwd property */	private String passwd;	/** address property */	private String address;	/** username property */	private String username;	/** email property */	private String email;	/** tel property */	private String tel;	/** name property */	private String name;	/** id property */	private String id;	// --------------------------------------------------------- Methods	/** 	 * Returns the cellphoto.	 * @return String	 */	public String getCellphoto() {		return cellphoto;	}	/** 	 * Set the cellphoto.	 * @param cellphoto The cellphoto to set	 */	public void setCellphoto(String cellphoto) {		this.cellphoto = cellphoto;	}	/** 	 * Returns the passwd.	 * @return String	 */	public String getPasswd() {		return passwd;	}	/** 	 * Set the passwd.	 * @param passwd The passwd to set	 */	public void setPasswd(String passwd) {		this.passwd = passwd;	}	/** 	 * Returns the address.	 * @return String	 */	public String getAddress() {		return address;	}	/** 	 * Set the address.	 * @param address The address to set	 */	public void setAddress(String address) {		this.address = address;	}	/** 	 * Returns the username.	 * @return String	 */	public String getUsername() {		return username;	}	/** 	 * Set the username.	 * @param username The username to set	 */	public void setUsername(String username) {		this.username = username;	}	/** 	 * Returns the email.	 * @return String	 */	public String getEmail() {		return email;	}	/** 	 * Set the email.	 * @param email The email to set	 */	public void setEmail(String email) {		this.email = email;	}	/** 	 * Returns the tel.	 * @return String	 */	public String getTel() {		return tel;	}	/** 	 * Set the tel.	 * @param tel The tel to set	 */	public void setTel(String tel) {		this.tel = tel;	}	/** 	 * Returns the name.	 * @return String	 */	public String getName() {		return name;	}	/** 	 * Set the name.	 * @param name The name to set	 */	public void setName(String name) {		this.name = name;	}	/** 	 * Returns the id.	 * @return String	 */	public String getId() {		return id;	}	/** 	 * Set the id.	 * @param id The id to set	 */	public void setId(String id) {		this.id = id;	}}

⌨️ 快捷键说明

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