org.apache.struts.webapp.exercise
Class TestBean
java.lang.Object
org.apache.struts.action.ActionForm
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestBean
public TestBean()
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.