Package com.db4o.config
Class TTransient
- java.lang.Object
- 
- com.db4o.config.TTransient
 
- 
- All Implemented Interfaces:
- ObjectConstructor,- ObjectTranslator
 
 public class TTransient extends java.lang.Object implements ObjectConstructor 
- 
- 
Constructor SummaryConstructors Constructor Description TTransient()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonActivate(ObjectContainer con, java.lang.Object object, java.lang.Object members)db4o calls this method during activation.java.lang.ObjectonInstantiate(ObjectContainer container, java.lang.Object storedObject)db4o calls this method when a stored object needs to be instantiated.java.lang.ObjectonStore(ObjectContainer con, java.lang.Object object)db4o calls this method during storage and query evaluation.java.lang.ClassstoredClass()return the Class you are converting to.
 
- 
- 
- 
Method Detail- 
onStorepublic java.lang.Object onStore(ObjectContainer con, java.lang.Object object) Description copied from interface:ObjectTranslatordb4o calls this method during storage and query evaluation.- Specified by:
- onStorein interface- ObjectTranslator
- Parameters:
- con- the ObjectContainer used
- object- the Object to be translated
- Returns:
- return the object to store.
 It needs to be of the classObjectTranslator.storedClass().
 
 - 
onActivatepublic void onActivate(ObjectContainer con, java.lang.Object object, java.lang.Object members) Description copied from interface:ObjectTranslatordb4o calls this method during activation.- Specified by:
- onActivatein interface- ObjectTranslator
- Parameters:
- con- the ObjectContainer used
- object- the object to set the members on
- members- the object that was stored
 
 - 
storedClasspublic java.lang.Class storedClass() Description copied from interface:ObjectTranslatorreturn the Class you are converting to.- Specified by:
- storedClassin interface- ObjectTranslator
- Returns:
- the Class of the object you are returning with the method
 ObjectTranslator.onStore(ObjectContainer, Object)
 
 - 
onInstantiatepublic java.lang.Object onInstantiate(ObjectContainer container, java.lang.Object storedObject) Description copied from interface:ObjectConstructordb4o calls this method when a stored object needs to be instantiated.- Specified by:
- onInstantiatein interface- ObjectConstructor
- Parameters:
- container- the ObjectContainer used
- storedObject- the object stored with- ObjectTranslator.onStore.
- Returns:
- the instantiated object.
 
 
- 
 
-