📄 userform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.bank.struts.form;
import java.sql.Date;
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: 03-12-2008
*
* XDoclet definition:
* @struts.form name="userForm"
*/
public class UserForm extends ActionForm {
/*
* Generated fields
*/
/** empDepartment property */
private String empDepartment;
/** empGender property */
private String empGender;
/** empJobName property */
private String empJobName;
/** empPassword property */
private String empPassword;
/** empIds property */
private String empIds;
/** empId property */
private int empId;
/** empBirthday property */
private Date empBirthday;
/** empName property */
private String empName;
private String code;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
/*
* 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 empDepartment.
* @return String
*/
public String getEmpDepartment() {
return empDepartment;
}
/**
* Set the empDepartment.
* @param empDepartment The empDepartment to set
*/
public void setEmpDepartment(String empDepartment) {
this.empDepartment = empDepartment;
}
/**
* Returns the empGender.
* @return String
*/
public String getEmpGender() {
return empGender;
}
/**
* Set the empGender.
* @param empGender The empGender to set
*/
public void setEmpGender(String empGender) {
this.empGender = empGender;
}
/**
* Returns the empJobName.
* @return String
*/
public String getEmpJobName() {
return empJobName;
}
/**
* Set the empJobName.
* @param empJobName The empJobName to set
*/
public void setEmpJobName(String empJobName) {
this.empJobName = empJobName;
}
/**
* Returns the empPassword.
* @return String
*/
public String getEmpPassword() {
return empPassword;
}
/**
* Set the empPassword.
* @param empPassword The empPassword to set
*/
public void setEmpPassword(String empPassword) {
this.empPassword = empPassword;
}
/**
* Returns the empIds.
* @return String
*/
public String getEmpIds() {
return empIds;
}
/**
* Set the empIds.
* @param empIds The empIds to set
*/
public void setEmpIds(String empIds) {
this.empIds = empIds;
}
/**
* 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 empBirthday.
* @return String
*/
public Date getEmpBirthday() {
return empBirthday;
}
/**
* Set the empBirthday.
* @param empBirthday The empBirthday to set
*/
public void setEmpBirthday(Date empBirthday) {
this.empBirthday = empBirthday;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -