| java.lang.Object com.sleepycat.bind.serial.SerialSerialBinding
SerialSerialBinding | abstract public class SerialSerialBinding implements EntityBinding(Code) | | An abstract 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.
author: Mark Hayes |
SerialSerialBinding | public SerialSerialBinding(ClassCatalog classCatalog, Class keyClass, Class dataClass)(Code) | | Creates a serial-serial entity binding.
Parameters: classCatalog - is the catalog to hold shared class information andfor a database should be a StoredClassCatalog. Parameters: keyClass - is the key base class. Parameters: dataClass - is the data base class. |
SerialSerialBinding | public SerialSerialBinding(SerialBinding keyBinding, SerialBinding dataBinding)(Code) | | Creates a serial-serial entity binding.
Parameters: keyBinding - is the key binding. Parameters: dataBinding - is the data binding. |
entryToObject | abstract public Object entryToObject(Object keyInput, Object dataInput)(Code) | | Constructs an entity object from deserialized key and data objects.
Parameters: keyInput - is the deserialized key object. Parameters: dataInput - is the deserialized data object. the entity object constructed from the key and data. |
objectToData | abstract public Object objectToData(Object object)(Code) | | Extracts a data object from an entity object.
Parameters: object - is the entity object. the deserialized data object. |
objectToKey | abstract public Object objectToKey(Object object)(Code) | | Extracts a key object from an entity object.
Parameters: object - is the entity object. the deserialized key object. |
|
|