📄 registerform.java
字号:
//Created by MyEclipse Struts
// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.0/xslt/JavaClass.xsl
package com.lqk.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;
/**
* MyEclipse Struts
* Creation date: 06-20-2007
*
* XDoclet definition:
* @struts.form name="registerForm"
*/
public class RegisterForm extends ValidatorForm {
// --------------------------------------------------------- Instance Variables
/**
*
*/
private static final long serialVersionUID = 1L;
/** usermail property */
private String usermail;
/** userpassword property */
private String userpassword;
/** userpassword2 property */
private String userpassword2;
/** username property */
private String username;
// --------------------------------------------------------- Methods
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
this.username=null;
this.userpassword=null;
this.userpassword2= null;
this.usermail=null;
}
/**
* Returns the usermail.
* @return String
*/
public String getUsermail() {
return usermail;
}
/**
* Set the usermail.
* @param usermail The usermail to set
*/
public void setUsermail(String usermail) {
this.usermail = usermail;
}
/**
* Returns the userpassword.
* @return String
*/
public String getUserpassword() {
return userpassword;
}
/**
* Set the userpassword.
* @param userpassword The userpassword to set
*/
public void setUserpassword(String userpassword) {
this.userpassword = userpassword;
}
/**
* Returns the userpassword2.
* @return String
*/
public String getUserpassword2() {
return userpassword2;
}
/**
* Set the userpassword2.
* @param userpassword2 The userpassword2 to set
*/
public void setUserpassword2(String userpassword2) {
this.userpassword2 = userpassword2;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -