|
DODS 6.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sql.CoreDO
com.lutris.appserver.server.sql.CloneableDO
Base class from which the data objects are created. Provides functionality for cloning data objects. The cloned data object will have a unique object identifier.
Field Summary |
Fields inherited from class com.lutris.appserver.server.sql.CoreDO |
originalData, persistent, versioning |
Constructor Summary | |
CloneableDO()
Public constructor. |
|
CloneableDO(java.sql.ResultSet rs)
Public constructor. |
Method Summary | |
protected java.lang.Object |
clone()
Will clone the existing object keeping a fields the same, including the object id. |
java.lang.Object |
cloneUnique()
Creates a clone of the object, but ensures that a new and unique object id is created for the object and that the version number is set to zero. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CloneableDO()
public CloneableDO(java.sql.ResultSet rs) throws java.sql.SQLException, ObjectIdException
rs
- a result set.
java.sql.SQLException
- if an error occurs while instantiating this
object from the result set.
ObjectIdException
- if the object id for this object is
invalid.Method Detail |
public java.lang.Object cloneUnique() throws DatabaseManagerException, ObjectIdException
DatabaseManagerException
- if an error occurs while
allocation a new object id from the default logical database.
ObjectIdException
- if a new object id could not be
allocated.protected java.lang.Object clone()
|
DODS 6.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |