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

com::sleepycat::bind::EntryBinding Interface Reference

Inheritance diagram for com::sleepycat::bind::EntryBinding:

com::sleepycat::bind::ByteArrayBinding com::sleepycat::bind::RecordNumberBinding com::sleepycat::bind::serial::SerialBinding com::sleepycat::bind::tuple::TupleBinding com::sleepycat::bind::tuple::TupleInputBinding com::sleepycat::collections::test::TestDataBinding com::sleepycat::bind::tuple::BooleanBinding com::sleepycat::bind::tuple::ByteBinding com::sleepycat::bind::tuple::CharacterBinding com::sleepycat::bind::tuple::DoubleBinding com::sleepycat::bind::tuple::FloatBinding com::sleepycat::bind::tuple::IntegerBinding com::sleepycat::bind::tuple::LongBinding com::sleepycat::bind::tuple::ShortBinding com::sleepycat::bind::tuple::StringBinding com::sleepycat::bind::tuple::TupleMarshalledBinding

Public Member Functions

Object entryToObject (DatabaseEntry entry)

Package Functions

void objectToEntry (Object object, DatabaseEntry entry)

Detailed Description

A binding between a key or data entry and a key or data object.

Author:
Mark Hayes

Definition at line 19 of file EntryBinding.java.


Member Function Documentation

Object com::sleepycat::bind::EntryBinding::entryToObject DatabaseEntry  entry  ) 
 

Converts a entry buffer into an Object.

Parameters:
entry is the source entry buffer.
Returns:
the resulting Object.

Implemented in com::sleepycat::bind::ByteArrayBinding, com::sleepycat::bind::RecordNumberBinding, com::sleepycat::bind::serial::SerialBinding, com::sleepycat::bind::tuple::TupleBinding, com::sleepycat::bind::tuple::TupleInputBinding, and com::sleepycat::collections::test::TestDataBinding.

Referenced by com::sleepycat::collections::DataView::makeKey(), and com::sleepycat::collections::DataView::makeValue().

void com::sleepycat::bind::EntryBinding::objectToEntry Object  object,
DatabaseEntry  entry
[package]
 

Converts an Object into a entry buffer.

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

Implemented in com::sleepycat::bind::ByteArrayBinding, com::sleepycat::bind::RecordNumberBinding, com::sleepycat::bind::serial::SerialBinding, com::sleepycat::bind::tuple::TupleBinding, com::sleepycat::bind::tuple::TupleInputBinding, and com::sleepycat::collections::test::TestDataBinding.

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