db4o

ObjectTranslator.onStore Method 

db4o calls this method during storage and query evaluation.

[Visual Basic]
Function onStore( _ 
   ByVal container As ObjectContainer, _ 
   ByVal applicationObject As Object _ 
) As Object
[C#]
object onStore(
   ObjectContainer container,
   object applicationObject
);
[C++]
Object* onStore(
   ObjectContainer* container,
   Object* applicationObject
);
[JScript]
function onStore(
   ObjectContainer container,
   Object applicationObject
): Object;

Parameters

container
the ObjectContainer used
applicationObject
the Object to be translated

Return Value

return the object to store.
It needs to be of the class storedClass() .

Remarks

db4o calls this method during storage and query evaluation.

See Also

ObjectTranslator Interface | com.db4o.config Namespace