public class DBObjectImpl extends Object implements DBObject
DBObject.| Constructor and Description |
|---|
DBObjectImpl(Surrogate surrogate)
Construct a
DBObject. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DatabaseBackend |
getDatabase()
Return the database of the object.
|
DBObjectId |
getId()
Return the id of this database object.
|
Surrogate |
getSurrogate()
Return the surrogate for this database object.
|
int |
hashCode() |
boolean |
inConstruction()
Test whether the data object is in the database or is a new object being
constructed.
|
boolean |
isValid()
Return true if the database object was not deleted.
|
public DBObjectId getId()
DBObjectgetId in interface DBObjectDBObjectId or nullpublic Surrogate getSurrogate()
DBObjectgetSurrogate in interface DBObjectpublic DatabaseBackend getDatabase()
DBObjectgetDatabase in interface DBObjectpublic boolean inConstruction()
DBObjectinConstruction in interface DBObjectpublic boolean isValid()
DBObjectCopyright © 2017. All rights reserved.