📄 empform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.struts.form;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
/**
* MyEclipse Struts
* Creation date: 06-07-2008
*
* XDoclet definition:
* @struts.form name="EmpForm"
*/
public class EmpForm extends ActionForm {
/*
* Generated fields
*/
/** sex property */
private String sex;
/** age property */
private String age;
/** popedomid property */
private String[] popedomid;
/** picture property */
private String picture;
/** pass property */
private String pass;
/** resume property */
private String resume;
/** depid property */
private String depid;
/** name property */
private String name;
/** popedoms property */
private Vector popedoms;
/** school property */
private String school;
/** depname property */
private String depname;
/** id property */
private String id;
private FormFile fl;
/*
* 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 sex.
* @return String
*/
public String getSex() {
return sex;
}
/**
* Set the sex.
* @param sex The sex to set
*/
public void setSex(String sex) {
this.sex = sex;
}
/**
* Returns the age.
* @return String
*/
public String getAge() {
return age;
}
/**
* Set the age.
* @param age The age to set
*/
public void setAge(String age) {
this.age = age;
}
/**
* Returns the popedomid.
* @return String[]
*/
public String[] getPopedomid() {
return popedomid;
}
/**
* Set the popedomid.
* @param popedomid The popedomid to set
*/
public void setPopedomid(String[] popedomid) {
this.popedomid = popedomid;
}
/**
* Returns the picture.
* @return String
*/
public String getPicture() {
return picture;
}
/**
* Set the picture.
* @param picture The picture to set
*/
public void setPicture(String picture) {
this.picture = picture;
}
/**
* Returns the pass.
* @return String
*/
public String getPass() {
return pass;
}
/**
* Set the pass.
* @param pass The pass to set
*/
public void setPass(String pass) {
this.pass = pass;
}
/**
* Returns the resume.
* @return String
*/
public String getResume() {
return resume;
}
/**
* Set the resume.
* @param resume The resume to set
*/
public void setResume(String resume) {
this.resume = resume;
}
/**
* Returns the depid.
* @return String
*/
public String getDepid() {
return depid;
}
/**
* Set the depid.
* @param depid The depid to set
*/
public void setDepid(String depid) {
this.depid = depid;
}
/**
* Returns the name.
* @return String
*/
public String getName() {
return name;
}
/**
* Set the name.
* @param name The name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* Returns the popedoms.
* @return Vector
*/
public Vector getPopedoms() {
return popedoms;
}
/**
* Set the popedoms.
* @param popedoms The popedoms to set
*/
public void setPopedoms(Vector popedoms) {
this.popedoms = popedoms;
}
/**
* Returns the school.
* @return String
*/
public String getSchool() {
return school;
}
/**
* Set the school.
* @param school The school to set
*/
public void setSchool(String school) {
this.school = school;
}
/**
* Returns the depname.
* @return String
*/
public String getDepname() {
return depname;
}
/**
* Set the depname.
* @param depname The depname to set
*/
public void setDepname(String depname) {
this.depname = depname;
}
/**
* Returns the id.
* @return String
*/
public String getId() {
return id;
}
/**
* Set the id.
* @param id The id to set
*/
public void setId(String id) {
this.id = id;
}
public FormFile getFl() {
return fl;
}
public void setFl(FormFile fl) {
this.fl = fl;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -