spec.benchmarks.serial.data
Class TestPayload

java.lang.Object
  extended by 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)
           
 
Method Summary
static TestPayload createTestInstance()
           
 boolean equals(java.lang.Object obj)
           
 TestPayload getChild()
           
 int getId()
           
 java.lang.String getIdentity()
           
 java.lang.String getName()
           
 void setChild(TestPayload child)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPayload

public TestPayload()
Jbossserialization requires a default constructor. * We could accept private constructors


TestPayload

public TestPayload(java.lang.String name,
                   int id)
Method Detail

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