📄 employeeform.java
字号:
package org.appfuse.webapp.form;import javax.servlet.http.HttpServletRequest;import org.apache.struts.action.ActionMapping;import org.appfuse.webapp.form.BaseForm;/** * Generated by XDoclet/actionform. This class can be further processed with XDoclet/webdoclet/strutsconfigxml and XDoclet/webdoclet/strutsvalidationxml. * * @struts.form name="employeeForm" */public class EmployeeForm extends BaseForm implements java.io.Serializable{ protected String id; protected String code; protected String dept; protected String name; protected String status; protected String telephone; protected String title; /** Default empty constructor. */ public EmployeeForm() {} public String getId() { return this.id; } /** */ public void setId( String id ) { this.id = id; } public String getCode() { return this.code; } /** * @struts.validator type="required" */ public void setCode( String code ) { this.code = code; } public String getDept() { return this.dept; } /** * @struts.validator type="required" */ public void setDept( String dept ) { this.dept = dept; } public String getName() { return this.name; } /** * @struts.validator type="required" */ public void setName( String name ) { this.name = name; } public String getStatus() { return this.status; } /** * @struts.validator type="required" */ public void setStatus( String status ) { this.status = status; } public String getTelephone() { return this.telephone; } /** * @struts.validator type="required" */ public void setTelephone( String telephone ) { this.telephone = telephone; } public String getTitle() { return this.title; } /** * @struts.validator type="required" */ public void setTitle( String title ) { this.title = title; } /* To add non XDoclet-generated methods, create a file named xdoclet-EmployeeForm.java containing the additional code and place it in your metadata/web directory. */ /** * @see org.apache.struts.action.ActionForm#reset(org.apache.struts.action.ActionMapping, * javax.servlet.http.HttpServletRequest) */ public void reset(ActionMapping mapping, HttpServletRequest request) { // reset any boolean data types to false }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -