📄 backylhq_qtylcontent1form.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_qtylcontent1Form.java created by EasyStruts - XsltGen. * http://easystruts.sf.net * created on 10-24-2004 * * XDoclet definition: * @struts:form name="backylhq_qtylcontent1Form" */public class Backylhq_qtylcontent1Form extends ActionForm { // --------------------------------------------------------- Instance Variables // --------------------------------------------------------- Methods /** types property */ private String types; /** areas property */ private String areas; /** names property */ private String names; /** danw property */ private String danw; /** market property */ private String market; private String radio; public void setradio(String radio) { this.radio=radio; } public String getradio() { return this.radio; } /** * Returns the types. * @return String */ public String getTypes() { return types; } /** * Set the types. * @param types The types to set */ public void setTypes(String types) { this.types = types; } /** * Returns the areas. * @return String */ public String getAreas() { return areas; } /** * Set the areas. * @param areas The areas to set */ public void setAreas(String areas) { this.areas = areas; } /** * Returns the names. * @return String */ public String getNames() { return names; } /** * Set the names. * @param names The names to set */ public void setNames(String names) { this.names = names; } /** * Returns the danw. * @return String */ public String getDanw() { return danw; } /** * Set the danw. * @param danw The danw to set */ public void setDanw(String danw) { this.danw = danw; } /** * Returns the market. * @return String */ public String getMarket() { return market; } /** * Set the market. * @param market The market to set */ public void setMarket(String market) { this.market = market; } /** * Method validate * @param ActionMapping mapping * @param HttpServletRequest request * @return ActionErrors */ public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { ActionErrors errors=new ActionErrors(); if(names.length()==0 && types.length()==0 && market.length()==0 && areas.length()==0 && danw.length()==0) { errors.add("wrong",new ActionMessage("wrong")); } if(radio.length()==0) { errors.add("wrong",new ActionMessage("wrong")); } 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) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -