|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunitx.ddtunit.resources.SimplePrimitiveVO
public class SimplePrimitiveVO
Example test resource representing a set of value objects usually used as transport medium between different architectural system layers.
| Constructor Summary | |
|---|---|
SimplePrimitiveVO()
Default constructor. |
|
SimplePrimitiveVO(String text)
|
|
SimplePrimitiveVO(String text,
int intValue,
double doubleValue)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
overwrite default equals() method |
double |
getDoubleValue()
|
int |
getIntegerValue()
|
String |
getStringValue()
|
int |
hashCode()
Overwrite default hashCode() |
void |
setDoubleValue(double doubleValue)
|
void |
setIntegerValue(int 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 |
|---|
public SimplePrimitiveVO()
public SimplePrimitiveVO(String text)
text -
public SimplePrimitiveVO(String text,
int intValue,
double doubleValue)
text - intValue - doubleValue - | Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic double getDoubleValue()
public void setDoubleValue(double doubleValue)
doubleValue - The doubleValue to set.public int getIntegerValue()
public void setIntegerValue(int integerValue)
integerValue - The integerValue to set.public String getStringValue()
public void setStringValue(String stringValue)
stringValue - The stringValue to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||