|
Arch4J 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.arch4j.persistence.domainmapper.BaseDomain
The base class of all domain objects.
| Constructor Summary | |
BaseDomain()
Constructs an instance of the domain superclass and initializes the id to a universally unique identifier. |
|
BaseDomain(Serializable id,
long version)
Constructs an instance of the domain superclass with the specified id and version. |
|
| Method Summary | |
boolean |
equals(Object o)
|
Serializable |
getId()
Getter for property id. |
long |
getVersion()
Getter for the version |
int |
hashCode()
|
void |
setVersion(long aVersion)
Setter for the version |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BaseDomain()
public BaseDomain(Serializable id,
long version)
| Method Detail |
public Serializable getId()
public long getVersion()
public void setVersion(long aVersion)
aVersion - the new versionpublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Arch4J 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||