📄 deptform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package hrm.dept;
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: 12-05-2008
*
* XDoclet definition:
* @struts.form name="deptCode"
*/
public class DeptForm extends ActionForm {
/*
* Generated fields
*/
private String deptId;
private String deptCode;
private String deptName;
private String address;
private String telphone;
private String desc;
/*
* 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 DeptId.
* @return String
*/
public String getDeptId() {
return deptId;
}
/**
* Set the DeptId.
* @param deptForm The deptForm to set
*/
public void setDeptId(String deptId) {
this.deptId = deptId;
}
/**
* Returns the DeptCode.
* @return String
*/
public String getDeptCode() {
return deptCode;
}
/**
* Set the DeptCode.
* @param deptForm The deptForm to set
*/
public void setDeptCode(String deptCode) {
this.deptCode = deptCode;
}
/**
* Returns the deptName.
* @return String
*/
public String getDeptName() {
return deptName;
}
/**
* Set the deptName.
* @param deptForm The deptForm to set
*/
public void setDeptName(String deptName) {
this.deptName = deptName;
}
/**
* Returns the address.
* @return String
*/
public String getAddress() {
return address;
}
/**
* Set the address.
* @param deptForm The deptForm to set
*/
public void setAddress(String address) {
this.address = address;
}
/**
* Returns the telphone.
* @return String
*/
public String getTelphone() {
return telphone;
}
/**
* Set the telphone.
* @param deptForm The deptForm to set
*/
public void setTelphone(String telphone) {
this.telphone = telphone;
}
/**
* Returns the Desc.
* @return String
*/
public String getDesc() {
return desc;
}
/**
* Set the Desc.
* @param deptForm The deptForm to set
*/
public void setDesc(String desc) {
this.desc = desc;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -