|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.orm.DataObject
public abstract class DataObject
This is the superclass for all Encog Hibernate persisted classes. It provides basic versioning and object id functions required by all Encog database persisted classes. Do not confuse this class with the EncogPersistedCollection class, which is used to save neural networks and related files to disk. This class is exclusively used for database mapped objects.
| Constructor Summary | |
|---|---|
DataObject()
|
|
| Method Summary | |
|---|---|
protected void |
copy(DataObject source)
Copy this object from another. |
boolean |
equals(java.lang.Object obj)
Determine if this object equals another. |
protected static boolean |
getBooleanValue(java.lang.Boolean value)
Convert a Boolean value. |
java.util.Date |
getCreated()
|
java.lang.Long |
getId()
|
java.util.Date |
getLastUpdate()
|
int |
getVersion()
|
void |
setCreated(java.util.Date created)
Set the create date for this object. |
void |
setLastUpdate(java.util.Date lastUpdate)
Set the last update date. |
abstract void |
validate()
Validate this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataObject()
| Method Detail |
|---|
protected static boolean getBooleanValue(java.lang.Boolean value)
value - The boolean value.
protected void copy(DataObject source)
source - The object being copied.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The other object to test equality with.
public java.util.Date getCreated()
public java.lang.Long getId()
public java.util.Date getLastUpdate()
public int getVersion()
public void setCreated(java.util.Date created)
created - The date this object was created.public void setLastUpdate(java.util.Date lastUpdate)
lastUpdate - The last update date.public abstract void validate()
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||