📄 registerform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.mole.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: 10-30-2007
*
* XDoclet definition:
*
* @struts.form name="registerForm"
*/
public class RegisterForm extends ValidatorForm {
/*
* Generated fields
*/
/** gender property */
private String gender;
/** password property */
private String password;
/** password2 property */
private String password2;
/** cardID property */
private String cardID;
/** loginName property */
private String loginName;
/** cellphone property */
private String cellphone;
/** address property */
private String address;
/** telephone property */
private String telephone;
/** email property */
private String email;
/** name property */
private String name;
/** company property */
private String company;
/*
* Generated Methods
*/
/**
* Method validate
*
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validator(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
*
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
this.cardID = null;
this.loginName = null;
this.password = null;
this.password2 = null;
this.name = null;
this.gender = null;
this.email = null;
this.telephone = null;
this.cellphone = null;
this.address = null;
this.cellphone = null;
}
/**
* Returns the gender.
*
* @return String
*/
public String getGender() {
return gender;
}
/**
* Set the gender.
*
* @param gender
* The gender to set
*/
public void setGender(String gender) {
this.gender = gender;
}
/**
* 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 password2.
*
* @return String
*/
public String getPassword2() {
return password2;
}
/**
* Set the password2.
*
* @param password2
* The password2 to set
*/
public void setPassword2(String password2) {
this.password2 = password2;
}
/**
* Returns the cardID.
*
* @return String
*/
public String getCardID() {
return cardID;
}
/**
* Set the cardID.
*
* @param cardID
* The cardID to set
*/
public void setCardID(String id) {
this.cardID = id;
}
/**
* Returns the loginName.
*
* @return String
*/
public String getLoginName() {
return loginName;
}
/**
* Set the loginName.
*
* @param loginName
* The loginName to set
*/
public void setLoginName(String loginName) {
this.loginName = loginName;
}
/**
* Returns the cellphone.
*
* @return String
*/
public String getCellphone() {
return cellphone;
}
/**
* Set the cellphone.
*
* @param cellphone
* The cellphone to set
*/
public void setCellphone(String cellphone) {
this.cellphone = cellphone;
}
/**
* 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 telephone.
*
* @return String
*/
public String getTelephone() {
return telephone;
}
/**
* Set the telephone.
*
* @param telephone
* The telephone to set
*/
public void setTelephone(String telephone) {
this.telephone = telephone;
}
/**
* 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 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;
}
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -