• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/docs/java/com/sleepycat/persist/raw/
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.6.0_03) on Mon Apr 12 16:25:51 EDT 2010 -->
6<TITLE>
7RawObject (Oracle - Berkeley DB Java API)
8</TITLE>
9
10<META NAME="date" CONTENT="2010-04-12">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="RawObject (Oracle - Berkeley DB Java API)";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RawObject.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../com/sleepycat/persist/raw/RawField.html" title="interface in com.sleepycat.persist.raw"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../com/sleepycat/persist/raw/RawStore.html" title="class in com.sleepycat.persist.raw"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../index.html?com/sleepycat/persist/raw/RawObject.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="RawObject.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91com.sleepycat.persist.raw</FONT>
92<BR>
93Class RawObject</H2>
94<PRE>
95<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.persist.raw.RawObject</B>
97</PRE>
98<HR>
99<DL>
100<DT><PRE>public class <B>RawObject</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101</PRE>
102
103<P>
104A raw instance that can be used with a <A HREF="../../../../com/sleepycat/persist/raw/RawStore.html" title="class in com.sleepycat.persist.raw"><CODE>RawStore</CODE></A> or <A HREF="../../../../com/sleepycat/persist/evolve/Conversion.html" title="interface in com.sleepycat.persist.evolve"><CODE>Conversion</CODE></A>.  A <code>RawObject</code> is used to represent instances of
105 complex types (persistent classes with fields), arrays, and enum values.  It
106 is not used to represent non-enum simple types, which are represented as
107 simple objects.  This includes primitives, which are represented as
108 instances of their wrapper class.
109
110 <p><code>RawObject</code> objects are thread-safe.  Multiple threads may safely
111 call the methods of a shared <code>RawObject</code> object.</p>
112<P>
113
114<P>
115<HR>
116
117<P>
118
119<!-- ======== CONSTRUCTOR SUMMARY ======== -->
120
121<A NAME="constructor_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Constructor Summary</B></FONT></TH>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#RawObject(com.sleepycat.persist.raw.RawType, java.util.Map, com.sleepycat.persist.raw.RawObject)">RawObject</A></B>(<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>&nbsp;type,
129          <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;&nbsp;values,
130          <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</A>&nbsp;superObject)</CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a raw object with a given set of field values for a complex
134 type.</TD>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#RawObject(com.sleepycat.persist.raw.RawType, java.lang.Object[])">RawObject</A></B>(<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>&nbsp;type,
138          <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]&nbsp;elements)</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a raw object with the given array elements for an array type.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#RawObject(com.sleepycat.persist.raw.RawType, java.lang.String)">RawObject</A></B>(<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>&nbsp;type,
145          <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;enumConstant)</CODE>
146
147<BR>
148&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a raw object with the given enum value for an enum type.</TD>
149</TR>
150</TABLE>
151&nbsp;
152<!-- ========== METHOD SUMMARY =========== -->
153
154<A NAME="method_summary"><!-- --></A>
155<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
157<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
158<B>Method Summary</B></FONT></TH>
159</TR>
160<TR BGCOLOR="white" CLASS="TableRowColor">
161<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162<CODE>&nbsp;boolean</CODE></FONT></TD>
163<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;other)</CODE>
164
165<BR>
166&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
167</TR>
168<TR BGCOLOR="white" CLASS="TableRowColor">
169<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
171<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#getElements()">getElements</A></B>()</CODE>
172
173<BR>
174&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the array of elements for an array type, or null for a complex
175 type or an enum type.</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#getEnum()">getEnum</A></B>()</CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant String for an enum type, or null for a complex
184 type or an array type.</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>&nbsp;<A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</A></CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#getSuper()">getSuper</A></B>()</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the instance of the superclass, or null if the superclass is
193 <code>Object</code> or <code>Enum</code>.</TD>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197<CODE>&nbsp;<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A></CODE></FONT></TD>
198<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#getType()">getType</A></B>()</CODE>
199
200<BR>
201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the raw type information for this raw object.</TD>
202</TR>
203<TR BGCOLOR="white" CLASS="TableRowColor">
204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;</CODE></FONT></TD>
206<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#getValues()">getValues</A></B>()</CODE>
207
208<BR>
209&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map of field name to value for a complex type, or null for an
210 array type or an enum type.</TD>
211</TR>
212<TR BGCOLOR="white" CLASS="TableRowColor">
213<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214<CODE>&nbsp;int</CODE></FONT></TD>
215<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#hashCode()">hashCode</A></B>()</CODE>
216
217<BR>
218&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
219</TR>
220<TR BGCOLOR="white" CLASS="TableRowColor">
221<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
223<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#toString()">toString</A></B>()</CODE>
224
225<BR>
226&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an XML representation of the raw object.</TD>
227</TR>
228</TABLE>
229&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
230<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
231<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
232<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?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
233</TR>
234<TR BGCOLOR="white" CLASS="TableRowColor">
235<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#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?is-external=true#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?is-external=true#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?is-external=true#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?is-external=true#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?is-external=true#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?is-external=true#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?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
236</TR>
237</TABLE>
238&nbsp;
239<P>
240
241<!-- ========= CONSTRUCTOR DETAIL ======== -->
242
243<A NAME="constructor_detail"><!-- --></A>
244<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
245<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
246<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
247<B>Constructor Detail</B></FONT></TH>
248</TR>
249</TABLE>
250
251<A NAME="RawObject(com.sleepycat.persist.raw.RawType, java.util.Map, com.sleepycat.persist.raw.RawObject)"><!-- --></A><H3>
252RawObject</H3>
253<PRE>
254public <B>RawObject</B>(<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>&nbsp;type,
255                 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt;&nbsp;values,
256                 <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</A>&nbsp;superObject)</PRE>
257<DL>
258<DD>Creates a raw object with a given set of field values for a complex
259 type.
260<P>
261<DL>
262<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of this raw object.<DD><CODE>values</CODE> - a map of field name to value for each declared field in
263 the class, or null to create an empty map.  Each value in the map is a
264 <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw"><CODE>RawObject</CODE></A>, a <a
265 href="../model/Entity.html#simpleTypes">simple type</a> instance, or
266 null.<DD><CODE>superObject</CODE> - the instance of the superclass, or null if the
267 superclass is <code>Object</code>.
268<DT><B>Throws:</B>
269<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the type argument is an array type.</DL>
270</DL>
271<HR>
272
273<A NAME="RawObject(com.sleepycat.persist.raw.RawType, java.lang.Object[])"><!-- --></A><H3>
274RawObject</H3>
275<PRE>
276public <B>RawObject</B>(<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>&nbsp;type,
277                 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]&nbsp;elements)</PRE>
278<DL>
279<DD>Creates a raw object with the given array elements for an array type.
280<P>
281<DL>
282<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of this raw object.<DD><CODE>elements</CODE> - an array of elements.  Each element in the array is a
283 <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw"><CODE>RawObject</CODE></A>, a <a
284 href="../model/Entity.html#simpleTypes">simple type</a> instance, or
285 null.
286<DT><B>Throws:</B>
287<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the type argument is not an array
288 type.</DL>
289</DL>
290<HR>
291
292<A NAME="RawObject(com.sleepycat.persist.raw.RawType, java.lang.String)"><!-- --></A><H3>
293RawObject</H3>
294<PRE>
295public <B>RawObject</B>(<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>&nbsp;type,
296                 <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;enumConstant)</PRE>
297<DL>
298<DD>Creates a raw object with the given enum value for an enum type.
299<P>
300<DL>
301<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of this raw object.<DD><CODE>enumConstant</CODE> - the String value of this enum constant; must be
302 one of the Strings returned by <A HREF="../../../../com/sleepycat/persist/raw/RawType.html#getEnumConstants()"><CODE>RawType.getEnumConstants()</CODE></A>.
303<DT><B>Throws:</B>
304<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the type argument is not an array
305 type.</DL>
306</DL>
307
308<!-- ============ METHOD DETAIL ========== -->
309
310<A NAME="method_detail"><!-- --></A>
311<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
312<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
313<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
314<B>Method Detail</B></FONT></TH>
315</TR>
316</TABLE>
317
318<A NAME="getType()"><!-- --></A><H3>
319getType</H3>
320<PRE>
321public <A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A> <B>getType</B>()</PRE>
322<DL>
323<DD>Returns the raw type information for this raw object.
324
325 <p>Note that if this object is unevolved, the returned type may be
326 different from the current type returned by <A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getRawType(java.lang.String)"><CODE>EntityModel.getRawType</CODE></A> for the same class name.
327 This can only occur in a <A HREF="../../../../com/sleepycat/persist/evolve/Conversion.html#convert(java.lang.Object)"><CODE>Conversion.convert</CODE></A>.</p>
328<P>
329<DD><DL>
330</DL>
331</DD>
332</DL>
333<HR>
334
335<A NAME="getValues()"><!-- --></A><H3>
336getValues</H3>
337<PRE>
338public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&gt; <B>getValues</B>()</PRE>
339<DL>
340<DD>Returns a map of field name to value for a complex type, or null for an
341 array type or an enum type.  The map contains a String key for each
342 declared field in the class.  Each value in the map is a <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw"><CODE>RawObject</CODE></A>, a <a href="../model/Entity.html#simpleTypes">simple
343 type</a> instance, or null.
344
345 <p>There will be an entry in the map for every field declared in this
346 type, as determined by <A HREF="../../../../com/sleepycat/persist/raw/RawType.html#getFields()"><CODE>RawType.getFields()</CODE></A> for the type returned
347 by <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#getType()"><CODE>getType()</CODE></A>.  Values in the map may be null for fields with
348 non-primitive types.</p>
349<P>
350<DD><DL>
351</DL>
352</DD>
353</DL>
354<HR>
355
356<A NAME="getElements()"><!-- --></A><H3>
357getElements</H3>
358<PRE>
359public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>getElements</B>()</PRE>
360<DL>
361<DD>Returns the array of elements for an array type, or null for a complex
362 type or an enum type.  Each element in the array is a <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw"><CODE>RawObject</CODE></A>,
363 a <a href="../model/Entity.html#simpleTypes">simple type</a>
364 instance, or null.
365<P>
366<DD><DL>
367</DL>
368</DD>
369</DL>
370<HR>
371
372<A NAME="getEnum()"><!-- --></A><H3>
373getEnum</H3>
374<PRE>
375public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getEnum</B>()</PRE>
376<DL>
377<DD>Returns the enum constant String for an enum type, or null for a complex
378 type or an array type.  The String returned will be one of the Strings
379 returned by <A HREF="../../../../com/sleepycat/persist/raw/RawType.html#getEnumConstants()"><CODE>RawType.getEnumConstants()</CODE></A>.
380<P>
381<DD><DL>
382</DL>
383</DD>
384</DL>
385<HR>
386
387<A NAME="getSuper()"><!-- --></A><H3>
388getSuper</H3>
389<PRE>
390public <A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</A> <B>getSuper</B>()</PRE>
391<DL>
392<DD>Returns the instance of the superclass, or null if the superclass is
393 <code>Object</code> or <code>Enum</code>.
394<P>
395<DD><DL>
396</DL>
397</DD>
398</DL>
399<HR>
400
401<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
402equals</H3>
403<PRE>
404public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;other)</PRE>
405<DL>
406<DD><DL>
407<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
408</DD>
409<DD><DL>
410</DL>
411</DD>
412</DL>
413<HR>
414
415<A NAME="hashCode()"><!-- --></A><H3>
416hashCode</H3>
417<PRE>
418public int <B>hashCode</B>()</PRE>
419<DL>
420<DD><DL>
421<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
422</DD>
423<DD><DL>
424</DL>
425</DD>
426</DL>
427<HR>
428
429<A NAME="toString()"><!-- --></A><H3>
430toString</H3>
431<PRE>
432public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
433<DL>
434<DD>Returns an XML representation of the raw object.
435<P>
436<DD><DL>
437<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
438</DD>
439<DD><DL>
440</DL>
441</DD>
442</DL>
443<!-- ========= END OF CLASS DATA ========= -->
444<HR>
445
446
447<!-- ======= START OF BOTTOM NAVBAR ====== -->
448<A NAME="navbar_bottom"><!-- --></A>
449<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
450<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
451<TR>
452<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
453<A NAME="navbar_bottom_firstrow"><!-- --></A>
454<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
455  <TR ALIGN="center" VALIGN="top">
456  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
457  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
458  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
459  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RawObject.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
460  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
461  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
462  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
463  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
464  </TR>
465</TABLE>
466</TD>
467<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
468<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM>
469</TD>
470</TR>
471
472<TR>
473<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
474&nbsp;<A HREF="../../../../com/sleepycat/persist/raw/RawField.html" title="interface in com.sleepycat.persist.raw"><B>PREV CLASS</B></A>&nbsp;
475&nbsp;<A HREF="../../../../com/sleepycat/persist/raw/RawStore.html" title="class in com.sleepycat.persist.raw"><B>NEXT CLASS</B></A></FONT></TD>
476<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
477  <A HREF="../../../../index.html?com/sleepycat/persist/raw/RawObject.html" target="_top"><B>FRAMES</B></A>  &nbsp;
478&nbsp;<A HREF="RawObject.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
479&nbsp;<SCRIPT type="text/javascript">
480  <!--
481  if(window==top) {
482    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
483  }
484  //-->
485</SCRIPT>
486<NOSCRIPT>
487  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
488</NOSCRIPT>
489
490
491</FONT></TD>
492</TR>
493<TR>
494<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
495  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
496<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
497DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
498</TR>
499</TABLE>
500<A NAME="skip-navbar_bottom"></A>
501<!-- ======== END OF BOTTOM NAVBAR ======= -->
502
503<HR>
504<font size=1>Copyright (c) 1996-2009 Oracle.  All rights reserved.</font>
505</BODY>
506</HTML>
507