📄 empform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.yourcompany.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: 09-21-2007
*
* XDoclet definition:
* @struts.form name="empForm"
*/
public class EmpForm extends ActionForm {
/*
* Generated fields
*/
/** password property */
private String password;
/** memo property */
private String memo;
private String dname;
/** emptype property */
private String emptype;
/** handset property */
private String handset;
/** deptid property */
private Long deptid;
/** email property */
private String email;
/** ename property */
private String ename;
/** empid property */
private String empid;
private String empids;
/** fax property */
private String fax;
/** tel property */
private String tel;
/*
* 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 password.
* @return String
*/
public String getPassword() {
return password;
}
/**
* Set the password.
* @param password The password to set
*/
public void setPassword(String password) {
this.password = password;
}
/**
* Returns the memo.
* @return String
*/
public String getMemo() {
return memo;
}
/**
* Set the memo.
* @param memo The memo to set
*/
public void setMemo(String memo) {
this.memo = memo;
}
/**
* Returns the emptype.
* @return String
*/
public String getEmptype() {
return emptype;
}
/**
* Set the emptype.
* @param emptype The emptype to set
*/
public void setEmptype(String emptype) {
this.emptype = emptype;
}
/**
* Returns the handset.
* @return String
*/
public String getHandset() {
return handset;
}
/**
* Set the handset.
* @param handset The handset to set
*/
public void setHandset(String handset) {
this.handset = handset;
}
/**
* Returns the deptid.
* @return Long
*/
public Long getDeptid() {
return deptid;
}
/**
* Set the deptid.
* @param deptid The deptid to set
*/
public void setDeptid(Long deptid) {
this.deptid = deptid;
}
/**
* Returns the email.
* @return String
*/
public String getEmail() {
return email;
}
/**
* Set the email.
* @param email The email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* Returns the ename.
* @return String
*/
public String getEname() {
return ename;
}
/**
* Set the ename.
* @param ename The ename to set
*/
public void setEname(String ename) {
this.ename = ename;
}
/**
* Returns the empid.
* @return String
*/
public String getEmpid() {
return empid;
}
/**
* Set the empid.
* @param empid The empid to set
*/
public void setEmpid(String empid) {
this.empid = empid;
}
/**
* Returns the fax.
* @return String
*/
public String getFax() {
return fax;
}
/**
* Set the fax.
* @param fax The fax to set
*/
public void setFax(String fax) {
this.fax = fax;
}
/**
* Returns the tel.
* @return String
*/
public String getTel() {
return tel;
}
/**
* Set the tel.
* @param tel The tel to set
*/
public void setTel(String tel) {
this.tel = tel;
}
public String getDname() {
return dname;
}
public void setDname(String dname) {
this.dname = dname;
}
public String getEmpids() {
return empids;
}
public void setEmpids(String empids) {
this.empids = empids;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -