org.apache.struts.webapp.el.exercise
Class TestBean
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.webapp.el.exercise.TestBean
- All Implemented Interfaces:
- Serializable
public class TestBean
- extends ActionForm
General purpose test bean for Struts custom tag tests.
- Version:
- $Rev: 471754 $ $Date: 2004-10-16 13:04:52 -0400 (Sat, 16 Oct 2004)
$
- Author:
- Craig R. McClanahan, Martin F N Cooper
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
images
public String[] images
- A list of images.
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)
getIndexedStrings
public String[] getIndexedStrings()
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)
getCoords
public Coord[] getCoords()
getCoord
public Coord getCoord(int index)
setCoord
public void setCoord(int index,
Coord coord)
getImages
public String[] getImages()
getImageCoords
public Coord[] getImageCoords()
getImageCoord
public Coord getImageCoord(int index)
setImageCoord
public void setImageCoord(int index,
Coord coord)
getWithNulls
public String getWithNulls()
setWithNulls
public void setWithNulls(String withNulls)
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.