org.apache.struts.webapp.exercise
Class TestBean

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.webapp.exercise.TestBean
All Implemented Interfaces:
Serializable

public class TestBean
extends ActionForm

General purpose test bean for Struts custom tag tests.

Version:
$Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
TestBean()
           
 
Method Summary
 Collection getBeanCollection()
           
 String[] getBeanCollectionSelect()
           
 boolean getBooleanProperty()
           
 String[] getCollectionSelect()
           
 double getDoubleProperty()
           
 List getEmptyListProperty()
           
 Map getEmptyMapProperty()
           
 String getEmptyStringProperty()
           
 boolean getFalseProperty()
           
 float getFloatProperty()
           
 int[] getIntArray()
           
 int getIntIndexed(int index)
           
 int[] getIntMultibox()
           
 int getIntProperty()
           
 List getListProperty()
           
 long getLongProperty()
           
 Map getMapProperty()
           
 String[] getMultipleSelect()
           
 TestBean getNested()
           
 String getNullProperty()
           
 String getResourcesSelect()
           
 short getShortProperty()
           
 String getSingleSelect()
           
 String[] getStringArray()
           
 String getStringIndexed(int index)
           
 String[] getStringMultibox()
           
 String getStringProperty()
           
 String getWithNulls()
           
 void reset(ActionMapping mapping, HttpServletRequest request)
          Reset the properties that will be received as input.
 void setBeanCollection(Collection beanCollection)
           
 void setBeanCollectionSelect(String[] beanCollectionSelect)
           
 void setBooleanProperty(boolean booleanProperty)
           
 void setCollectionSelect(String[] collectionSelect)
           
 void setDoubleProperty(double doubleProperty)
           
 void setEmptyListProperty(List emptyListProperty)
           
 void setEmptyMapProperty(Map emptyMapProperty)
           
 void setEmptyStringProperty(String emptyStringProperty)
           
 void setFalseProperty(boolean falseProperty)
           
 void setFloatProperty(float floatProperty)
           
 void setIntArray(int[] intArray)
           
 void setIntIndexed(int index, int value)
           
 void setIntMultibox(int[] intMultibox)
           
 void setIntProperty(int intProperty)
           
 void setListProperty(List listProperty)
           
 void setLongProperty(long longProperty)
           
 void setMapProperty(Map mapProperty)
           
 void setMultipleSelect(String[] multipleSelect)
           
 void setNullProperty(String nullProperty)
           
 void setResourcesSelect(String resourcesSelect)
           
 void setShortProperty(short shortProperty)
           
 void setSingleSelect(String singleSelect)
           
 void setStringArray(String[] stringArray)
           
 void setStringIndexed(int index, String value)
           
 void setStringMultibox(String[] stringMultibox)
           
 void setStringProperty(String stringProperty)
           
 void setWithNulls(String withNulls)
           
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBean

public TestBean()
Method Detail

getBeanCollection

public Collection getBeanCollection()

setBeanCollection

public void setBeanCollection(Collection beanCollection)

getBeanCollectionSelect

public String[] getBeanCollectionSelect()

setBeanCollectionSelect

public void setBeanCollectionSelect(String[] beanCollectionSelect)

getBooleanProperty

public boolean getBooleanProperty()

setBooleanProperty

public void setBooleanProperty(boolean booleanProperty)

getCollectionSelect

public String[] getCollectionSelect()

setCollectionSelect

public void setCollectionSelect(String[] collectionSelect)

getDoubleProperty

public double getDoubleProperty()

setDoubleProperty

public void setDoubleProperty(double doubleProperty)

getFalseProperty

public boolean getFalseProperty()

setFalseProperty

public void setFalseProperty(boolean falseProperty)

getFloatProperty

public float getFloatProperty()

setFloatProperty

public void setFloatProperty(float floatProperty)

getIntArray

public int[] getIntArray()

setIntArray

public void setIntArray(int[] intArray)

getIntIndexed

public int getIntIndexed(int index)

setIntIndexed

public void setIntIndexed(int index,
                          int value)

getIntMultibox

public int[] getIntMultibox()

setIntMultibox

public void setIntMultibox(int[] intMultibox)

getIntProperty

public int getIntProperty()

setIntProperty

public void setIntProperty(int intProperty)

getLongProperty

public long getLongProperty()

setLongProperty

public void setLongProperty(long longProperty)

getMultipleSelect

public String[] getMultipleSelect()

setMultipleSelect

public void setMultipleSelect(String[] multipleSelect)

getNested

public TestBean getNested()

getNullProperty

public String getNullProperty()

setNullProperty

public void setNullProperty(String nullProperty)

getShortProperty

public short getShortProperty()

setShortProperty

public void setShortProperty(short shortProperty)

getSingleSelect

public String getSingleSelect()

setSingleSelect

public void setSingleSelect(String singleSelect)

getStringArray

public String[] getStringArray()

setStringArray

public void setStringArray(String[] stringArray)

getStringIndexed

public String getStringIndexed(int index)

setStringIndexed

public void setStringIndexed(int index,
                             String value)

getStringMultibox

public String[] getStringMultibox()

setStringMultibox

public void setStringMultibox(String[] stringMultibox)

getStringProperty

public String getStringProperty()

setStringProperty

public void setStringProperty(String stringProperty)

getEmptyStringProperty

public String getEmptyStringProperty()

setEmptyStringProperty

public void setEmptyStringProperty(String emptyStringProperty)

getResourcesSelect

public String getResourcesSelect()

setResourcesSelect

public void setResourcesSelect(String resourcesSelect)

getWithNulls

public String getWithNulls()

setWithNulls

public void setWithNulls(String withNulls)

getListProperty

public List getListProperty()

setListProperty

public void setListProperty(List listProperty)

getEmptyListProperty

public List getEmptyListProperty()

setEmptyListProperty

public void setEmptyListProperty(List emptyListProperty)

getMapProperty

public Map getMapProperty()

setMapProperty

public void setMapProperty(Map mapProperty)

getEmptyMapProperty

public Map getEmptyMapProperty()

setEmptyMapProperty

public void setEmptyMapProperty(Map emptyMapProperty)

reset

public void reset(ActionMapping mapping,
                  HttpServletRequest request)
Reset the properties that will be received as input.

Overrides:
reset in class ActionForm


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.