Inheritance diagram for com::sleepycat::bind::serial::TupleSerialMarshalledBinding:
Public Member Functions | |
TupleSerialMarshalledBinding (ClassCatalog classCatalog, Class baseClass) | |
TupleSerialMarshalledBinding (SerialBinding dataBinding) | |
Object | entryToObject (TupleInput tupleInput, Object javaInput) |
void | objectToKey (Object object, TupleOutput output) |
Object | objectToData (Object object) |
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.
Definition at line 32 of file TupleSerialMarshalledBinding.java.
|
Creates a tuple-serial marshalled binding object.
Definition at line 44 of file TupleSerialMarshalledBinding.java. |
|
Creates a tuple-serial marshalled binding object.
Definition at line 56 of file TupleSerialMarshalledBinding.java. |
|
Constructs an entity object from TupleInput key entry and deserialized data entry objects.
Implements com::sleepycat::bind::serial::TupleSerialBinding. Definition at line 62 of file TupleSerialMarshalledBinding.java. References com::sleepycat::bind::tuple::MarshalledTupleKeyEntity::unmarshalPrimaryKey(). Referenced by com::sleepycat::bind::serial::TupleSerialMarshalledKeyCreator::createSecondaryKey(), and com::sleepycat::bind::serial::TupleSerialMarshalledKeyCreator::nullifyForeignKey(). |
|
Extracts a data object from an entity object.
Implements com::sleepycat::bind::serial::TupleSerialBinding. Definition at line 86 of file TupleSerialMarshalledBinding.java. |
|
Extracts a key tuple from an entity object.
Implements com::sleepycat::bind::serial::TupleSerialBinding. Definition at line 77 of file TupleSerialMarshalledBinding.java. References com::sleepycat::bind::tuple::MarshalledTupleKeyEntity::marshalPrimaryKey(). |