- package com.softeem.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;
- @SuppressWarnings("serial")
- public class SearchForm extends ActionForm {
- private String shead;
- private String smode;
- private String stext;
- private String ssizemode;
- private String ssize;
- private String sread;
- private String [] checkbox;
- private String syear;
- private String smonth;
- private String sday;
- private String sdatemode;
- public String getSyear() {
- return syear;
- }
- public void setSyear(String syear) {
- this.syear = syear;
- }
- public String getSmonth() {
- return smonth;
- }
- public void setSmonth(String smonth) {
- this.smonth = smonth;
- }
- public String getSday() {
- return sday;
- }
- public void setSday(String sday) {
- this.sday = sday;
- }
- public String getSdatemode() {
- return sdatemode;
- }
- public void setSdatemode(String sdatemode) {
- this.sdatemode = sdatemode;
- }
- public String getShead() {
- return shead;
- }
- public void setShead(String shead) {
- this.shead = shead;
- }
- public String getSmode() {
- return smode;
- }
- public void setSmode(String smode) {
- this.smode = smode;
- }
- public String getStext() {
- return stext;
- }
- public void setStext(String stext) {
- this.stext = stext;
- }
- public String getSsizemode() {
- return ssizemode;
- }
- public void setSsizemode(String ssizemode) {
- this.ssizemode = ssizemode;
- }
- public String getSsize() {
- return ssize;
- }
- public void setSsize(String ssize) {
- this.ssize = ssize;
- }
- public String getSread() {
- return sread;
- }
- public void setSread(String sread) {
- this.sread = sread;
- }
- public String[] getCheckbox() {
- return checkbox;
- }
- public void setCheckbox(String[] checkbox) {
- this.checkbox = checkbox;
- }
- public ActionErrors validate(ActionMapping mapping,
- HttpServletRequest request) {
- return null;
- }
- public void reset(ActionMapping mapping, HttpServletRequest request) {
- }
- }