com.xenonsoft.bridgetown.test
Class CrashTestDummy

java.lang.Object
  extended bycom.xenonsoft.bridgetown.test.CrashTestDummy
All Implemented Interfaces:
java.io.Serializable

public class CrashTestDummy
extends java.lang.Object
implements java.io.Serializable

A crash test dummy value object to test and verify the operation of Bridgetown Framework. This is a test service bean

Version:
$Id: CrashTestDummy.java,v 1.8 2005/03/29 23:42:21 peter_pilgrim Exp $
Author:
Peter Pilgrim, 02-Aug-2004
See Also:
Serialized Form

Constructor Summary
CrashTestDummy()
          Default constructor
CrashTestDummy(java.lang.String aString, java.math.BigDecimal aDecimal)
          Special constructor for testing
CrashTestDummy(java.lang.String aString, char aChar, short aShort, int anInt, long aLong)
          Special constructor for testing
CrashTestDummy(java.lang.String aString, float aFloat, double aDouble)
          Special constructor for testing
 
Method Summary
 void destroy(java.lang.String text)
          Destroy method A mock method that is called by the assembly the destroy method
 byte getFldByte()
          Gets the fldByte
 char getFldChar()
          Gets the fldChar
 java.math.BigDecimal getFldDecimal()
          Gets the fldDecimal
 double getFldDouble()
          Gets the fldDouble
 float getFldFloat()
          Gets the fldFloat
 int getFldInt()
          Gets the fldInt
 long getFldLong()
          Gets the fldLong
 short getFldShort()
          Gets the fldShort
 java.lang.String getFldString()
          Gets the fldString
 java.lang.String goodbye(java.lang.String firstName)
          Simple greeting method that is used to test method injection and proxy interception
 java.lang.String hello(java.lang.String firstName)
          Simple greeting method that is used to test method injection and proxy interception
 void setFldByte(byte byte1)
          Sets the fldByte
 void setFldChar(char char1)
          Sets the fldChar
 void setFldDecimal(java.math.BigDecimal fldDecimal)
          Sets the fldDecimal
 void setFldDouble(double double1)
          Sets the fldDouble
 void setFldFloat(float float1)
          Sets the fldFloat
 void setFldInt(int int1)
          Sets the fldInt
 void setFldLong(long long1)
          Sets the fldLong
 void setFldShort(short short1)
          Sets the fldShort
 void setFldString(java.lang.String string)
          Sets the fldString
 java.lang.String toString()
          Gets debuggable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrashTestDummy

public CrashTestDummy()
Default constructor


CrashTestDummy

public CrashTestDummy(java.lang.String aString,
                      java.math.BigDecimal aDecimal)
Special constructor for testing


CrashTestDummy

public CrashTestDummy(java.lang.String aString,
                      float aFloat,
                      double aDouble)
Special constructor for testing


CrashTestDummy

public CrashTestDummy(java.lang.String aString,
                      char aChar,
                      short aShort,
                      int anInt,
                      long aLong)
Special constructor for testing

Method Detail

hello

public java.lang.String hello(java.lang.String firstName)
Simple greeting method that is used to test method injection and proxy interception

Parameters:
firstName - your first name
Returns:
the text message

goodbye

public java.lang.String goodbye(java.lang.String firstName)
Simple greeting method that is used to test method injection and proxy interception

Parameters:
firstName - your first name
Returns:
the text message

getFldChar

public char getFldChar()
Gets the fldChar

Returns:
Returns the fldChar.

setFldChar

public void setFldChar(char char1)
Sets the fldChar

Parameters:
char1 - The fldChar to set.

getFldByte

public byte getFldByte()
Gets the fldByte

Returns:
Returns the fldByte.

setFldByte

public void setFldByte(byte byte1)
Sets the fldByte

Parameters:
byte1 - The fldByte to set.

getFldDouble

public double getFldDouble()
Gets the fldDouble

Returns:
Returns the fldDouble.

setFldDouble

public void setFldDouble(double double1)
Sets the fldDouble

Parameters:
double1 - The fldDouble to set.

getFldFloat

public float getFldFloat()
Gets the fldFloat

Returns:
Returns the fldFloat.

setFldFloat

public void setFldFloat(float float1)
Sets the fldFloat

Parameters:
float1 - The fldFloat to set.

getFldInt

public int getFldInt()
Gets the fldInt

Returns:
Returns the fldInt.

setFldInt

public void setFldInt(int int1)
Sets the fldInt

Parameters:
int1 - The fldInt to set.

getFldLong

public long getFldLong()
Gets the fldLong

Returns:
Returns the fldLong.

setFldLong

public void setFldLong(long long1)
Sets the fldLong

Parameters:
long1 - The fldLong to set.

getFldShort

public short getFldShort()
Gets the fldShort

Returns:
Returns the fldShort.

setFldShort

public void setFldShort(short short1)
Sets the fldShort

Parameters:
short1 - The fldShort to set.

getFldString

public java.lang.String getFldString()
Gets the fldString

Returns:
Returns the fldString.

setFldString

public void setFldString(java.lang.String string)
Sets the fldString

Parameters:
string - The fldString to set.

getFldDecimal

public java.math.BigDecimal getFldDecimal()
Gets the fldDecimal

Returns:
Returns the fldDecimal.

setFldDecimal

public void setFldDecimal(java.math.BigDecimal fldDecimal)
Sets the fldDecimal

Parameters:
fldDecimal - The fldDecimal to set.

destroy

public void destroy(java.lang.String text)
Destroy method A mock method that is called by the assembly the destroy method

Parameters:
text - the text message

toString

public java.lang.String toString()
Gets debuggable string



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.