db4o

IObjectClass.Translate Method 

registers a translator for this class.

void Translate(
   IObjectTranslator translator
);

Parameters

translator
this may be an ObjectTranslator or an ObjectConstructor

Remarks

registers a translator for this class.

Preinstalled translators are documented in the sourcecode of com.db4o.samples.translators.Default.java#defaultConfiguration().

Example translators can also be found in this folder.



The use of an ObjectTranslator is not compatible with the use of an ObjectMarshaller .

See Also

IObjectClass Interface | Db4objects.Db4o.Config Namespace | Db4objects.Db4o.Config.IObjectTranslator | Db4objects.Db4o.Config.IObjectConstructor