📄 deptaddform.java
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.1.1/xslt/JavaClass.xslpackage com.my.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: 08-03-2006 * * XDoclet definition: * * @struts.form name="deptaddForm" */public class DeptaddForm extends ActionForm { // --------------------------------------------------------- Instance // Variables /** deptname property */ private String deptname; /** deptdescription property */ private String deptdescription; // --------------------------------------------------------- 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 deptname. * * @return String */ public String getDeptname() { return deptname; } /** * Set the deptname. * * @param deptname * The deptname to set */ public void setDeptname(String deptname) { this.deptname = deptname; } /** * Returns the deptdescription. * * @return String */ public String getDeptdescription() { return deptdescription; } /** * Set the deptdescription. * * @param deptdescription * The deptdescription to set */ public void setDeptdescription(String deptdescription) { this.deptdescription = deptdescription; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -