| com.sleepycat.bind.serial.TupleSerialBinding com.sleepycat.bind.serial.TupleSerialMarshalledBinding
TupleSerialMarshalledBinding | public class TupleSerialMarshalledBinding extends TupleSerialBinding (Code) | | A concrete TupleSerialBinding that delegates to the
MarshalledTupleKeyEntity interface of the entity class.
The
MarshalledTupleKeyEntity interface must be implemented by the
entity class to convert between the key/data entry and entity object.
The binding is "tricky" in that it uses the entity class for both the
stored data entry and the combined entity object. To do this, the entity's
key field(s) are transient and are set by the binding after the data object
has been deserialized. This avoids the use of a "data" class completely.
author: Mark Hayes See Also: MarshalledTupleKeyEntity |
TupleSerialMarshalledBinding | public TupleSerialMarshalledBinding(ClassCatalog classCatalog, Class baseClass)(Code) | | Creates a tuple-serial marshalled binding object.
Parameters: classCatalog - is the catalog to hold shared class information andfor a database should be a StoredClassCatalog. Parameters: baseClass - is the base class for serialized objects stored usingthis binding -- all objects using this binding must be an instance ofthis class. |
TupleSerialMarshalledBinding | public TupleSerialMarshalledBinding(SerialBinding dataBinding)(Code) | | Creates a tuple-serial marshalled binding object.
Parameters: dataBinding - is the binding used for serializing and deserializingthe entity object. |
|
|