HDIV API 2.0.4

org.hdiv.taglib
Class SimpleBeanForTesting

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.hdiv.taglib.SimpleBeanForTesting
All Implemented Interfaces:
java.io.Serializable

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

Simple bean for unit tests.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SimpleBeanForTesting()
           
SimpleBeanForTesting(boolean checked)
           
SimpleBeanForTesting(java.lang.Boolean checkedWrapper)
           
SimpleBeanForTesting(java.lang.Integer integerValue)
           
SimpleBeanForTesting(java.util.List lst)
           
SimpleBeanForTesting(java.util.Map map)
           
SimpleBeanForTesting(java.lang.String string)
           
SimpleBeanForTesting(java.lang.String[] stringArray)
           
 
Method Summary
 java.lang.Object[] getArray()
          Returns the Object Array.
 java.lang.Boolean getCheckedWrapper()
          Returns the checkedWrapper.
 java.util.Collection getCollection()
          Returns the collection.
 java.lang.Double getDoubleValue()
          Returns the doubleValue.
 java.util.Enumeration getEnumeration()
          Returns the enumeration.
 java.lang.Integer getIntegerValue()
          Returns the integerValue.
 java.util.List getList()
          Returns the lst.
 java.util.List getLst()
          Returns the lst.
 java.util.Map getMap()
          Returns the map.
 java.lang.Object getNestedObject()
          Returns the nestedObject.
 java.lang.String getString()
          Returns the string.
 java.lang.String[] getStringArray()
          Returns an array of type String.
 java.lang.String getStringIndexed(int index)
           
 java.lang.String getX()
          Returns the x.
 java.lang.String getY()
          Returns the y.
 boolean isChecked()
          Returns the checked.
 void setArray(java.lang.Object[] array)
          Sets the Object Array .
 void setChecked(boolean checked)
          Sets the checked.
 void setCheckedWrapper(java.lang.Boolean checkedWrapper)
          Sets the checkedWrapper.
 void setCollection(java.util.Collection collection)
          Sets the collection.
 void setDoubleValue(java.lang.Double doubleValue)
          Sets the doubleValue.
 void setEnumeration(java.util.Enumeration enumeration)
          Sets the enumeration.
 void setIntegerValue(java.lang.Integer integerValue)
          Sets the integerValue.
 void setList(java.util.List lst)
          Sets the lst.
 void setLst(java.util.List lst)
          Sets the lst.
 void setMap(java.util.Map map)
          Sets the map.
 void setNestedObject(java.lang.Object nestedObject)
          Sets the nestedObject.
 void setString(java.lang.String string)
          Sets the string.
 void setStringArray(java.lang.String[] stringArray)
          Sets the string array.
 void setStringIndexed(int index, java.lang.String value)
           
 void setX(java.lang.String x)
          Sets the x.
 void setY(java.lang.String y)
          Sets the y.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, 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

SimpleBeanForTesting

public SimpleBeanForTesting()

SimpleBeanForTesting

public SimpleBeanForTesting(java.util.List lst)

SimpleBeanForTesting

public SimpleBeanForTesting(boolean checked)

SimpleBeanForTesting

public SimpleBeanForTesting(java.lang.Boolean checkedWrapper)

SimpleBeanForTesting

public SimpleBeanForTesting(java.util.Map map)

SimpleBeanForTesting

public SimpleBeanForTesting(java.lang.String string)

SimpleBeanForTesting

public SimpleBeanForTesting(java.lang.String[] stringArray)

SimpleBeanForTesting

public SimpleBeanForTesting(java.lang.Integer integerValue)
Method Detail

getStringIndexed

public java.lang.String getStringIndexed(int index)

setStringIndexed

public void setStringIndexed(int index,
                             java.lang.String value)

getList

public java.util.List getList()
Returns the lst.

Returns:
List

getMap

public java.util.Map getMap()
Returns the map.

Returns:
Map

setList

public void setList(java.util.List lst)
Sets the lst.

Parameters:
lst - The lst to set

setMap

public void setMap(java.util.Map map)
Sets the map.

Parameters:
map - The map to set

getString

public java.lang.String getString()
Returns the string.

Returns:
String

setString

public void setString(java.lang.String string)
Sets the string.

Parameters:
string - The string to set

getStringArray

public java.lang.String[] getStringArray()
Returns an array of type String.

Returns:
String[]

setStringArray

public void setStringArray(java.lang.String[] stringArray)
Sets the string array.

Parameters:
string - The string array to set

getLst

public java.util.List getLst()
Returns the lst.

Returns:
List

setLst

public void setLst(java.util.List lst)
Sets the lst.

Parameters:
lst - The lst to set

getArray

public java.lang.Object[] getArray()
Returns the Object Array.

Returns:
Object[]

setArray

public void setArray(java.lang.Object[] array)
Sets the Object Array .

Parameters:
array - The Object array to set

getEnumeration

public java.util.Enumeration getEnumeration()
Returns the enumeration.

Returns:
Enumeration

setEnumeration

public void setEnumeration(java.util.Enumeration enumeration)
Sets the enumeration.

Parameters:
enumeration - The enumeration to set

getNestedObject

public java.lang.Object getNestedObject()
Returns the nestedObject.

Returns:
Object

setNestedObject

public void setNestedObject(java.lang.Object nestedObject)
Sets the nestedObject.

Parameters:
nestedObject - The nestedObject to set

getCollection

public java.util.Collection getCollection()
Returns the collection.

Returns:
Collection

setCollection

public void setCollection(java.util.Collection collection)
Sets the collection.

Parameters:
collection - The collection to set

getDoubleValue

public java.lang.Double getDoubleValue()
Returns the doubleValue.

Returns:
Double

getIntegerValue

public java.lang.Integer getIntegerValue()
Returns the integerValue.

Returns:
Integer

setDoubleValue

public void setDoubleValue(java.lang.Double doubleValue)
Sets the doubleValue.

Parameters:
doubleValue - The doubleValue to set

setIntegerValue

public void setIntegerValue(java.lang.Integer integerValue)
Sets the integerValue.

Parameters:
integerValue - The integerValue to set

isChecked

public boolean isChecked()
Returns the checked.

Returns:
boolean

setChecked

public void setChecked(boolean checked)
Sets the checked.

Parameters:
checked - The checked to set

getCheckedWrapper

public java.lang.Boolean getCheckedWrapper()
Returns the checkedWrapper.

Returns:
Boolean

setCheckedWrapper

public void setCheckedWrapper(java.lang.Boolean checkedWrapper)
Sets the checkedWrapper.

Parameters:
checkedWrapper - The checkedWrapper to set

getX

public java.lang.String getX()
Returns the x.

Returns:
String

getY

public java.lang.String getY()
Returns the y.

Returns:
String

setX

public void setX(java.lang.String x)
Sets the x.

Parameters:
x - The x to set

setY

public void setY(java.lang.String y)
Sets the y.

Parameters:
y - The y to set

HDIV 2.0.4

Copyright © 2008 hdiv.org. All Rights Reserved.