📄 deptform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.oa.deptoffice.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: 08-23-2007
*
* XDoclet definition:
* @struts.form name="deptForm"
*/
public class DeptForm extends ActionForm {
/*
* Generated fields
*/
/** id property */
private int id;
/** deptintro property */
private String deptintro;
/** deptgrade property */
private String deptgrade;
/** department property */
private String department;
/*
* 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 deptintro.
* @return String
*/
public String getDeptintro() {
return deptintro;
}
/**
* Set the deptintro.
* @param deptintro The deptintro to set
*/
public void setDeptintro(String deptintro) {
this.deptintro = deptintro;
}
/**
* Returns the deptgrade.
* @return String
*/
public String getDeptgrade() {
return deptgrade;
}
/**
* Set the deptgrade.
* @param deptgrade The deptgrade to set
*/
public void setDeptgrade(String deptgrade) {
this.deptgrade = deptgrade;
}
/**
* Returns the department.
* @return String
*/
public String getDepartment() {
return department;
}
/**
* Set the department.
* @param department The department to set
*/
public void setDepartment(String department) {
this.department = department;
}
/**
* @return the id
*/
public int getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(int id) {
this.id = id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -