📄 userform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.nitpro.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
* 进行用户添加、编辑、删除时提供的Form
* @author 邓锦溏
* @version 1.0
* 時間: 04-18-2008
* @struts.form name="userForm"
*/
public class UserForm extends ActionForm {
/*
* Generated fields
*/
/**
*
*/
private static final long serialVersionUID = 2538470571293274090L;
/** useremali property */
private String useremail;
/** userid property */
private Integer userid;
/** usersex property */
private String usersex;
/** realname property */
private String realname;
/** username property */
private String username;
/** userpwd property */
private String userpwd;
/** userage property */
private Integer userage;
/** userpwd2 property */
private String userpwd2;
/*
* Generated Methods
*/
/**
* 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 useremali.
* @return String
*/
public String getUseremail() {
return useremail;
}
/**
* Set the useremail.
* @param useremail The useremali to set
*/
public void setUseremail(String useremail) {
this.useremail = useremail;
}
/**
* Returns the userid.
* @return Integer
*/
public Integer getUserid() {
return userid;
}
/**
* Set the userid.
* @param userid The userid to set
*/
public void setUserid(Integer userid) {
this.userid = userid;
}
/**
* Returns the usersex.
* @return String
*/
public String getUsersex() {
return usersex;
}
/**
* Set the usersex.
* @param usersex The usersex to set
*/
public void setUsersex(String usersex) {
this.usersex = usersex;
}
/**
* 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 userpwd.
* @return String
*/
public String getUserpwd() {
return userpwd;
}
/**
* Set the userpwd.
* @param userpwd The userpwd to set
*/
public void setUserpwd(String userpwd) {
this.userpwd = userpwd;
}
/**
* Returns the userage.
* @return Integer
*/
public Integer getUserage() {
return userage;
}
/**
* Set the userage.
* @param userage The userage to set
*/
public void setUserage(Integer userage) {
this.userage = userage;
}
/**
* Returns the userpwd2.
* @return String
*/
public String getUserpwd2() {
return userpwd2;
}
/**
* Set the userpwd2.
* @param userpwd2 The userpwd2 to set
*/
public void setUserpwd2(String userpwd2) {
this.userpwd2 = userpwd2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -