org.jcoderz.commons.types.samples
Class SampleValueObject

java.lang.Object
  extended by org.jcoderz.commons.types.samples.SampleValueObjectBase
      extended by org.jcoderz.commons.types.samples.SampleValueObject
All Implemented Interfaces:
Serializable

public class SampleValueObject
extends SampleValueObjectBase
implements Serializable

sample value object value object.

Author:
generated
See Also:
Serialized Form

Constructor Summary
SampleValueObject()
          Constructs a SampleValueObject with the minimum arguments.
SampleValueObject(long aTestValue)
          Constructs a SampleValueObject with all arguments.
 
Method Summary
 boolean equals(Object object)
          Returns true if this SampleValueObject is equal to object.
 long getTestValue()
          Returns the test value.
 int hashCode()
          Override hashCode.
 void setTestValue(long aTestValue)
          Sets the test value.
 String toString()
          Creates a String representation of this object holding the state of all members.
 
Methods inherited from class org.jcoderz.commons.types.samples.SampleValueObjectBase
getTestValueBase, setTestValueBase
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SampleValueObject

public SampleValueObject()
Constructs a SampleValueObject with the minimum arguments.


SampleValueObject

public SampleValueObject(long aTestValue)
Constructs a SampleValueObject with all arguments.

Parameters:
aTestValue - The .
Method Detail

getTestValue

public long getTestValue()
Returns the test value.

Returns:
the test value.

setTestValue

public void setTestValue(long aTestValue)
Sets the test value.

Parameters:
aTestValue - the test value to be set.

toString

public String toString()
Creates a String representation of this object holding the state of all members.

Overrides:
toString in class SampleValueObjectBase
Returns:
a String representation of this object.

hashCode

public int hashCode()
Override hashCode.

Overrides:
hashCode in class SampleValueObjectBase
Returns:
the Objects hashcode.

equals

public boolean equals(Object object)
Returns true if this SampleValueObject is equal to object.

Overrides:
equals in class SampleValueObjectBase
Parameters:
object - the object to compare to.
Returns:
true if this SampleValueObject is equal to object.


Copyright 2007 The jCoderZ Project.