Package com.db4o.config
Class TCollection
- java.lang.Object
- 
- com.db4o.config.TCollection
 
- 
- All Implemented Interfaces:
- ObjectTranslator
 
 public class TCollection extends java.lang.Object implements ObjectTranslator 
- 
- 
Constructor SummaryConstructors Constructor Description TCollection()
 - 
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.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)
 
 
- 
 
-