freemarker.testcase.beans
Class SimpleBean

java.lang.Object
  |
  +--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,v 1.5 2003/11/28 01:17:07 run2000 Exp $

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.
 short getShortValue()
          Retrieve a short value from the bean.
 void setShortValue(short shortValue)
          Sets the bean with a short value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

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.