📄 insertform.java
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.8.4/xslt/JavaClass.xslpackage com.sonic.struts.form;import javax.servlet.http.HttpServletRequest;import org.apache.struts.action.ActionErrors;import org.apache.struts.action.ActionMapping;import org.apache.struts.validator.ValidatorForm;/** * MyEclipse Struts * Creation date: 05-03-2005 * * XDoclet definition: * @struts:form name="insertForm" */public class InsertForm extends ValidatorForm { // --------------------------------------------------------- Instance Variables /** phone property */ private String phone; /** address property */ private String address; /** name property */ private String name; // --------------------------------------------------------- Methods /** * Method validate * @param mapping * @param request * @return ActionErrors */ public ActionErrors validator( ActionMapping mapping, HttpServletRequest request) { throw new UnsupportedOperationException( "Generated method 'validate(...)' not implemented."); } /** * Method reset * @param mapping * @param request */ public void reset(ActionMapping mapping, HttpServletRequest request) { this.name=null; this.phone=null; this.address=null; } /** * Returns the phone. * @return String */ public String getPhone() { return phone; } /** * Set the phone. * @param phone The phone to set */ public void setPhone(String phone) { this.phone = phone; } /** * Returns the address. * @return String */ public String getAddress() { return address; } /** * Set the address. * @param address The address to set */ public void setAddress(String address) { this.address = address; } /** * 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; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -