?? studentform.java
字號(hào):
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.zhou.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: 03-29-2008
*
* XDoclet definition:
*
* @struts.form name="studentForm"
*/
public class StudentForm extends ActionForm {
/*
* Generated fields
*/
/** specialityid property */
private Integer specialityid;
/** stuname property */
private String stuname;
private String pwd;
/** academyid property */
private Integer academyid;
/** classid property */
private Integer classid;
/*
* 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 specialityid.
*
* @return Integer
*/
public Integer getSpecialityid() {
return specialityid;
}
/**
* Set the specialityid.
*
* @param specialityid
* The specialityid to set
*/
public void setSpecialityid(Integer specialityid) {
this.specialityid = specialityid;
}
/**
* Returns the stuname.
*
* @return String
*/
public String getStuname() {
return stuname;
}
/**
* Set the stuname.
*
* @param stuname
* The stuname to set
*/
public void setStuname(String stuname) {
this.stuname = stuname;
}
/**
* Returns the academyid.
*
* @return Integer
*/
public Integer getAcademyid() {
return academyid;
}
/**
* Set the academyid.
*
* @param academyid
* The academyid to set
*/
public void setAcademyid(Integer academyid) {
this.academyid = academyid;
}
/**
* Returns the classid.
*
* @return Integer
*/
public Integer getClassid() {
return classid;
}
/**
* Set the classid.
*
* @param classid
* The classid to set
*/
public void setClassid(Integer classid) {
this.classid = classid;
}
public String getPwd() {
return pwd;
}
public void setPwd(String pwd) {
this.pwd = pwd;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -