📄 productform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.accp.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;
import org.apache.struts.upload.FormFile;
/**
* MyEclipse Struts
* Creation date: 09-06-2007
*
* XDoclet definition:
* @struts.form name="productForm"
*/
public class ProductForm extends ActionForm {
/*
* Generated fields
*/
/** create_time property */
private String create_time;
/** meno property */
private String meno;
/** address property */
private String address;
/** product_id property */
private String product_id;
/** new_level property */
private String new_level;
/** end_date property */
private String end_date;
/** product_name property */
private String product_name;
/** show_command property */
private String show_command;
/** store_number property */
private String store_number;
/** address_picture property */
private String address_picture;
/** show_main property */
private String show_main;
/** price property */
private String price;
/** description property */
private String description;
/** state property */
private String state;
/** start_date property */
private String start_date;
/*
* Generated Methods
*/
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
private FormFile uploadFile;
private String[] productAddress;//针对checkbox
public String[] getProductAddress() {
return productAddress;
}
public void setProductAddress(String[] productAddress) {
this.productAddress = productAddress;
}
public void setUploadFile(FormFile uploadFile)
{
this.uploadFile = uploadFile;
}
public FormFile getUploadFile()
{
return uploadFile;
}
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 create_time.
* @return String
*/
public String getCreate_time() {
return create_time;
}
/**
* Set the create_time.
* @param create_time The create_time to set
*/
public void setCreate_time(String create_time) {
this.create_time = create_time;
}
/**
* Returns the meno.
* @return String
*/
public String getMeno() {
return meno;
}
/**
* Set the memo.
* @param memo The meno to set
*/
public void setMeno(String meno) {
this.meno = meno;
}
/**
* 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 product_id.
* @return TexturePaintContext$Int
*/
public String getProduct_id() {
return product_id;
}
/**
* Set the product_id.
* @param product_id The product_id to set
*/
public void setProduct_id(String product_id) {
this.product_id = product_id;
}
/**
* Returns the new_level.
* @return String
*/
public String getNew_level() {
return new_level;
}
/**
* Set the new_level.
* @param new_level The new_level to set
*/
public void setNew_level(String new_level) {
this.new_level = new_level;
}
/**
* Returns the end_date.
* @return String
*/
public String getEnd_date() {
return end_date;
}
/**
* Set the end_date.
* @param end_date The end_date to set
*/
public void setEnd_date(String end_date) {
this.end_date = end_date;
}
/**
* Returns the product_name.
* @return String
*/
public String getProduct_name() {
return product_name;
}
/**
* Set the product_name.
* @param product_name The product_name to set
*/
public void setProduct_name(String product_name) {
this.product_name = product_name;
}
/**
* Returns the show_command.
* @return String
*/
public String getShow_command() {
return show_command;
}
/**
* Set the show_command.
* @param show_command The show_command to set
*/
public void setShow_command(String show_command) {
this.show_command = show_command;
}
/**
* Returns the store_number.
* @return String
*/
public String getStore_number() {
return store_number;
}
/**
* Set the store_number.
* @param store_number The store_number to set
*/
public void setStore_number(String store_number) {
this.store_number = store_number;
}
/**
* Returns the address_picture.
* @return String
*/
public String getAddress_picture() {
return address_picture;
}
/**
* Set the address_picture.
* @param address_picture The address_picture to set
*/
public void setAddress_picture(String address_picture) {
this.address_picture = address_picture;
}
/**
* Returns the show_main.
* @return String
*/
public String getShow_main() {
return show_main;
}
/**
* Set the show_main.
* @param show_main The show_main to set
*/
public void setShow_main(String show_main) {
this.show_main = show_main;
}
/**
* Returns the price.
* @return Arc2D$Float
*/
public String getPrice() {
return price;
}
/**
* Set the price.
* @param price The price to set
*/
public void setPrice(String price) {
this.price = price;
}
/**
* Returns the description.
* @return String
*/
public String getDescription() {
return description;
}
/**
* Set the description.
* @param description The description to set
*/
public void setDescription(String description) {
this.description = description;
}
/**
* Returns the state.
* @return String
*/
public String getState() {
return state;
}
/**
* Set the state.
* @param state The state to set
*/
public void setState(String state) {
this.state = state;
}
/**
* Returns the start_date.
* @return String
*/
public String getStart_date() {
return start_date;
}
/**
* Set the start_date.
* @param start_date The start_date to set
*/
public void setStart_date(String start_date) {
this.start_date = start_date;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -