📄 empupdateform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.yiboit.hhs.form;
import java.sql.SQLException;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.sql.DataSource;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;
import com.yiboit.hhs.DeptBean;
import com.yiboit.hhs.daos.DeptListDAO;
/**
* MyEclipse Struts Creation date: 06-13-2008
*
* XDoclet definition:
*
* @struts.form name="empUpdateForm"
*/
public class EmpUpdateForm extends ValidatorForm {
private int empId;
/** empName property */
private String empName;
/** deptId property */
private String deptId;
/** empSex property */
private String empSex;
/** salary property */
private String salary;
/*
* Generated Methods
*/
/**
* Method reset
*
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
}
/**
* 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;
}
/**
* Returns the deptId.
*
* @return String
*/
public String getDeptId() {
return deptId;
}
/**
* Set the deptId.
*
* @param deptId
* The deptId to set
*/
public void setDeptId(String deptId) {
this.deptId = deptId;
}
/**
* Returns the empSex.
*
* @return String
*/
public String getEmpSex() {
return empSex;
}
/**
* Set the empSex.
*
* @param empSex
* The empSex to set
*/
public void setEmpSex(String empSex) {
this.empSex = empSex;
}
/**
* Returns the salary.
*
* @return String
*/
public String getSalary() {
return salary;
}
/**
* Set the salary.
*
* @param salary
* The salary to set
*/
public void setSalary(String salary) {
this.salary = salary;
}
public int getEmpId() {
return empId;
}
public void setEmpId(int empId) {
this.empId = empId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -