SearcherForm.java
上传用户:zhihansy
上传日期:2014-12-04
资源大小:7241k
文件大小:2k
- /*
- * Generated by MyEclipse Struts
- * Template path: templates/java/JavaClass.vtl
- */
- package com.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: 03-09-2008
- *
- * XDoclet definition:
- * @struts.form name="searcherForm"
- */
- public class SearcherForm extends ActionForm {
- /*
- * Generated fields
- */
- /** search property */
- private String search;
- private String sort;
- /*
- * 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 search.
- * @return String
- */
- public String getSearch() {
- return search;
- }
- /**
- * Set the search.
- * @param search The search to set
- */
- public void setSort(String sort) {
- this.sort = sort;
- }
- /**
- * Returns the search.
- * @return String
- */
- public String getSort() {
- return sort;
- }
- /**
- * Set the search.
- * @param search The search to set
- */
- public void setSearch(String search) {
- this.search = search;
- }
- }