public class DbObject
extends org.zoodb.api.impl.ZooPC
Constructor and Description |
---|
DbObject()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getFirstLevel()
Gets whether an object is a first level object or not i.e.
|
long |
getId()
Returns the id of the object.
|
void |
readDBMode()
Sets the ZooDB to read mode
|
void |
setFirstLevel(boolean firstLevel)
Sets whether an object is a first level object or not i.e.
|
void |
setId(long id)
Sets the id of the object.
|
void |
writeDBMode()
Sets the ZooDB to write mode
|
jdoZooEvict, jdoZooGetBackup, jdoZooGetClassDef, jdoZooGetContext, jdoZooGetNode, jdoZooGetOid, jdoZooGetTimestamp, jdoZooHasState, jdoZooInit, jdoZooIsDeleted, jdoZooIsDetached, jdoZooIsDirty, jdoZooIsNew, jdoZooIsPersistent, jdoZooIsStateHollow, jdoZooIsTransactional, jdoZooMarkClean, jdoZooMarkDeleted, jdoZooMarkDetached, jdoZooMarkDirty, jdoZooMarkHollow, jdoZooMarkTransient, jdoZooSetOid, jdoZooSetTimestamp, toString, zooActivateRead, zooActivateWrite, zooActivateWrite
public long getId()
public void setId(long id)
id
- the id of the objectpublic boolean getFirstLevel()
public void setFirstLevel(boolean firstLevel)
firstLevel
- first level flagpublic void readDBMode()
public void writeDBMode()
Copyright © 2019. All rights reserved.