📄 productform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.enterpriseweb.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import org.apache.struts.validator.ValidatorForm;
/**
* MyEclipse Struts
* Creation date: 11-14-2007
*
* XDoclet definition:
* @struts.form name="productForm"
*/
public class ProductForm extends ValidatorForm {
/*
* Generated Methods
*/
/**
*
*/
private static final long serialVersionUID = 1L;
private FormFile imageFile;
private Integer id;
private String pname;
private String introduce;
private Float temperature;
private Float pressure;
private String imagepath;
/**
* 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
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public FormFile getImageFile() {
return imageFile;
}
public void setImageFile(FormFile imageFile) {
this.imageFile = imageFile;
}
public String getImagepath() {
return imagepath;
}
public void setImagepath(String imagepath) {
this.imagepath = imagepath;
}
public String getIntroduce() {
return introduce;
}
public void setIntroduce(String introduce) {
this.introduce = introduce;
}
public String getPname() {
return pname;
}
public void setPname(String pname) {
this.pname = pname;
}
public Float getPressure() {
return pressure;
}
public void setPressure(Float pressure) {
this.pressure = pressure;
}
public Float getTemperature() {
return temperature;
}
public void setTemperature(Float temperature) {
this.temperature = temperature;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -