📄 studentregform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package web.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: 01-15-2008
*
* XDoclet definition:
* @struts.form name="studentRegForm"
*/
public class StudentRegForm extends ActionForm
{
/*
* Generated fields
*/
/** sex property */
private String sex;
/** password property */
private String password_;
/** college property */
private String college;
/** studentid property */
private String studentid;
/** tel property */
private String tel;
/** name property */
private String name;
/** repassword property */
private String repassword;
/** birthday property */
private String birthday;
/*
* 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 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
*/
/**
* Returns the college.
* @return String
*/
public String getCollege()
{
return college;
}
/**
* Set the college.
* @param college The college to set
*/
public void setCollege(String college)
{
this.college = college;
}
/**
* Returns the studentid.
* @return String
*/
public String getStudentid()
{
return studentid;
}
/**
* Set the studentid.
* @param studentid The studentid to set
*/
public void setStudentid(String studentid)
{
this.studentid = studentid;
}
/**
* Returns the tel.
* @return String
*/
public String getTel()
{
return tel;
}
/**
* Set the tel.
* @param tel The tel to set
*/
public void setTel(String tel)
{
this.tel = tel;
}
/**
* 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;
}
/**
* Returns the repassword.
* @return String
*/
public String getRepassword()
{
return repassword;
}
/**
* Set the repassword.
* @param repassword The repassword to set
*/
public void setRepassword(String repassword)
{
this.repassword = repassword;
}
/**
* Returns the birthday.
* @return String
*/
public String getBirthday()
{
return birthday;
}
/**
* Set the birthday.
* @param birthday The birthday to set
*/
public void setBirthday(String birthday)
{
this.birthday = birthday;
}
public String getPassword_()
{
return password_;
}
public void setPassword_(String password_)
{
this.password_ = password_;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -