📄 registerform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.user.struts.form;
import org.apache.struts.upload.FormFile;
import org.apache.struts.validator.ValidatorForm;
/**
* MyEclipse Struts
* Creation date: 08-08-2007
*
* XDoclet definition:
* @struts.form name="RegisterForm"
*/
public class RegisterForm extends ValidatorForm {
/*
* Generated fields
*/
/** password property */
private String password;
/** userName property */
private String userName;
/** password2 property */
private String password2;
/** email property */
private String email;
/** addr property */
private String addr;
/** photo property */
private FormFile photo;
/*
* Generated Methods
*/
/**
* 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 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 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 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 addr.
* @return String
*/
public String getAddr() {
return addr;
}
/**
* Set the addr.
* @param addr The addr to set
*/
public void setAddr(String addr) {
this.addr = addr;
}
/**
* Returns the photo.
* @return String
*/
public FormFile getPhoto() {
return photo;
}
/**
* Set the photo.
* @param photo The photo to set
*/
public void setPhoto(FormFile photo) {
this.photo = photo;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -