📄 addempform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.xsofa.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: 04-24-2009
*
* XDoclet definition:
* @struts.form name="addEmpForm"
*/
public class AddEmpForm extends ActionForm {
/*
* Generated fields
*/
/** employeeName property */
private String employeeName;
/** employeePass property */
private String employeePass;
/** duty property */
private String duty;
/*
* 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 employeeName.
* @return String
*/
public String getEmployeeName() {
return employeeName;
}
/**
* Set the employeeName.
* @param employeeName The employeeName to set
*/
public void setEmployeeName(String employeeName) {
this.employeeName = employeeName;
}
/**
* Returns the employeePass.
* @return String
*/
public String getEmployeePass() {
return employeePass;
}
/**
* Set the employeePass.
* @param employeePass The employeePass to set
*/
public void setEmployeePass(String employeePass) {
this.employeePass = employeePass;
}
/**
* Returns the duty.
* @return String
*/
public String getDuty() {
return duty;
}
/**
* Set the duty.
* @param duty The duty to set
*/
public void setDuty(String duty) {
this.duty = duty;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -