📄 insertform.java
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.1/xslt/JavaClass.xslpackage com.xaccp.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: 01-09-2007 * * XDoclet definition: * @struts.form name="insertForm" */public class InsertForm extends ActionForm { /** empId property */ private int empId; /** empLevelId property */ private int empLevelId; /** empPass property */ private String empPass; /** empName property */ private String empName; /** empSex property */ private int empSex; private int[] powerId; /** * 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 empId. * @return int */ public int getEmpId() { return empId; } /** * Set the empId. * @param empId The empId to set */ public void setEmpId(int empId) { this.empId = empId; } /** * Returns the empLevelId. * @return int */ public int getEmpLevelId() { return empLevelId; } /** * Set the empLevelId. * @param empLevelId The empLevelId to set */ public void setEmpLevelId(int empLevelId) { this.empLevelId = empLevelId; } /** * Returns the empPass. * @return String */ public String getEmpPass() { return empPass; } /** * Set the empPass. * @param empPass The empPass to set */ public void setEmpPass(String empPass) { this.empPass = empPass; } /** * Returns the empName. * @return String */ public String getEmpName() { return empName; } /** * Set the empName. * @param empName The empName to set */ public void setEmpName(String empName) { this.empName = empName; } /** * Returns the empSex. * @return int */ public int getEmpSex() { return empSex; } /** * Set the empSex. * @param empSex The empSex to set */ public void setEmpSex(int empSex) { this.empSex = empSex; } public int[] getPowerId() { return powerId; } public void setPowerId(int[] powerId) { this.powerId = powerId; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -