freemarker.testcase.beans
Class SimpleBean

java.lang.Object
  extended by freemarker.testcase.beans.SimpleBean

public final class SimpleBean
extends java.lang.Object

Simple bean for use with the TestBeanModels test case.

Version:
$Id: SimpleBean.java 1095 2005-09-05 13:08:40Z run2000 $

Field Summary
 java.util.List list2
           
 
Constructor Summary
SimpleBean()
          Default constructor that sets up a bunch of values so that the freemarker.ext.beans package can find them.
 
Method Summary
 int checkList(java.util.List arguments)
          Method call to check for method overloading.
 int checkMap(java.util.Map arguments)
          Method call to check for method overloading.
 byte getByteValue()
          Retrieve a byte value from the bean.
 java.lang.Double getDoubleObject()
          Retrieve a double object from the bean.
 java.lang.Float getFloatObject()
          Retrieve a float object from the bean.
 int getIntValue()
          Retrieve an integer value from the bean.
 long getLongValue()
          Retrieve a long value from the bean.
 java.lang.String getMessage()
          Retrieve a string value from the bean.
 java.util.Set getRandomSet()
          Retrieve a Set object from the bean.
 short getShortValue()
          Retrieve a short value from the bean.
 void setArray1(boolean[] array)
           
 void setArray2(java.lang.Integer[] array)
           
 void setArray3(java.lang.String[] array)
           
 void setArray4(int[] array)
           
 void setArray5(java.lang.Number[] array)
           
 void setArray6(java.lang.Object[] array)
           
 void setBigDecimal(java.math.BigDecimal bd1)
           
 void setBigInt(java.math.BigInteger bi1)
           
 void setDouble(double d)
           
 void setFloat(float f)
           
 void setLinkedList(java.util.LinkedList list)
           
 void setList(java.util.List list)
           
 void setSet(java.util.Set set)
           
 void setShortValue(short shortValue)
          Sets the bean with a short value.
 void setSortedSet(java.util.SortedSet set)
           
 void setVector(java.util.Vector list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list2

public java.util.List list2
Constructor Detail

SimpleBean

public SimpleBean()
Default constructor that sets up a bunch of values so that the freemarker.ext.beans package can find them.

Method Detail

getIntValue

public int getIntValue()
Retrieve an integer value from the bean.


getLongValue

public long getLongValue()
Retrieve a long value from the bean.


getShortValue

public short getShortValue()
Retrieve a short value from the bean.


getByteValue

public byte getByteValue()
Retrieve a byte value from the bean.


setShortValue

public void setShortValue(short shortValue)
Sets the bean with a short value.


getMessage

public java.lang.String getMessage()
Retrieve a string value from the bean.


getDoubleObject

public java.lang.Double getDoubleObject()
Retrieve a double object from the bean.


getFloatObject

public java.lang.Float getFloatObject()
Retrieve a float object from the bean.


getRandomSet

public java.util.Set getRandomSet()
Retrieve a Set object from the bean.


checkList

public int checkList(java.util.List arguments)
Method call to check for method overloading.


checkMap

public int checkMap(java.util.Map arguments)
Method call to check for method overloading.


setArray1

public void setArray1(boolean[] array)

setArray2

public void setArray2(java.lang.Integer[] array)

setArray3

public void setArray3(java.lang.String[] array)

setArray4

public void setArray4(int[] array)

setArray5

public void setArray5(java.lang.Number[] array)

setArray6

public void setArray6(java.lang.Object[] array)

setVector

public void setVector(java.util.Vector list)

setList

public void setList(java.util.List list)

setSet

public void setSet(java.util.Set set)

setSortedSet

public void setSortedSet(java.util.SortedSet set)

setLinkedList

public void setLinkedList(java.util.LinkedList list)

setBigInt

public void setBigInt(java.math.BigInteger bi1)

setBigDecimal

public void setBigDecimal(java.math.BigDecimal bd1)

setDouble

public void setDouble(double d)

setFloat

public void setFloat(float f)