Inheritance diagram for com::sleepycat::bind::tuple::TupleTupleMarshalledBinding:
Public Member Functions | |
TupleTupleMarshalledBinding (Class cls) | |
Object | entryToObject (TupleInput keyInput, TupleInput dataInput) |
void | objectToKey (Object object, TupleOutput output) |
void | objectToData (Object object, TupleOutput output) |
TupleTupleBinding
that delegates to the MarshalledTupleEntry
and MarshalledTupleKeyEntity
interfaces of the entity class.This class calls the methods of the MarshalledTupleEntry interface to convert between the data entry and entity object. It calls the methods of the MarshalledTupleKeyEntity interface to convert between the key entry and the entity object. These two interfaces must both be implemented by the entity class.
Definition at line 27 of file TupleTupleMarshalledBinding.java.
|
Creates a tuple-tuple marshalled binding object. The given class is used to instantiate entity objects using Class#forName, and therefore must be a public class and have a public no-arguments constructor. It must also implement the MarshalledTupleEntry and MarshalledTupleKeyEntity interfaces.
Definition at line 42 of file TupleTupleMarshalledBinding.java. |
|
Constructs an entity object from TupleInput key and data entries.
Implements com::sleepycat::bind::tuple::TupleTupleBinding. Definition at line 59 of file TupleTupleMarshalledBinding.java. References com::sleepycat::bind::tuple::MarshalledTupleEntry::unmarshalEntry(), and com::sleepycat::bind::tuple::MarshalledTupleKeyEntity::unmarshalPrimaryKey(). Referenced by com::sleepycat::bind::tuple::TupleTupleMarshalledKeyCreator::createSecondaryKey(), and com::sleepycat::bind::tuple::TupleTupleMarshalledKeyCreator::nullifyForeignKey(). |
|
Extracts a key tuple from an entity object.
Implements com::sleepycat::bind::tuple::TupleTupleBinding. Definition at line 89 of file TupleTupleMarshalledBinding.java. References com::sleepycat::bind::tuple::MarshalledTupleEntry::marshalEntry(). Referenced by com::sleepycat::bind::tuple::TupleTupleMarshalledKeyCreator::nullifyForeignKey(). |
|
Extracts a key tuple from an entity object.
Implements com::sleepycat::bind::tuple::TupleTupleBinding. Definition at line 82 of file TupleTupleMarshalledBinding.java. References com::sleepycat::bind::tuple::MarshalledTupleKeyEntity::marshalPrimaryKey(). |