⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 backylhq_nmqhform.java

📁 这个程序是花了好几十万请人开发的
💻 JAVA
字号:
// Created by Xslt generator for Eclipse.// XSL :  not found (java.io.FileNotFoundException:  (Bad file descriptor))// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xslpackage 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.action.ActionMessage;/**  * Backylhq_nmqhForm.java created by EasyStruts - XsltGen. * http://easystruts.sf.net * created on 10-22-2004 *  * XDoclet definition: * @struts:form name="backylhq_nmqhForm" */public class Backylhq_nmqhForm extends ActionForm {	// --------------------------------------------------------- Instance Variables	// --------------------------------------------------------- Methods	private String year;	private String month;	private float price_f;//first	private float price_h;//higth	private float price_l;//low	private float price_e;//end	private float zd;//涨跌	private int dqcjl;//成交量	private int yjcjl;//变动	private int sjcjl;//定货量	public void setyjcjl(int yjcjl)	{		this.yjcjl=yjcjl;	}	public int getyjcjl()	{		return this.yjcjl;	}	public void setdqcjl(int dqcjl)	{		this.dqcjl=dqcjl;	}	public int getdqcjl()	{		return this.dqcjl;	}	public void setsjcjl(int sjcjl)	{		this.sjcjl=sjcjl;	}	public int getsjcjl()	{		return this.sjcjl;	}	public void setzd(float zd)	{		this.zd=zd;	}	public float getzd()	{		return this.zd;	}		public void setprice_h(float price_h)	{		this.price_h=price_h;	}	public float getprice_h()	{		return this.price_h;	}	public void setprice_l(float price_l)	{		this.price_l=price_l;	}	public float getprice_l()	{		return this.price_l;	}	public void setprice_e(float price_e)	{		this.price_e=price_e;	}	public float getprice_e()	{		return this.price_e;	}			public void setprice_f(float price_f)	{		this.price_f=price_f;	}	public float getprice_f()	{		return this.price_f;	}		public void setmonth(String month)	{		this.month=month;	}	public String getmonth()	{		return this.month;	}	public void setyear(String year)	{		this.year=year;	}	public String getyear()	{		return this.year;	}	/** 	 * Method validate	 * @param ActionMapping mapping	 * @param HttpServletRequest request	 * @return ActionErrors	 */	public ActionErrors validate(		ActionMapping mapping,		HttpServletRequest request) {			ActionErrors errors=new ActionErrors();			if(String.valueOf(price_f).length()==0)				{				errors.add("price_f",new ActionMessage("price_f.error"));			}			if(String.valueOf(price_e).length()==0)				{				errors.add("price_e",new ActionMessage("price_e.error"));			}			if(String.valueOf(price_l).length()==0)				{				errors.add("price_l",new ActionMessage("price_l.error"));			}			if(String.valueOf(price_h).length()==0)				{				errors.add("price_h",new ActionMessage("price_h.error"));			}			if(year.length()==0 || year==null)				{				errors.add("price_a",new ActionMessage("price_a.error"));			}			if(String.valueOf(dqcjl).length()==0)				{				errors.add("bd",new ActionMessage("bd.error"));			}			if(String.valueOf(sjcjl).length()==0)				{				errors.add("cjl",new ActionMessage("cjl.error"));			}			if(String.valueOf(yjcjl).length()==0)				{				errors.add("dhl",new ActionMessage("dhl.error"));			}			if(String.valueOf(zd).length()==0)				{				errors.add("zd",new ActionMessage("zd.error"));			}			return errors;		//throw new UnsupportedOperationException("Generated method 'validate(...)' not implemented.");	}	/** 	 * Method reset	 * @param ActionMapping mapping	 * @param HttpServletRequest request	 */	public void reset(ActionMapping mapping, HttpServletRequest request) {				this.year="";	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -