?? materialform.java
字號:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.nitpro.struts.form;
import java.sql.Date;
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
*
* 用戶進行資料添加、編輯、刪除時提供的Form
* @author 鄧錦溏
* @version 1.0
* 時間: 04-18-2008
* @struts.form name="materialForm"
*/
public class MaterialForm extends ActionForm {
/*
* Generated fields
*/
/**
*
*/
private static final long serialVersionUID = 6149416386550869854L;
/** userid property */
private Integer userid;
/** typeid property */
private Integer typeid;
/** materialdate property */
private Date materialdate;
/** materialtitle property */
private String materialtitle;
/** materialid property */
private Integer materialid;
/** materialcontent property */
private String materialcontent;
/*
* 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 userid.
* @return Integer
*/
public Integer getUserid() {
return userid;
}
/**
* Set the userid.
* @param userid The userid to set
*/
public void setUserid(Integer userid) {
this.userid = userid;
}
/**
* Returns the typeid.
* @return Integer
*/
public Integer getTypeid() {
return typeid;
}
/**
* Set the typeid.
* @param typeid The typeid to set
*/
public void setTypeid(Integer typeid) {
this.typeid = typeid;
}
/**
* Returns the materialdate.
* @return Date
*/
public Date getMaterialdate() {
return materialdate;
}
/**
* Set the materialdate.
* @param materialdate The materialdate to set
*/
public void setMaterialdate(Date materialdate) {
this.materialdate = materialdate;
}
/**
* Returns the materialtitle.
* @return String
*/
public String getMaterialtitle() {
return materialtitle;
}
/**
* Set the materialtitle.
* @param materialtitle The materialtitle to set
*/
public void setMaterialtitle(String materialtitle) {
this.materialtitle = materialtitle;
}
/**
* Returns the materialid.
* @return Integer
*/
public Integer getMaterialid() {
return materialid;
}
/**
* Set the materialid.
* @param materialid The materialid to set
*/
public void setMaterialid(Integer materialid) {
this.materialid = materialid;
}
/**
* Returns the materialcontent.
* @return String
*/
public String getMaterialcontent() {
return materialcontent;
}
/**
* Set the materialcontent.
* @param materialcontent The materialcontent to set
*/
public void setMaterialcontent(String materialcontent) {
this.materialcontent = materialcontent;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -