📄 productform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.ssh.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: 10-30-2008
*
* XDoclet definition:
* @struts.form name="productForm"
*/
public class ProductForm extends ActionForm {
/*
* Generated fields
*/
/** saledate property */
private String saledate;
/** saledate property */
private String type;
/** saleprice property */
private String saleprice;
/** price property */
private String price;
/** contents property */
private String contents;
/** name property */
private String name;
/** descript property */
private String descript;
/** image property */
private String image;
/** salecount property */
private String salecount;
/*
* 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 saledate.
* @return String
*/
public String getSaledate() {
return saledate;
}
/**
* Set the saledate.
* @param saledate The saledate to set
*/
public void setSaledate(String saledate) {
this.saledate = saledate;
}
/**
* Returns the saleprice.
* @return String
*/
public String getSaleprice() {
return saleprice;
}
/**
* Set the saleprice.
* @param saleprice The saleprice to set
*/
public void setSaleprice(String saleprice) {
this.saleprice = saleprice;
}
/**
* Returns the price.
* @return String
*/
public String getPrice() {
return price;
}
/**
* Set the price.
* @param price The price to set
*/
public void setPrice(String price) {
this.price = price;
}
/**
* Returns the contents.
* @return String
*/
public String getContents() {
return contents;
}
/**
* Set the contents.
* @param contents The contents to set
*/
public void setContents(String contents) {
this.contents = contents;
}
/**
* Returns the name.
* @return String
*/
public String getName() {
return name;
}
/**
* Set the name.
* @param name The name to set
*/
public void setName(String name) {
this.name = name;
}
/**
* Returns the descript.
* @return String
*/
public String getDescript() {
return descript;
}
/**
* Set the descript.
* @param descript The descript to set
*/
public void setDescript(String descript) {
this.descript = descript;
}
/**
* Returns the image.
* @return String
*/
public String getImage() {
return image;
}
/**
* Set the image.
* @param image The image to set
*/
public void setImage(String image) {
this.image = image;
}
/**
* Returns the salecount.
* @return String
*/
public String getSalecount() {
return salecount;
}
/**
* Set the salecount.
* @param salecount The salecount to set
*/
public void setSalecount(String salecount) {
this.salecount = salecount;
}
/**
* @return the type
*/
public String getType() {
return type;
}
/**
* @param type the type to set
*/
public void setType(String type) {
this.type = type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -