📄 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 + -