org.apache.taglibs.rdc.sampleapps.musicstore.struts
Class AlbumFilterForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.taglibs.rdc.sampleapps.musicstore.struts.AlbumFilterForm
All Implemented Interfaces:
java.io.Serializable

public class AlbumFilterForm
extends org.apache.struts.action.ActionForm

Struts form bean for mainmenu.jsp (from music store sample app)

Author:
Rahul Akolkar, Thomas Ling
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
AlbumFilterForm()
           
 
Method Summary
 java.lang.String getCategory()
          Access method for the category property.
 AmazonMenuTemplate.AmazonMenuResult getChoice()
           
 java.lang.String getGenre()
          Access method for the genre property.
 void setCategory(java.lang.String aCategory)
          Sets the value of the category property.
 void setChoice(AmazonMenuTemplate.AmazonMenuResult result)
           
 void setGenre(java.lang.String aGenre)
          Sets the value of the genre property.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlbumFilterForm

public AlbumFilterForm()
Method Detail

getChoice

public AmazonMenuTemplate.AmazonMenuResult getChoice()

setChoice

public void setChoice(AmazonMenuTemplate.AmazonMenuResult result)

getGenre

public java.lang.String getGenre()
Access method for the genre property.

Returns:
the current value of the genre property

setGenre

public void setGenre(java.lang.String aGenre)
Sets the value of the genre property.

Parameters:
aGenre - the new value of the genre property

getCategory

public java.lang.String getCategory()
Access method for the category property.

Returns:
the current value of the category property

setCategory

public void setCategory(java.lang.String aCategory)
Sets the value of the category property.

Parameters:
aCategory - the new value of the category property

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Overrides:
validate in class org.apache.struts.action.ActionForm


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.