junitx.ddtunit.resources
Class SimpleVO

java.lang.Object
  extended by junitx.ddtunit.resources.SimpleVO
Direct Known Subclasses:
SimpleVOExtend, SimpleVOExtendByEnumerator

public class SimpleVO
extends Object

Example test resource representing a set of value objects usually used as transport medium between different architectural system layers.

Author:
jg

Constructor Summary
SimpleVO()
          Default constructor.
SimpleVO(String text)
           
SimpleVO(String text, Integer intValue, Double doubleValue)
           
 
Method Summary
 boolean equals(Object object)
          overwrite default equals() method
 Date getDateValue()
           
 Double getDoubleValue()
           
 Integer getIntegerValue()
           
 String getStringValue()
           
 int hashCode()
          Overwrite default hashCode()
 void setDateValue(Date dateValue)
           
 void setDoubleValue(Double doubleValue)
           
 void setIntegerValue(Integer integerValue)
           
 void setStringValue(String stringValue)
           
 String toString()
          Overwrite toString() method with instance specific information
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleVO

public SimpleVO()
Default constructor.


SimpleVO

public SimpleVO(String text)
Parameters:
text -

SimpleVO

public SimpleVO(String text,
                Integer intValue,
                Double doubleValue)
Parameters:
text -
intValue -
doubleValue -
Method Detail

toString

public String toString()
Overwrite toString() method with instance specific information

Overrides:
toString in class Object

equals

public boolean equals(Object object)
overwrite default equals() method

Overrides:
equals in class Object

hashCode

public int hashCode()
Overwrite default hashCode()

Overrides:
hashCode in class Object

getDoubleValue

public Double getDoubleValue()
Returns:
Returns the doubleValue.

setDoubleValue

public void setDoubleValue(Double doubleValue)
Parameters:
doubleValue - The doubleValue to set.

getIntegerValue

public Integer getIntegerValue()
Returns:
Returns the integerValue.

setIntegerValue

public void setIntegerValue(Integer integerValue)
Parameters:
integerValue - The integerValue to set.

getStringValue

public String getStringValue()
Returns:
Returns the stringValue.

setStringValue

public void setStringValue(String stringValue)
Parameters:
stringValue - The stringValue to set.

getDateValue

public Date getDateValue()

setDateValue

public void setDateValue(Date dateValue)


Copyright © 2004-2011. All Rights Reserved.