?? userform.java
字號:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.wish.bbs.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts
* Creation date: 04-07-2008
*
* XDoclet definition:
* @struts.form name="userForm"
*/
public class UserForm extends ActionForm {
/*
* Generated fields
*/
/** phone property */
private String phone;
/** sex property */
private String sex;
/** description property */
private String description;
/** username property */
private String username;
/** email property */
private String email;
/** birth_m property */
private String birth_m;
/** birth_y property */
private String birth_y;
/** repwd property */
private String repwd;
/** pwd property */
private String pwd;
private String nickname;
/*
* Generated Methods
*/
public String getNickname() {
return nickname;
}
public void setNickname(String nickname) {
this.nickname = nickname;
}
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
}
/**
* Returns the phone.
* @return String
*/
public String getPhone() {
return phone;
}
/**
* Set the phone.
* @param phone The phone to set
*/
public void setPhone(String phone) {
this.phone = phone;
}
/**
* 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 description.
* @return String
*/
public String getDescription() {
return description;
}
/**
* Set the description.
* @param description The description to set
*/
public void setDescription(String description) {
this.description = description;
}
/**
* 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 birth_m.
* @return String
*/
public String getBirth_m() {
return birth_m;
}
/**
* Set the birth_m.
* @param birth_m The birth_m to set
*/
public void setBirth_m(String birth_m) {
this.birth_m = birth_m;
}
/**
* Returns the birth_y.
* @return String
*/
public String getBirth_y() {
return birth_y;
}
/**
* Set the birth_y.
* @param birth_y The birth_y to set
*/
public void setBirth_y(String birth_y) {
this.birth_y = birth_y;
}
/**
* Returns the repwd.
* @return String
*/
public String getRepwd() {
return repwd;
}
/**
* Set the repwd.
* @param repwd The repwd to set
*/
public void setRepwd(String repwd) {
this.repwd = repwd;
}
/**
* Returns the pwd.
* @return String
*/
public String getPwd() {
return pwd;
}
/**
* Set the pwd.
* @param pwd The pwd to set
*/
public void setPwd(String pwd) {
this.pwd = pwd;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -