📄 roomform.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-22-2007
*
* XDoclet definition:
* @struts.form name="deptForm"
*/
public class RoomForm extends ActionForm {
/*
* Generated fields
*/
/** memo property */
private String memo;
private String empid;
/** rname property */
private String rname;
/** adminname property */
private String adminname;
/** deptname property */
private String deptname;
/** address property */
private String address;
/** deptid property */
private Long deptid;
/** adminid property */
private String adminid;
/** roomid property */
private Long roomid;
/*
* 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 rname.
* @return String
*/
public String getRname() {
return rname;
}
/**
* Set the rname.
* @param rname The rname to set
*/
public void setRname(String rname) {
this.rname = rname;
}
/**
* Returns the adminname.
* @return String
*/
public String getAdminname() {
return adminname;
}
/**
* Set the adminname.
* @param adminname The adminname to set
*/
public void setAdminname(String adminname) {
this.adminname = adminname;
}
/**
* Returns the deptname.
* @return String
*/
public String getDeptname() {
return deptname;
}
/**
* Set the deptname.
* @param deptname The deptname to set
*/
public void setDeptname(String deptname) {
this.deptname = deptname;
}
/**
* Returns the address.
* @return String
*/
public String getAddress() {
return address;
}
/**
* Set the address.
* @param address The address to set
*/
public void setAddress(String address) {
this.address = address;
}
/**
* 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 roomid.
* @return Long
*/
public Long getRoomid() {
return roomid;
}
/**
* Set the roomid.
* @param roomid The roomid to set
*/
public void setRoomid(Long roomid) {
this.roomid = roomid;
}
public String getEmpid() {
return empid;
}
public void setEmpid(String empid) {
this.empid = empid;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -