Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

com::sleepycat::bind::EntityBinding Interface Reference

Inheritance diagram for com::sleepycat::bind::EntityBinding:

com::sleepycat::bind::serial::SerialSerialBinding com::sleepycat::bind::serial::TupleSerialBinding com::sleepycat::bind::tuple::TupleTupleBinding com::sleepycat::collections::test::TestEntityBinding com::sleepycat::bind::serial::TupleSerialMarshalledBinding com::sleepycat::bind::tuple::TupleTupleMarshalledBinding

Public Member Functions

Object entryToObject (DatabaseEntry key, DatabaseEntry data)

Package Functions

void objectToKey (Object object, DatabaseEntry key)
void objectToData (Object object, DatabaseEntry data)

Detailed Description

A binding between a key-value entry pair and an entity object.

Author:
Mark Hayes

Definition at line 19 of file EntityBinding.java.


Member Function Documentation

Object com::sleepycat::bind::EntityBinding::entryToObject DatabaseEntry  key,
DatabaseEntry  data
 

Converts key and data entry buffers into an entity Object.

Parameters:
key is the source key entry.
data is the source data entry.
Returns:
the resulting Object.

Implemented in com::sleepycat::bind::serial::SerialSerialBinding, com::sleepycat::bind::serial::TupleSerialBinding, com::sleepycat::bind::tuple::TupleTupleBinding, and com::sleepycat::collections::test::TestEntityBinding.

Referenced by com::sleepycat::collections::DataView::makeValue().

void com::sleepycat::bind::EntityBinding::objectToData Object  object,
DatabaseEntry  data
[package]
 

Extracts the data entry from an entity Object.

Parameters:
object is the source Object.
data is the destination entry buffer.

Implemented in com::sleepycat::bind::serial::SerialSerialBinding, com::sleepycat::bind::serial::TupleSerialBinding, com::sleepycat::bind::tuple::TupleTupleBinding, and com::sleepycat::collections::test::TestEntityBinding.

Referenced by com::sleepycat::collections::DataView::useKey(), and com::sleepycat::collections::DataView::useValue().

void com::sleepycat::bind::EntityBinding::objectToKey Object  object,
DatabaseEntry  key
[package]
 

Extracts the key entry from an entity Object.

Parameters:
object is the source Object.
key is the destination entry buffer.

Implemented in com::sleepycat::bind::serial::SerialSerialBinding, com::sleepycat::bind::serial::TupleSerialBinding, com::sleepycat::bind::tuple::TupleTupleBinding, and com::sleepycat::collections::test::TestEntityBinding.

Referenced by com::sleepycat::collections::DataView::useKey(), and com::sleepycat::collections::DataView::useValue().


The documentation for this interface was generated from the following file:
Generated on Sun Dec 25 12:14:58 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2