com.iternum.swlink.test.support
Class TestBean

java.lang.Object
  extended bycom.iternum.swlink.test.support.TestBean

public class TestBean
extends java.lang.Object

Author:
Karl F. Banke

Field Summary
static java.lang.String PROPERTY_BOOLEAN
          Name for propertyBoolean.
static java.lang.String PROPERTY_DATE
          Name for propertyDate.
static java.lang.String PROPERTY_DOUBLE
          Name for propertyDouble.
static java.lang.String PROPERTY_INT
          Name for propertyFour.
static java.lang.String PROPERTY_ONE
          Name for propertyOne.
static java.lang.String PROPERTY_THREE
          Name for propertyThree.
static java.lang.String PROPERTY_TWO
          Name for propertyTwo.
 
Constructor Summary
TestBean()
          Default Constructor.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener pListener)
           
 TestBean getInternalBeanOne()
           
 TestBean getInternalBeanTwo()
           
 java.util.Date getPropertyDate()
           
 double getPropertyDouble()
           
 int getPropertyInt()
           
 java.lang.String getPropertyOne()
           
 java.lang.String getPropertyTwo()
           
 java.lang.Object getResultOfInvocation()
           
 boolean isPropertyBoolean()
           
 boolean isPropertyThree()
           
 boolean isSimpleHasBeenCalled()
           
 void performParameterizedCall(java.lang.Object pArgument)
           
 void performSimpleCall()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener pListener)
           
 void setInternalBeanOne(TestBean pInternalBeanOne)
           
 void setInternalBeanTwo(TestBean pInternalBeanTwo)
           
 void setPropertyBoolean(boolean pPropertyBoolean)
           
 void setPropertyDate(java.util.Date pPropertyDate)
           
 void setPropertyDouble(double pPropertyDouble)
           
 void setPropertyInt(int pPropertyInt)
           
 void setPropertyOne(java.lang.String pPropertyOne)
           
 void setPropertyThree(boolean pPropertyThree)
           
 void setPropertyTwo(java.lang.String pPropertyTwo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_ONE

public static final java.lang.String PROPERTY_ONE
Name for propertyOne.

See Also:
Constant Field Values

PROPERTY_TWO

public static final java.lang.String PROPERTY_TWO
Name for propertyTwo.

See Also:
Constant Field Values

PROPERTY_THREE

public static final java.lang.String PROPERTY_THREE
Name for propertyThree.

See Also:
Constant Field Values

PROPERTY_INT

public static final java.lang.String PROPERTY_INT
Name for propertyFour.

See Also:
Constant Field Values

PROPERTY_DOUBLE

public static final java.lang.String PROPERTY_DOUBLE
Name for propertyDouble.

See Also:
Constant Field Values

PROPERTY_BOOLEAN

public static final java.lang.String PROPERTY_BOOLEAN
Name for propertyBoolean.

See Also:
Constant Field Values

PROPERTY_DATE

public static final java.lang.String PROPERTY_DATE
Name for propertyDate.

See Also:
Constant Field Values
Constructor Detail

TestBean

public TestBean()
Default Constructor.

Method Detail

getInternalBeanOne

public final TestBean getInternalBeanOne()
Returns:
Returns the internalBeanOne.

setInternalBeanOne

public final void setInternalBeanOne(TestBean pInternalBeanOne)
Parameters:
pInternalBeanOne - The internalBeanOne to set.

getInternalBeanTwo

public final TestBean getInternalBeanTwo()
Returns:
Returns the internalBeanTwo.

setInternalBeanTwo

public final void setInternalBeanTwo(TestBean pInternalBeanTwo)
Parameters:
pInternalBeanTwo - The internalBeanTwo to set.

getResultOfInvocation

public java.lang.Object getResultOfInvocation()
Returns:
Returns the resultOfSet.

performSimpleCall

public void performSimpleCall()

performParameterizedCall

public void performParameterizedCall(java.lang.Object pArgument)
Parameters:
pArgument - - Object that is used as call argument

getPropertyOne

public java.lang.String getPropertyOne()
Returns:
Returns the propertyOne.

setPropertyOne

public void setPropertyOne(java.lang.String pPropertyOne)
Parameters:
pPropertyOne - The propertyOne to set.

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener pListener)
Parameters:
pListener - The property change listener to add

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener pListener)
Parameters:
pListener - The listener to remove from the bean

isSimpleHasBeenCalled

public boolean isSimpleHasBeenCalled()
Returns:
Returns the simpleHasBeenCalled.

getPropertyTwo

public java.lang.String getPropertyTwo()
Returns:
Returns the propertyTwo.

setPropertyTwo

public void setPropertyTwo(java.lang.String pPropertyTwo)
Parameters:
pPropertyTwo - The propertyTwo to set.

isPropertyThree

public boolean isPropertyThree()
Returns:
Returns the propertyThree.

setPropertyThree

public void setPropertyThree(boolean pPropertyThree)
Parameters:
pPropertyThree - The propertyThree to set.

getPropertyInt

public int getPropertyInt()
Returns:
Returns the propertyFour.

setPropertyInt

public void setPropertyInt(int pPropertyInt)
Parameters:
pPropertyInt - The propertyFour to set.

isPropertyBoolean

public final boolean isPropertyBoolean()
Returns:
Returns the propertyBoolean.

setPropertyBoolean

public final void setPropertyBoolean(boolean pPropertyBoolean)
Parameters:
pPropertyBoolean - The propertyBoolean to set.

getPropertyDate

public final java.util.Date getPropertyDate()
Returns:
Returns the propertyDate.

setPropertyDate

public final void setPropertyDate(java.util.Date pPropertyDate)
Parameters:
pPropertyDate - The propertyDate to set.

getPropertyDouble

public final double getPropertyDouble()
Returns:
Returns the propertyDouble.

setPropertyDouble

public final void setPropertyDouble(double pPropertyDouble)
Parameters:
pPropertyDouble - The propertyDouble to set.