org.jcoderz.commons.types
Class TaggedSampleValueObject

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

public class TaggedSampleValueObject
extends SampleValueObjectBase
implements Serializable, TestTaggerInterface

tagged sample value object value object.

Author:
generated
See Also:
Serialized Form

Constructor Summary
TaggedSampleValueObject()
          Constructs a TaggedSampleValueObject with the minimum arguments.
TaggedSampleValueObject(long aTestValue)
          Constructs a TaggedSampleValueObject with all arguments.
 
Method Summary
 boolean equals(Object object)
          Returns true if this TaggedSampleValueObject 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

TaggedSampleValueObject

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


TaggedSampleValueObject

public TaggedSampleValueObject(long aTestValue)
Constructs a TaggedSampleValueObject 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 TaggedSampleValueObject is equal to object.

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


Copyright 2007 The jCoderZ Project.