Inheritance diagram for com::sleepycat::bind::serial::SerialSerialBinding:
Public Member Functions | |
SerialSerialBinding (ClassCatalog classCatalog, Class keyClass, Class dataClass) | |
SerialSerialBinding (SerialBinding keyBinding, SerialBinding dataBinding) | |
Object | entryToObject (DatabaseEntry key, DatabaseEntry data) |
void | objectToKey (Object object, DatabaseEntry key) |
void | objectToData (Object object, DatabaseEntry data) |
abstract Object | entryToObject (Object keyInput, Object dataInput) |
abstract Object | objectToKey (Object object) |
abstract Object | objectToData (Object object) |
EntityBinding
that treats an entity's key entry and data entry as serialized objects.This class takes care of serializing and deserializing the key and data entry automatically. Its three abstract methods must be implemented by a concrete subclass to convert the deserialized objects to/from an entity object.
Definition at line 31 of file SerialSerialBinding.java.
|
Creates a serial-serial entity binding.
Definition at line 46 of file SerialSerialBinding.java. |
|
Creates a serial-serial entity binding.
Definition at line 61 of file SerialSerialBinding.java. |
|
Constructs an entity object from deserialized key and data objects.
|
|
Converts key and data entry buffers into an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 69 of file SerialSerialBinding.java. References com::sleepycat::bind::serial::SerialBinding::entryToObject(). |
|
Extracts a data object from an entity object.
|
|
Extracts the data entry from an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 83 of file SerialSerialBinding.java. References com::sleepycat::bind::serial::SerialBinding::objectToEntry(). |
|
Extracts a key object from an entity object.
|
|
Extracts the key entry from an entity Object.
Implements com::sleepycat::bind::EntityBinding. Definition at line 76 of file SerialSerialBinding.java. References com::sleepycat::bind::serial::SerialBinding::objectToEntry(). |