spec.benchmarks.serial.data
Class TestPayload
java.lang.Object
spec.benchmarks.serial.data.TestPayload
- All Implemented Interfaces:
- java.io.Serializable
public class TestPayload
- extends java.lang.Object
- implements java.io.Serializable
*
- Author:
- Tom Elrod
- See Also:
- Serialized Form
Constructor Summary |
TestPayload()
Jbossserialization requires a default constructor. * We could accept
private constructors |
TestPayload(java.lang.String name,
int id)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TestPayload
public TestPayload()
- Jbossserialization requires a default constructor. * We could accept
private constructors
TestPayload
public TestPayload(java.lang.String name,
int id)
createTestInstance
public static TestPayload createTestInstance()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setChild
public void setChild(TestPayload child)
getChild
public TestPayload getChild()
getName
public java.lang.String getName()
getId
public int getId()
getIdentity
public java.lang.String getIdentity()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object