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

com::sleepycat::collections::test::TestEntityBinding Class Reference

Inheritance diagram for com::sleepycat::collections::test::TestEntityBinding:

com::sleepycat::bind::EntityBinding

Public Member Functions

Object entryToObject (DatabaseEntry key, DatabaseEntry value)
void objectToKey (Object object, DatabaseEntry key)
void objectToData (Object object, DatabaseEntry value)

Detailed Description

Author:
Mark Hayes

Definition at line 19 of file TestEntityBinding.java.


Member Function Documentation

Object com::sleepycat::collections::test::TestEntityBinding::entryToObject DatabaseEntry  key,
DatabaseEntry  value
[inline]
 

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.

Implements com::sleepycat::bind::EntityBinding.

Definition at line 28 of file TestEntityBinding.java.

void com::sleepycat::collections::test::TestEntityBinding::objectToData Object  object,
DatabaseEntry  value
[inline]
 

Extracts the data entry from an entity Object.

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

Implements com::sleepycat::bind::EntityBinding.

Definition at line 59 of file TestEntityBinding.java.

void com::sleepycat::collections::test::TestEntityBinding::objectToKey Object  object,
DatabaseEntry  key
[inline]
 

Extracts the key entry from an entity Object.

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

Implements com::sleepycat::bind::EntityBinding.

Definition at line 49 of file TestEntityBinding.java.


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