org.apache.struts.webapp.exercise
Class TestBean
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.webapp.exercise.TestBean
- All Implemented Interfaces:
- java.io.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestBean
public TestBean()
getBeanCollection
public java.util.Collection getBeanCollection()
setBeanCollection
public void setBeanCollection(java.util.Collection beanCollection)
getBeanCollectionSelect
public java.lang.String[] getBeanCollectionSelect()
setBeanCollectionSelect
public void setBeanCollectionSelect(java.lang.String[] beanCollectionSelect)
getBooleanProperty
public boolean getBooleanProperty()
setBooleanProperty
public void setBooleanProperty(boolean booleanProperty)
getCollectionSelect
public java.lang.String[] getCollectionSelect()
setCollectionSelect
public void setCollectionSelect(java.lang.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 java.lang.String[] getMultipleSelect()
setMultipleSelect
public void setMultipleSelect(java.lang.String[] multipleSelect)
getNested
public TestBean getNested()
getNullProperty
public java.lang.String getNullProperty()
setNullProperty
public void setNullProperty(java.lang.String nullProperty)
getShortProperty
public short getShortProperty()
setShortProperty
public void setShortProperty(short shortProperty)
getSingleSelect
public java.lang.String getSingleSelect()
setSingleSelect
public void setSingleSelect(java.lang.String singleSelect)
getStringArray
public java.lang.String[] getStringArray()
setStringArray
public void setStringArray(java.lang.String[] stringArray)
getStringIndexed
public java.lang.String getStringIndexed(int index)
setStringIndexed
public void setStringIndexed(int index,
java.lang.String value)
getStringMultibox
public java.lang.String[] getStringMultibox()
setStringMultibox
public void setStringMultibox(java.lang.String[] stringMultibox)
getStringProperty
public java.lang.String getStringProperty()
setStringProperty
public void setStringProperty(java.lang.String stringProperty)
getEmptyStringProperty
public java.lang.String getEmptyStringProperty()
setEmptyStringProperty
public void setEmptyStringProperty(java.lang.String emptyStringProperty)
getResourcesSelect
public java.lang.String getResourcesSelect()
setResourcesSelect
public void setResourcesSelect(java.lang.String resourcesSelect)
getWithNulls
public java.lang.String getWithNulls()
setWithNulls
public void setWithNulls(java.lang.String withNulls)
getListProperty
public java.util.List getListProperty()
setListProperty
public void setListProperty(java.util.List listProperty)
getEmptyListProperty
public java.util.List getEmptyListProperty()
setEmptyListProperty
public void setEmptyListProperty(java.util.List emptyListProperty)
getMapProperty
public java.util.Map getMapProperty()
setMapProperty
public void setMapProperty(java.util.Map mapProperty)
getEmptyMapProperty
public java.util.Map getEmptyMapProperty()
setEmptyMapProperty
public void setEmptyMapProperty(java.util.Map emptyMapProperty)
reset
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset the properties that will be received as input.
- Overrides:
reset
in class ActionForm
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.