/*
* Created on 2006-1-15
*
*/
package me.heli.hrs.actionform;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import me.heli.hrs.entity.Job;
import me.heli.hrs.util.DateUtil;
/**
* @author HeLi
*
*/
public class JobForm extends ActionForm {
/** identifier field */
private Long id;
/** nullable persistent field */
private String name;
/** nullable persistent field */
private Byte sex;
/** nullable persistent field */
private Integer age;
/** nullable persistent field */
private String job;
/** nullable persistent field */
private String specialty;
/** nullable persistent field */
private String experience;
/** nullable persistent field */
private String studyeffort;
/** nullable persistent field */
private String school;
/** nullable persistent field */
private String tel;
/** nullable persistent field */
private String content;
/** nullable persistent field */
private Byte isstock;
private String createtime;
private String email;
/**
* @return Returns the email.
*/
public String getEmail() {
return email;
}
/**
* @param email The email to set.
*/
public void setEmail(String email) {
this.email = email;
}
/** full constructor */
public void reset(ActionMapping arg0, HttpServletRequest arg1) {
this.id=null;
this.name = null;
this.sex = null;
this.age = null;
this.job = null;
this.specialty = null;
this.experience = null;
this.studyeffort = null;
this.school = null;
this.tel = null;
this.createtime=null;
this.email=null;
this.content = null;
this.isstock = null;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Byte getSex() {
return this.sex;
}
public void setSex(Byte sex) {
this.sex = sex;
}
public Integer getAge() {
return this.age;
}
public void setAge(Integer age) {
this.age = age;
}
public String getJob() {
return this.job;
}
public void setJob(String job) {
this.job = job;
}
public String getSpecialty() {
return this.specialty;
}
public void setSpecialty(String specialty) {
this.specialty = specialty;
}
public String getExperience() {
return this.experience;
}
public void setExperience(String experience) {
this.experience = experience;
}
public String getStudyeffort() {
return this.studyeffort;
}
public void setStudyeffort(String studyeffort) {
this.studyeffort = studyeffort;
}
public String getSchool() {
return this.school;
}
public void setSchool(String school) {
this.school = school;
}
public String getTel() {
return this.tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Byte getIsstock() {
return this.isstock;
}
public void setIsstock(Byte isstock) {
this.isstock = isstock;
}
public String toString() {
StringBuffer toStr = new StringBuffer();
toStr.append("[JobForm] = [\n");
toStr.append(" id = " + this.id + ";\n");
toStr.append(" name = " + this.name + ";\n");
toStr.append(" sex = " + this.sex + ";\n");
toStr.append(" age = " + this.age + ";\n");
toStr.append(" job = " + this.job + ";\n");
toStr.append(" specialty = " + this.specialty + ";\n");
toStr.append(" experience = " + this.experience + ";\n");
toStr.append(" studyeffort = " + this.studyeffort + ";\n");
toStr.append(" school = " + this.school + ";\n");
toStr.append(" tel = " + this.tel + ";\n");
toStr.append(" createtime = " + this.createtime+ ";\n");
toStr.append(" email= " + this.email+ ";\n");
toStr.append(" content = " + this.content+ ";\n");
toStr.append(" isstock = " + this.isstock + ";\n");
toStr.append(" ];\n");
return toStr.toString();
}
public ActionErrors validate(ActionMapping arg0, HttpServletRequest arg1) {
return null;
}
public Job populate(){
Job j=new Job();
j.setAge(this.getAge());
j.setContent(this.getContent());
j.setCreatetime(DateUtil.parseToDate(this.getCreatetime(),DateUtil.yyyyMMddHHmmss));
j.setExperience(this.getExperience());
j.setId(this.getId());
j.setIsstock(this.getIsstock());
j.setJob(this.getJob());
j.setName(this.getName());
j.setSchool(this.getSchool());
j.setSex(this.getSex());
j.setSpecialty(this.getSpecialty());
j.setStudyeffort(this.getStudyeffort());
j.setTel(this.getTel());
j.setEmail(this.getEmail());
return j;
}
/**
* @return Returns the createtime.
*/
public String getCreatetime() {
return createtime;
}
/**
* @param createtime The createtime to set.
*/
public void setCreatetime(String createtime) {
this.createtime = createtime;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Java Web 人力资源系统源码 (121个子文件)
JobForm.class 6KB
EducateForm.class 5KB
Job.class 5KB
StipendForm.class 5KB
Educate.class 4KB
UsersAction.class 4KB
UsersForm.class 4KB
Stipend.class 4KB
EducateAction.class 4KB
JobAction.class 4KB
UsersDao.class 4KB
StipendAction.class 4KB
JobDao.class 3KB
StipendDao.class 3KB
EducateDao.class 3KB
Users.class 3KB
DateUtil.class 2KB
ActionServlet.class 2KB
HibSessionFactory.class 1KB
StringUtil.class 525B
.classpath 841B
org.eclipse.wst.common.component 464B
org.eclipse.wst.jsdt.ui.superType.container 49B
css.css 3KB
Entries 163B
main.gif 82KB
manage.gif 44KB
login.gif 24KB
top.gif 19KB
main1.gif 4KB
m_01.gif 3KB
m_02.gif 1KB
m_08.gif 662B
m_03.gif 508B
m_04.gif 85B
hibernate3.jar 1.85MB
hibernate2.jar 890KB
mysql-connector-java-5.1.28.jar 855KB
struts.jar 514KB
dom4j-1.4.jar 475KB
antlr.jar 379KB
log4j-1.2.8.jar 344KB
cglib-2.0-rc2.jar 282KB
commons-collections.jar 171KB
commons-collections-2.1.jar 161KB
commons-beanutils.jar 116KB
commons-digester.jar 107KB
commons-validator.jar 82KB
jakarta-oro.jar 64KB
ehcache-0.6.jar 41KB
commons-logging.jar 37KB
commons-logging-1.0.3.jar 31KB
commons-fileupload.jar 22KB
odmg-3.0.jar 13KB
jta.jar 9KB
JobForm.java 6KB
EducateForm.java 5KB
UsersAction.java 5KB
Job.java 5KB
StipendForm.java 5KB
UsersForm.java 5KB
EducateAction.java 4KB
UsersDao.java 4KB
Educate.java 4KB
JobAction.java 4KB
StipendAction.java 4KB
Stipend.java 4KB
StipendDao.java 3KB
EducateDao.java 3KB
JobDao.java 3KB
Users.java 3KB
DateUtil.java 2KB
HibSessionFactory.java 1KB
ActionServlet.java 1KB
StringUtil.java 264B
js.js 7KB
.jsdtscope 567B
updateeducate.jsp 4KB
updatejob.jsp 4KB
manage.jsp 3KB
updatestipend.jsp 3KB
updateuser.jsp 3KB
detaileducate.jsp 3KB
addjob.jsp 3KB
detailjob.jsp 3KB
liststipend.jsp 3KB
listeducate.jsp 2KB
addstipend.jsp 2KB
adduser.jsp 2KB
listuser.jsp 2KB
listjob.jsp 2KB
addeducate.jsp 2KB
failed.jsp 2KB
welcome.jsp 1KB
main.jsp 607B
error.jsp 504B
top.jsp 378B
index.jsp 108B
MANIFEST.MF 39B
org.eclipse.wst.jsdt.ui.superType.name 6B
共 121 条
- 1
- 2
资源评论
- tongor2017-11-06谢谢分享,非常不错!!!
- 加旋仔2016-01-28就是没有再加Spring集合
- faithwind2018-04-08谢谢分享,非常不错
antiapple
- 粉丝: 11
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功