|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.types.samples.BarValueObject
public class BarValueObject
The Bar is documented here!
| Constructor Summary | |
|---|---|
BarValueObject(BarValueObject aBarValueObject)
Copy constructor for BarValueObject. |
|
BarValueObject(Date aCreationDate)
Constructs a BarValueObject with the minimum arguments. |
|
BarValueObject(long aId,
Date aCreationDate)
Constructs a BarValueObject with all arguments. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Returns true if this BarValueObject
is equal to object. |
Date |
getCreationDate()
Returns the creation date of Buz. |
long |
getId()
Returns the unique identifier for Foo. |
int |
hashCode()
Override hashCode. |
void |
setId(long aId)
Sets the unique identifier for Foo. |
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 |
|---|
public BarValueObject(Date aCreationDate)
aCreationDate - The creation date of Buz.
public BarValueObject(long aId,
Date aCreationDate)
aId - The unique identifier for Foo.aCreationDate - The creation date of Buz.public BarValueObject(BarValueObject aBarValueObject)
aBarValueObject - The BarValueObject
to be copied.| Method Detail |
|---|
public long getId()
public void setId(long aId)
aId - the unique identifier for Foo to be set.public Date getCreationDate()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
true if this BarValueObject
is equal to object.
equals in class Objectobject - the object to compare to.
true if this BarValueObject
is equal to object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||