com.orientechnologies.jdo.system.schema
Class oSysDatabase

java.lang.Object
  extended bycom.orientechnologies.jdo.system.schema.oSysDatabase
All Implemented Interfaces:
InstanceCallbacks

public class oSysDatabase
extends java.lang.Object
implements InstanceCallbacks


Constructor Summary
oSysDatabase()
           
 
Method Summary
 oSysClass getClass(java.lang.String iClassName)
           
 d_Dictionary getClasses()
           
 java.util.Vector getDataSegs()
           
 java.lang.String getName()
           
 d_Dictionary getNotes()
           
 java.lang.String getUrl()
           
 void jdoPostLoad()
          Called after the values are loaded from the data store into this instance.
 void jdoPreClear()
          Called before the values in the instance are cleared.
 void jdoPreDelete()
          Called before the instance is deleted.
 void jdoPreStore()
          Called before the values are stored from this instance to the data store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

oSysDatabase

public oSysDatabase()
Method Detail

getClass

public oSysClass getClass(java.lang.String iClassName)

jdoPreDelete

public void jdoPreDelete()
Description copied from interface: InstanceCallbacks
Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values after this call are disallowed.

This method is modified by the enhancer so that fields referenced can be used in the business logic of the method.

Specified by:
jdoPreDelete in interface InstanceCallbacks

jdoPreClear

public void jdoPreClear()
Description copied from interface: InstanceCallbacks
Called before the values in the instance are cleared.

Transient fields should be cleared in this method. Associations between this instance and others in the runtime environment should be cleared.

This method is not modified by the enhancer.

Specified by:
jdoPreClear in interface InstanceCallbacks

jdoPreStore

public void jdoPreStore()
Description copied from interface: InstanceCallbacks
Called before the values are stored from this instance to the data store.

Data store fields that might have been affected by modified non-persistent fields should be updated in this method.

This method is modified by the enhancer so that changes to persistent fields will be reflected in the data store. The context in which this call is made allows access to the PersistenceManager and other persistent JDO instances.

Specified by:
jdoPreStore in interface InstanceCallbacks

jdoPostLoad

public void jdoPostLoad()
Description copied from interface: InstanceCallbacks
Called after the values are loaded from the data store into this instance.

This method is not modified by the Reference Enhancer.

Derived fields should be initialized in this method. The context in which this call is made does not allow access to other persistent JDO instances.

Specified by:
jdoPostLoad in interface InstanceCallbacks

getNotes

public d_Dictionary getNotes()

getName

public java.lang.String getName()

getClasses

public d_Dictionary getClasses()

getUrl

public java.lang.String getUrl()

getDataSegs

public java.util.Vector getDataSegs()