📄 newdeptform.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-20-2007
*
* XDoclet definition:
* @struts.form name="newDeptForm"
*/
public class NewDeptForm extends ActionForm {
/*
* Generated fields
*/
/** memo property */
private String memo;
/** dname property */
private String dname;
/** deptid property */
private Long deptid;
/** adminid property */
private String adminid;
/** 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 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 dname.
* @return String
*/
public String getDname() {
return dname;
}
/**
* Set the dname.
* @param dname The dname to set
*/
public void setDname(String dname) {
this.dname = dname;
}
/**
* 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 adminid.
* @return String
*/
public String getAdminid() {
return adminid;
}
/**
* Set the adminid.
* @param adminid The adminid to set
*/
public void setAdminid(String adminid) {
this.adminid = adminid;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -