org.jcoderz.commons.types.samples
Class SampleValueObjectBase

java.lang.Object
  extended by org.jcoderz.commons.types.samples.SampleValueObjectBase
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SampleValueObject, TaggedSampleValueObject

public class SampleValueObjectBase
extends Object
implements Serializable

sample value object base value object.

Author:
generated
See Also:
Serialized Form

Constructor Summary
SampleValueObjectBase()
          Constructs a SampleValueObjectBase with the minimum arguments.
SampleValueObjectBase(long aTestValueBase)
          Constructs a SampleValueObjectBase with all arguments.
SampleValueObjectBase(SampleValueObjectBase aSampleValueObjectBase)
          Copy constructor for SampleValueObjectBase.
 
Method Summary
 boolean equals(Object object)
          Returns true if this SampleValueObjectBase is equal to object.
 long getTestValueBase()
          Returns the test value base.
 int hashCode()
          Override hashCode.
 void setTestValueBase(long aTestValueBase)
          Sets the test value base.
 String toString()
          Creates a String representation of this object holding the state of all members.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SampleValueObjectBase

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


SampleValueObjectBase

public SampleValueObjectBase(long aTestValueBase)
Constructs a SampleValueObjectBase with all arguments.

Parameters:
aTestValueBase - The .

SampleValueObjectBase

public SampleValueObjectBase(SampleValueObjectBase aSampleValueObjectBase)
Copy constructor for SampleValueObjectBase. No deep copy is performed.

Parameters:
aSampleValueObjectBase - The SampleValueObjectBase to be copied.
Method Detail

getTestValueBase

public long getTestValueBase()
Returns the test value base.

Returns:
the test value base.

setTestValueBase

public void setTestValueBase(long aTestValueBase)
Sets the test value base.

Parameters:
aTestValueBase - the test value base to be set.

toString

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

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

hashCode

public int hashCode()
Override hashCode.

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

equals

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

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


Copyright 2007 The jCoderZ Project.