📄 registform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.chaoskz.struts.form;
//import javax.servlet.http.HttpServletRequest;
//import org.apache.struts.action.ActionErrors;
//import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;
/**
* MyEclipse Struts
* Creation date: 01-16-2008
*
* XDoclet definition:
* @struts.form name="registForm"
*/
public class RegistForm extends ValidatorForm {
/*
* Generated fields
*/
/**
*
*/
private static final long serialVersionUID = -4100147013841317582L;
/** sex property */
private String sex;
/** password property */
private String password;
/** realname property */
private String realname;
/** username property */
private String username;
/** email property */
private String email;
/*
* Generated Methods
*/
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
/**
* Returns the sex.
* @return String
*/
public String getSex() {
return sex;
}
/**
* Set the sex.
* @param sex The sex to set
*/
public void setSex(String sex) {
this.sex = sex;
}
/**
* Returns the password.
* @return String
*/
public String getPassword() {
return password;
}
/**
* Set the password.
* @param password The password to set
*/
public void setPassword(String password) {
this.password = password;
}
/**
* Returns the realname.
* @return String
*/
public String getRealname() {
return realname;
}
/**
* Set the realname.
* @param realname The realname to set
*/
public void setRealname(String realname) {
this.realname = realname;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -