www.pudn.com > shop.rar > SearchGoodsForm.java


/* 
 * Generated by MyEclipse Struts 
 * Template path: templates/java/JavaClass.vtl 
 */ 
package com.soft136.shop.form; 
 
import java.io.UnsupportedEncodingException; 
 
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: 04-16-2008 
 *  
 * XDoclet definition: 
 * @struts.form name="searchGoodsForm" 
 */ 
public class SearchGoodsForm extends ActionForm { 
	/* 
	 * Generated fields 
	 */ 
 
	/** goods_price_search property */ 
	private String goods_price_search;//查询的字段,不是单纯的价格 
	private int startPrice; 
	private int endPrice; 
	/* 
	 * Generated Methods 
	 */ 
 
	public int getStartPrice() { 
		return startPrice; 
	} 
 
	public void setStartPrice(int startPrice) { 
		this.startPrice = startPrice; 
	} 
 
	public int getEndPrice() { 
		return endPrice; 
	} 
 
	public void setEndPrice(int endPrice) { 
		this.endPrice = endPrice; 
	} 
 
	/**  
	 * 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 goods_price_search. 
	 * @return String 
	 * @throws UnsupportedEncodingException  
	 */ 
	public String getGoods_price_search() throws UnsupportedEncodingException { 
		return new String(goods_price_search.getBytes("ISO_8859-1"), "GB2312"); 
	} 
 
	/**  
	 * Set the goods_price_search. 
	 * @param goods_price_search The goods_price_search to set 
	 */ 
	public void setGoods_price_search(String goods_price_search) { 
		this.goods_price_search = goods_price_search; 
	} 
}