|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.core.EntityObject
public class EntityObject
This is a base class representing an entity object.
Constructor Summary | |
---|---|
EntityObject()
Creates a new instance of EntityObject |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone implementation. |
boolean |
equals(java.lang.Object o)
Say if an object is equals to this one, based on id. |
long |
getId()
Get this entity unique identifier. |
int |
hashCode()
Produce a hash code based on id. |
boolean |
isTransient()
Tell if this entity has already been persisted into datastore. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityObject()
Method Detail |
---|
public long getId()
public boolean isTransient()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if an error occurspublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- AN object to compare with this Entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |