1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.5.0) on Thu May 15 17:17:32 EDT 2008 --> 6<TITLE> 7TupleSerialMarshalledBinding (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="keywords" CONTENT="com.sleepycat.bind.serial.TupleSerialMarshalledBinding class"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="/style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 parent.document.title="TupleSerialMarshalledBinding (Oracle - Berkeley DB Java API)"; 18} 19</SCRIPT> 20<NOSCRIPT> 21</NOSCRIPT> 22 23</HEAD> 24 25<BODY BGCOLOR="white" onload="windowTitle();"> 26 27 28<!-- ========= START OF TOP NAVBAR ======= --> 29<A NAME="navbar_top"><!-- --></A> 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32<TR> 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34<A NAME="navbar_top_firstrow"><!-- --></A> 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36 <TR ALIGN="center" VALIGN="top"> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleSerialMarshalledBinding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 45 </TR> 46</TABLE> 47</TD> 48<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 49<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 50</TD> 51</TR> 52 53<TR> 54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 55 <A HREF="/com/sleepycat/bind/serial/TupleSerialKeyCreator.html" title="class in com.sleepycat.bind.serial"><B>PREV CLASS</B></A> 56 <A HREF="/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html" title="class in com.sleepycat.bind.serial"><B>NEXT CLASS</B></A></FONT></TD> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="/index.html?com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html" target="_top"><B>FRAMES</B></A> 59 <A HREF="TupleSerialMarshalledBinding.html" target="_top"><B>NO FRAMES</B></A> 60 <SCRIPT type="text/javascript"> 61 <!-- 62 if(window==top) { 63 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 64 } 65 //--> 66</SCRIPT> 67<NOSCRIPT> 68 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 69</NOSCRIPT> 70 71 72</FONT></TD> 73</TR> 74<TR> 75<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 76 SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.sleepycat.bind.serial.TupleSerialBinding">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 78DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 79</TR> 80</TABLE> 81<A NAME="skip-navbar_top"></A> 82<!-- ========= END OF TOP NAVBAR ========= --> 83 84<HR> 85<!-- ======== START OF CLASS DATA ======== --> 86<H2> 87<FONT SIZE="-1"> 88com.sleepycat.bind.serial</FONT> 89<BR> 90Class TupleSerialMarshalledBinding</H2> 91<PRE> 92<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> 93 <IMG SRC="/resources/inherit.gif" ALT="extended by "><A HREF="/com/sleepycat/bind/tuple/TupleBase.html" title="class in com.sleepycat.bind.tuple">com.sleepycat.bind.tuple.TupleBase</A> 94 <IMG SRC="/resources/inherit.gif" ALT="extended by "><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html" title="class in com.sleepycat.bind.serial">com.sleepycat.bind.serial.TupleSerialBinding</A> 95 <IMG SRC="/resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bind.serial.TupleSerialMarshalledBinding</B> 96</PRE> 97<DL> 98<DT><B>All Implemented Interfaces:</B> <DD><A HREF="/com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A></DD> 99</DL> 100<HR> 101<DL> 102<DT><PRE>public class <B>TupleSerialMarshalledBinding</B><DT>extends <A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialBinding</A></DL> 103</PRE> 104 105<P> 106A concrete <code>TupleSerialBinding</code> that delegates to the 107 <code>MarshalledTupleKeyEntity</code> interface of the entity class. 108 109 <p>The <A HREF="/com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleKeyEntity</CODE></A> interface must be implemented by the 110 entity class to convert between the key/data entry and entity object.</p> 111 112 <p> The binding is "tricky" in that it uses the entity class for both the 113 stored data entry and the combined entity object. To do this, the entity's 114 key field(s) are transient and are set by the binding after the data object 115 has been deserialized. This avoids the use of a "data" class completely. 116 </p> 117<P> 118 119<P> 120<DL> 121<DT><B>See Also:</B><DD><A HREF="/com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleKeyEntity</CODE></A></DL> 122<HR> 123 124<P> 125<!-- =========== FIELD SUMMARY =========== --> 126 127<A NAME="field_summary"><!-- --></A> 128<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 129<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 130<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 131<B>Field Summary</B></FONT></TH> 132</TR> 133</TABLE> 134 <A NAME="fields_inherited_from_class_com.sleepycat.bind.serial.TupleSerialBinding"><!-- --></A> 135<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 136<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 137<TH ALIGN="left"><B>Fields inherited from class com.sleepycat.bind.serial.<A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialBinding</A></B></TH> 138</TR> 139<TR BGCOLOR="white" CLASS="TableRowColor"> 140<TD><CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#dataBinding">dataBinding</A></CODE></TD> 141</TR> 142</TABLE> 143 144<!-- ======== CONSTRUCTOR SUMMARY ======== --> 145 146<A NAME="constructor_summary"><!-- --></A> 147<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 148<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 149<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 150<B>Constructor Summary</B></FONT></TH> 151</TR> 152<TR BGCOLOR="white" CLASS="TableRowColor"> 153<TD><CODE><B><A HREF="/com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html#TupleSerialMarshalledBinding(com.sleepycat.bind.serial.ClassCatalog, java.lang.Class)">TupleSerialMarshalledBinding</A></B>(<A HREF="/com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A> classCatalog, 154 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> baseClass)</CODE> 155 156<BR> 157 Creates a tuple-serial marshalled binding object.</TD> 158</TR> 159<TR BGCOLOR="white" CLASS="TableRowColor"> 160<TD><CODE><B><A HREF="/com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html#TupleSerialMarshalledBinding(com.sleepycat.bind.serial.SerialBinding)">TupleSerialMarshalledBinding</A></B>(<A HREF="/com/sleepycat/bind/serial/SerialBinding.html" title="class in com.sleepycat.bind.serial">SerialBinding</A> dataBinding)</CODE> 161 162<BR> 163 Creates a tuple-serial marshalled binding object.</TD> 164</TR> 165</TABLE> 166 167<!-- ========== METHOD SUMMARY =========== --> 168 169<A NAME="method_summary"><!-- --></A> 170<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 171<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 172<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 173<B>Method Summary</B></FONT></TH> 174</TR> 175<TR BGCOLOR="white" CLASS="TableRowColor"> 176<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 177<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD> 178<TD><CODE><B><A HREF="/com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput, java.lang.Object)">entryToObject</A></B>(<A HREF="/com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> tupleInput, 179 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> javaInput)</CODE> 180 181<BR> 182 Constructs an entity object from <A HREF="/com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleInput</CODE></A> key entry and 183 deserialized data entry objects.</TD> 184</TR> 185<TR BGCOLOR="white" CLASS="TableRowColor"> 186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 187<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD> 188<TD><CODE><B><A HREF="/com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html#objectToData(java.lang.Object)">objectToData</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object)</CODE> 189 190<BR> 191 Extracts a data object from an entity object.</TD> 192</TR> 193<TR BGCOLOR="white" CLASS="TableRowColor"> 194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 195<CODE> void</CODE></FONT></TD> 196<TD><CODE><B><A HREF="/com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html#objectToKey(java.lang.Object, com.sleepycat.bind.tuple.TupleOutput)">objectToKey</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object, 197 <A HREF="/com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> output)</CODE> 198 199<BR> 200 Extracts a key tuple from an entity object.</TD> 201</TR> 202</TABLE> 203 <A NAME="methods_inherited_from_class_com.sleepycat.bind.serial.TupleSerialBinding"><!-- --></A> 204<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 205<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 206<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.bind.serial.<A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialBinding</A></B></TH> 207</TR> 208<TR BGCOLOR="white" CLASS="TableRowColor"> 209<TD><CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#entryToObject(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)">entryToObject</A>, <A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#objectToData(java.lang.Object, com.sleepycat.db.DatabaseEntry)">objectToData</A>, <A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#objectToKey(java.lang.Object, com.sleepycat.db.DatabaseEntry)">objectToKey</A></CODE></TD> 210</TR> 211</TABLE> 212 <A NAME="methods_inherited_from_class_com.sleepycat.bind.tuple.TupleBase"><!-- --></A> 213<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 214<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 215<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.bind.tuple.<A HREF="/com/sleepycat/bind/tuple/TupleBase.html" title="class in com.sleepycat.bind.tuple">TupleBase</A></B></TH> 216</TR> 217<TR BGCOLOR="white" CLASS="TableRowColor"> 218<TD><CODE><A HREF="/com/sleepycat/bind/tuple/TupleBase.html#entryToInput(com.sleepycat.db.DatabaseEntry)">entryToInput</A>, <A HREF="/com/sleepycat/bind/tuple/TupleBase.html#getTupleBufferSize()">getTupleBufferSize</A>, <A HREF="/com/sleepycat/bind/tuple/TupleBase.html#getTupleOutput(java.lang.Object)">getTupleOutput</A>, <A HREF="/com/sleepycat/bind/tuple/TupleBase.html#inputToEntry(com.sleepycat.bind.tuple.TupleInput, com.sleepycat.db.DatabaseEntry)">inputToEntry</A>, <A HREF="/com/sleepycat/bind/tuple/TupleBase.html#newOutput()">newOutput</A>, <A HREF="/com/sleepycat/bind/tuple/TupleBase.html#newOutput(byte[])">newOutput</A>, <A HREF="/com/sleepycat/bind/tuple/TupleBase.html#outputToEntry(com.sleepycat.bind.tuple.TupleOutput, com.sleepycat.db.DatabaseEntry)">outputToEntry</A>, <A HREF="/com/sleepycat/bind/tuple/TupleBase.html#setTupleBufferSize(int)">setTupleBufferSize</A></CODE></TD> 219</TR> 220</TABLE> 221 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 222<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 223<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 224<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> 225</TR> 226<TR BGCOLOR="white" CLASS="TableRowColor"> 227<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> 228</TR> 229</TABLE> 230 231<P> 232 233<!-- ========= CONSTRUCTOR DETAIL ======== --> 234 235<A NAME="constructor_detail"><!-- --></A> 236<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 237<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 238<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 239<B>Constructor Detail</B></FONT></TH> 240</TR> 241</TABLE> 242 243<A NAME="TupleSerialMarshalledBinding(com.sleepycat.bind.serial.ClassCatalog, java.lang.Class)"><!-- --></A><H3> 244TupleSerialMarshalledBinding</H3> 245<PRE> 246public <B>TupleSerialMarshalledBinding</B>(<A HREF="/com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A> classCatalog, 247 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> baseClass)</PRE> 248<DL> 249<DD>Creates a tuple-serial marshalled binding object. 250<P> 251<DL> 252<DT><B>Parameters:</B><DD><CODE>classCatalog</CODE> - is the catalog to hold shared class information and 253 for a database should be a <A HREF="/com/sleepycat/bind/serial/StoredClassCatalog.html" title="class in com.sleepycat.bind.serial"><CODE>StoredClassCatalog</CODE></A>.<DD><CODE>baseClass</CODE> - is the base class for serialized objects stored using 254 this binding -- all objects using this binding must be an instance of 255 this class.</DL> 256</DL> 257<HR> 258 259<A NAME="TupleSerialMarshalledBinding(com.sleepycat.bind.serial.SerialBinding)"><!-- --></A><H3> 260TupleSerialMarshalledBinding</H3> 261<PRE> 262public <B>TupleSerialMarshalledBinding</B>(<A HREF="/com/sleepycat/bind/serial/SerialBinding.html" title="class in com.sleepycat.bind.serial">SerialBinding</A> dataBinding)</PRE> 263<DL> 264<DD>Creates a tuple-serial marshalled binding object. 265<P> 266<DL> 267<DT><B>Parameters:</B><DD><CODE>dataBinding</CODE> - is the binding used for serializing and deserializing 268 the entity object.</DL> 269</DL> 270 271<!-- ============ METHOD DETAIL ========== --> 272 273<A NAME="method_detail"><!-- --></A> 274<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 275<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 276<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 277<B>Method Detail</B></FONT></TH> 278</TR> 279</TABLE> 280 281<A NAME="entryToObject(com.sleepycat.bind.tuple.TupleInput, java.lang.Object)"><!-- --></A><H3> 282entryToObject</H3> 283<PRE> 284public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>entryToObject</B>(<A HREF="/com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> tupleInput, 285 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> javaInput)</PRE> 286<DL> 287<DD><B>Description copied from class: <CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput, java.lang.Object)">TupleSerialBinding</A></CODE></B></DD> 288<DD>Constructs an entity object from <A HREF="/com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleInput</CODE></A> key entry and 289 deserialized data entry objects. 290<P> 291<DD><DL> 292<DT><B>Specified by:</B><DD><CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput, java.lang.Object)">entryToObject</A></CODE> in class <CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialBinding</A></CODE></DL> 293</DD> 294<DD><DL> 295<DT><B>Parameters:</B><DD><CODE>tupleInput</CODE> - is the <A HREF="/com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleInput</CODE></A> key entry object.<DD><CODE>javaInput</CODE> - is the deserialized data entry object. 296<DT><B>Returns:</B><DD>the entity object constructed from the key and data.</DL> 297</DD> 298</DL> 299<HR> 300 301<A NAME="objectToKey(java.lang.Object, com.sleepycat.bind.tuple.TupleOutput)"><!-- --></A><H3> 302objectToKey</H3> 303<PRE> 304public void <B>objectToKey</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object, 305 <A HREF="/com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> output)</PRE> 306<DL> 307<DD><B>Description copied from class: <CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#objectToKey(java.lang.Object, com.sleepycat.bind.tuple.TupleOutput)">TupleSerialBinding</A></CODE></B></DD> 308<DD>Extracts a key tuple from an entity object. 309<P> 310<DD><DL> 311<DT><B>Specified by:</B><DD><CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#objectToKey(java.lang.Object, com.sleepycat.bind.tuple.TupleOutput)">objectToKey</A></CODE> in class <CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialBinding</A></CODE></DL> 312</DD> 313<DD><DL> 314<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the entity object.<DD><CODE>output</CODE> - is the <A HREF="/com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleOutput</CODE></A> to which the key should be 315 written.</DL> 316</DD> 317</DL> 318<HR> 319 320<A NAME="objectToData(java.lang.Object)"><!-- --></A><H3> 321objectToData</H3> 322<PRE> 323public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>objectToData</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object)</PRE> 324<DL> 325<DD><B>Description copied from class: <CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#objectToData(java.lang.Object)">TupleSerialBinding</A></CODE></B></DD> 326<DD>Extracts a data object from an entity object. 327<P> 328<DD><DL> 329<DT><B>Specified by:</B><DD><CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html#objectToData(java.lang.Object)">objectToData</A></CODE> in class <CODE><A HREF="/com/sleepycat/bind/serial/TupleSerialBinding.html" title="class in com.sleepycat.bind.serial">TupleSerialBinding</A></CODE></DL> 330</DD> 331<DD><DL> 332<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the entity object. 333<DT><B>Returns:</B><DD>the deserialized data object.</DL> 334</DD> 335</DL> 336<!-- ========= END OF CLASS DATA ========= --> 337<HR> 338 339 340<!-- ======= START OF BOTTOM NAVBAR ====== --> 341<A NAME="navbar_bottom"><!-- --></A> 342<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 343<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 344<TR> 345<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 346<A NAME="navbar_bottom_firstrow"><!-- --></A> 347<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 348 <TR ALIGN="center" VALIGN="top"> 349 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 350 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 351 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 352 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleSerialMarshalledBinding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 353 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 354 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 355 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 356 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 357 </TR> 358</TABLE> 359</TD> 360<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 361<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 362</TD> 363</TR> 364 365<TR> 366<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 367 <A HREF="/com/sleepycat/bind/serial/TupleSerialKeyCreator.html" title="class in com.sleepycat.bind.serial"><B>PREV CLASS</B></A> 368 <A HREF="/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.html" title="class in com.sleepycat.bind.serial"><B>NEXT CLASS</B></A></FONT></TD> 369<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 370 <A HREF="/index.html?com/sleepycat/bind/serial/TupleSerialMarshalledBinding.html" target="_top"><B>FRAMES</B></A> 371 <A HREF="TupleSerialMarshalledBinding.html" target="_top"><B>NO FRAMES</B></A> 372 <SCRIPT type="text/javascript"> 373 <!-- 374 if(window==top) { 375 document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>'); 376 } 377 //--> 378</SCRIPT> 379<NOSCRIPT> 380 <A HREF="/allclasses-noframe.html"><B>All Classes</B></A> 381</NOSCRIPT> 382 383 384</FONT></TD> 385</TR> 386<TR> 387<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 388 SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.sleepycat.bind.serial.TupleSerialBinding">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 389<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 390DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 391</TR> 392</TABLE> 393<A NAME="skip-navbar_bottom"></A> 394<!-- ======== END OF BOTTOM NAVBAR ======= --> 395 396<HR> 397<font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 398</BODY> 399</HTML> 400