| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
|
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
|
| 6 |
<TITLE> |
| 7 |
EntityModel (Oracle - Berkeley DB Java API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="date" CONTENT="2013-09-09"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
if (location.href.indexOf('is-external=true') == -1) { |
| 18 |
parent.document.title="EntityModel (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 |
|
| 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> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EntityModel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 44 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 45 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 46 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 47 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 5.3.28</font></EM> |
| 53 |
</TD> |
| 54 |
</TR> |
| 55 |
|
| 56 |
<TR> |
| 57 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 58 |
<A HREF="../../../../com/sleepycat/persist/model/EntityMetadata.html" title="class in com.sleepycat.persist.model"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../../com/sleepycat/persist/model/FieldMetadata.html" title="class in com.sleepycat.persist.model"><B>NEXT CLASS</B></A></FONT></TD> |
| 60 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 61 |
<A HREF="../../../../index.html?com/sleepycat/persist/model/EntityModel.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="EntityModel.html" target="_top"><B>NO FRAMES</B></A> |
| 63 |
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 82 |
</TR> |
| 83 |
</TABLE> |
| 84 |
<A NAME="skip-navbar_top"></A> |
| 85 |
|
| 86 |
|
| 87 |
<HR> |
| 88 |
|
| 89 |
<H2> |
| 90 |
<FONT SIZE="-1"> |
| 91 |
com.sleepycat.persist.model</FONT> |
| 92 |
<BR> |
| 93 |
Class EntityModel</H2> |
| 94 |
<PRE> |
| 95 |
<A HREF="http://download.oracle.com/javase/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.model.EntityModel</B> |
| 97 |
</PRE> |
| 98 |
<DL> |
| 99 |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/sleepycat/persist/model/AnnotationModel.html" title="class in com.sleepycat.persist.model">AnnotationModel</A></DD> |
| 100 |
</DL> |
| 101 |
<HR> |
| 102 |
<DL> |
| 103 |
<DT><PRE>public abstract class <B>EntityModel</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> |
| 104 |
</PRE> |
| 105 |
|
| 106 |
<P> |
| 107 |
The base class for classes that provide entity model metadata. An <A HREF="../../../../com/sleepycat/persist/model/EntityModel.html" title="class in com.sleepycat.persist.model"><CODE>EntityModel</CODE></A> defines entity classes, primary keys, secondary keys, and |
| 108 |
relationships between entities. For each entity class that is part of the |
| 109 |
model, a single <A HREF="../../../../com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist"><CODE>PrimaryIndex</CODE></A> object and zero or more <A HREF="../../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist"><CODE>SecondaryIndex</CODE></A> objects may be accessed via an <A HREF="../../../../com/sleepycat/persist/EntityStore.html" title="class in com.sleepycat.persist"><CODE>EntityStore</CODE></A>. |
| 110 |
|
| 111 |
<p>The built-in entity model, the <A HREF="../../../../com/sleepycat/persist/model/AnnotationModel.html" title="class in com.sleepycat.persist.model"><CODE>AnnotationModel</CODE></A>, is based on |
| 112 |
annotations that are added to entity classes and their key fields. |
| 113 |
Annotations are used in the examples in this package, and it is expected |
| 114 |
that annotations will normally be used; most readers should therefore skip |
| 115 |
to the <A HREF="../../../../com/sleepycat/persist/model/AnnotationModel.html" title="class in com.sleepycat.persist.model"><CODE>AnnotationModel</CODE></A> class. However, a custom entity model class |
| 116 |
may define its own metadata. This can be used to define entity classes and |
| 117 |
keys using mechanisms other than annotations.</p> |
| 118 |
|
| 119 |
<p>A concrete entity model class should extend this class and implement the |
| 120 |
<A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getClassMetadata(java.lang.String)"><CODE>getClassMetadata(java.lang.String)</CODE></A>, <A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getEntityMetadata(java.lang.String)"><CODE>getEntityMetadata(java.lang.String)</CODE></A> and <A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getKnownClasses()"><CODE>getKnownClasses()</CODE></A> methods.</p> |
| 121 |
|
| 122 |
<p>This is an abstract class rather than an interface to allow adding |
| 123 |
capabilities to the model at a future date without causing |
| 124 |
incompatibilities. For example, a method may be added in the future for |
| 125 |
returning new information about the model and subclasses may override this |
| 126 |
method to return the new information. Any new methods will have default |
| 127 |
implementations that return default values, and the use of the new |
| 128 |
information will be optional.</p> |
| 129 |
<P> |
| 130 |
|
| 131 |
<P> |
| 132 |
<HR> |
| 133 |
|
| 134 |
<P> |
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
<A NAME="constructor_summary"></A> |
| 139 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 140 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 141 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 142 |
<B>Constructor Summary</B></FONT></TH> |
| 143 |
</TR> |
| 144 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 145 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 146 |
<CODE>protected </CODE></FONT></TD> |
| 147 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#EntityModel()">EntityModel</A></B>()</CODE> |
| 148 |
|
| 149 |
<BR> |
| 150 |
The default constructor for use by subclasses.</TD> |
| 151 |
</TR> |
| 152 |
</TABLE> |
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
<A NAME="method_summary"></A> |
| 157 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 158 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 159 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 160 |
<B>Method Summary</B></FONT></TH> |
| 161 |
</TR> |
| 162 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 163 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 164 |
<CODE>static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A></CODE></FONT></TD> |
| 165 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#classForName(java.lang.String)">classForName</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</CODE> |
| 166 |
|
| 167 |
<BR> |
| 168 |
<B>Deprecated.</B> <I>use <A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#resolveClass(java.lang.String)"><CODE>resolveClass(java.lang.String)</CODE></A> instead. This method does not |
| 169 |
use the environment's ClassLoader property.</I></TD> |
| 170 |
</TR> |
| 171 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 172 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 173 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| 174 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#convertRawObject(com.sleepycat.persist.raw.RawObject)">convertRawObject</A></B>(<A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</A> raw)</CODE> |
| 175 |
|
| 176 |
<BR> |
| 177 |
Converts a given raw object to a live object according to the current |
| 178 |
class definitions.</TD> |
| 179 |
</TR> |
| 180 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 181 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 182 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>></CODE></FONT></TD> |
| 183 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getAllRawTypes()">getAllRawTypes</A></B>()</CODE> |
| 184 |
|
| 185 |
<BR> |
| 186 |
Returns all versions of all known types.</TD> |
| 187 |
</TR> |
| 188 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 189 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 190 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>></CODE></FONT></TD> |
| 191 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getAllRawTypeVersions(java.lang.String)">getAllRawTypeVersions</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</CODE> |
| 192 |
|
| 193 |
<BR> |
| 194 |
Returns all known versions of type information for a given class name, |
| 195 |
or null if no persistent version of the class is known.</TD> |
| 196 |
</TR> |
| 197 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 198 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 199 |
<CODE>abstract <A HREF="../../../../com/sleepycat/persist/model/ClassMetadata.html" title="class in com.sleepycat.persist.model">ClassMetadata</A></CODE></FONT></TD> |
| 200 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getClassMetadata(java.lang.String)">getClassMetadata</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</CODE> |
| 201 |
|
| 202 |
<BR> |
| 203 |
Returns the metadata for a given persistent class name, including proxy |
| 204 |
classes and entity classes.</TD> |
| 205 |
</TR> |
| 206 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 207 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 208 |
<CODE>abstract <A HREF="../../../../com/sleepycat/persist/model/EntityMetadata.html" title="class in com.sleepycat.persist.model">EntityMetadata</A></CODE></FONT></TD> |
| 209 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getEntityMetadata(java.lang.String)">getEntityMetadata</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</CODE> |
| 210 |
|
| 211 |
<BR> |
| 212 |
Returns the metadata for a given entity class name.</TD> |
| 213 |
</TR> |
| 214 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 215 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 216 |
<CODE>abstract <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
| 217 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getKnownClasses()">getKnownClasses</A></B>()</CODE> |
| 218 |
|
| 219 |
<BR> |
| 220 |
Returns the names of all known persistent classes.</TD> |
| 221 |
</TR> |
| 222 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 223 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 224 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
| 225 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getKnownSpecialClasses()">getKnownSpecialClasses</A></B>()</CODE> |
| 226 |
|
| 227 |
<BR> |
| 228 |
Returns the names of all known persistent enum and array classes that |
| 229 |
may be used to store persistent data.</TD> |
| 230 |
</TR> |
| 231 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 232 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 233 |
<CODE> <A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A></CODE></FONT></TD> |
| 234 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getRawType(java.lang.String)">getRawType</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</CODE> |
| 235 |
|
| 236 |
<BR> |
| 237 |
Returns the type information for the current version of a given class, |
| 238 |
or null if the class is not currently persistent.</TD> |
| 239 |
</TR> |
| 240 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 241 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 242 |
<CODE> <A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A></CODE></FONT></TD> |
| 243 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getRawTypeVersion(java.lang.String, int)">getRawTypeVersion</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className, |
| 244 |
int version)</CODE> |
| 245 |
|
| 246 |
<BR> |
| 247 |
Returns the type information for a given version of a given class, |
| 248 |
or null if the given version of the class is unknown.</TD> |
| 249 |
</TR> |
| 250 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 251 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 252 |
<CODE> boolean</CODE></FONT></TD> |
| 253 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#isOpen()">isOpen</A></B>()</CODE> |
| 254 |
|
| 255 |
<BR> |
| 256 |
Returns whether the model is associated with an open store.</TD> |
| 257 |
</TR> |
| 258 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 259 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 260 |
<CODE> void</CODE></FONT></TD> |
| 261 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#registerClass(java.lang.Class)">registerClass</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> persistentClass)</CODE> |
| 262 |
|
| 263 |
<BR> |
| 264 |
Registers a persistent class, most importantly, a <A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface in com.sleepycat.persist.model"><CODE>PersistentProxy</CODE></A> class or entity subclass.</TD> |
| 265 |
</TR> |
| 266 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 267 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 268 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A></CODE></FONT></TD> |
| 269 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#resolveClass(java.lang.String)">resolveClass</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</CODE> |
| 270 |
|
| 271 |
<BR> |
| 272 |
Should be called by entity model implementations instead of calling |
| 273 |
Class.forName whenever loading an application class.</TD> |
| 274 |
</TR> |
| 275 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 276 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 277 |
<CODE>protected void</CODE></FONT></TD> |
| 278 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#setCatalog(com.sleepycat.persist.impl.PersistCatalog)">setCatalog</A></B>(com.sleepycat.persist.impl.PersistCatalog newCatalog)</CODE> |
| 279 |
|
| 280 |
<BR> |
| 281 |
Internal access method that should not be used by applications.</TD> |
| 282 |
</TR> |
| 283 |
</TABLE> |
| 284 |
<A NAME="methods_inherited_from_class_java.lang.Object"></A> |
| 285 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 286 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 287 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| 288 |
</TR> |
| 289 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 290 |
<TD><CODE><A HREF="http://download.oracle.com/javase/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://download.oracle.com/javase/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>, <A HREF="http://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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> |
| 291 |
</TR> |
| 292 |
</TABLE> |
| 293 |
|
| 294 |
<P> |
| 295 |
|
| 296 |
|
| 297 |
|
| 298 |
<A NAME="constructor_detail"></A> |
| 299 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 300 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 301 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 302 |
<B>Constructor Detail</B></FONT></TH> |
| 303 |
</TR> |
| 304 |
</TABLE> |
| 305 |
|
| 306 |
<A NAME="EntityModel()"></A><H3> |
| 307 |
EntityModel</H3> |
| 308 |
<PRE> |
| 309 |
protected <B>EntityModel</B>()</PRE> |
| 310 |
<DL> |
| 311 |
<DD>The default constructor for use by subclasses. |
| 312 |
<P> |
| 313 |
</DL> |
| 314 |
|
| 315 |
|
| 316 |
|
| 317 |
<A NAME="method_detail"></A> |
| 318 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 319 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 320 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 321 |
<B>Method Detail</B></FONT></TH> |
| 322 |
</TR> |
| 323 |
</TABLE> |
| 324 |
|
| 325 |
<A NAME="isOpen()"></A><H3> |
| 326 |
isOpen</H3> |
| 327 |
<PRE> |
| 328 |
public final boolean <B>isOpen</B>()</PRE> |
| 329 |
<DL> |
| 330 |
<DD>Returns whether the model is associated with an open store. |
| 331 |
|
| 332 |
<p>The <A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#registerClass(java.lang.Class)"><CODE>registerClass(java.lang.Class)</CODE></A> method may only be called when the model |
| 333 |
is not yet open. Certain other methods may only be called when the |
| 334 |
model is open:</p> |
| 335 |
<ul> |
| 336 |
<li><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#convertRawObject(com.sleepycat.persist.raw.RawObject)"><CODE>convertRawObject(com.sleepycat.persist.raw.RawObject)</CODE></A></li> |
| 337 |
<li><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getAllRawTypeVersions(java.lang.String)"><CODE>getAllRawTypeVersions(java.lang.String)</CODE></A></li> |
| 338 |
<li><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getRawType(java.lang.String)"><CODE>getRawType(java.lang.String)</CODE></A></li> |
| 339 |
<li><A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getRawTypeVersion(java.lang.String, int)"><CODE>getRawTypeVersion(java.lang.String, int)</CODE></A></li> |
| 340 |
</ul> |
| 341 |
<P> |
| 342 |
<DD><DL> |
| 343 |
</DL> |
| 344 |
</DD> |
| 345 |
</DL> |
| 346 |
<HR> |
| 347 |
|
| 348 |
<A NAME="registerClass(java.lang.Class)"></A><H3> |
| 349 |
registerClass</H3> |
| 350 |
<PRE> |
| 351 |
public final void <B>registerClass</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> persistentClass)</PRE> |
| 352 |
<DL> |
| 353 |
<DD>Registers a persistent class, most importantly, a <A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface in com.sleepycat.persist.model"><CODE>PersistentProxy</CODE></A> class or entity subclass. Also registers an enum or |
| 354 |
array class. |
| 355 |
|
| 356 |
<p>Any persistent class , enum class or array may be registered in |
| 357 |
advance of using it, to avoid the overhead of updating the catalog |
| 358 |
database when an instance of the class is first stored. This method |
| 359 |
<em>must</em> be called in three cases:</p> |
| 360 |
<ol> |
| 361 |
<li>to register all <A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface in com.sleepycat.persist.model"><CODE>PersistentProxy</CODE></A> classes, and</li> |
| 362 |
<li>to register an entity subclass defining a secondary key, if <A HREF="../../../../com/sleepycat/persist/EntityStore.html#getSubclassIndex(com.sleepycat.persist.PrimaryIndex, java.lang.Class, java.lang.Class, java.lang.String)"><CODE>getSubclassIndex</CODE></A> is not called for the |
| 363 |
subclass, and</li> |
| 364 |
<li>to register all new enum or array classes, if the these enum or |
| 365 |
array classes are unknown for DPL but will be used in a Converter |
| 366 |
mutation. |
| 367 |
</li> |
| 368 |
</ol> |
| 369 |
|
| 370 |
<p>For example:</p> |
| 371 |
|
| 372 |
<pre class="code"> |
| 373 |
EntityModel model = new AnnotationModel(); |
| 374 |
model.registerClass(MyProxy.class); |
| 375 |
model.registerClass(MyEntitySubclass.class); |
| 376 |
model.registerClass(MyEnum.class); |
| 377 |
model.registerClass(MyArray[].class); |
| 378 |
|
| 379 |
StoreConfig config = new StoreConfig(); |
| 380 |
... |
| 381 |
config.setModel(model); |
| 382 |
|
| 383 |
EntityStore store = new EntityStore(..., config);</pre> |
| 384 |
|
| 385 |
<p>This method must be called before opening a store based on this |
| 386 |
model.</p> |
| 387 |
<P> |
| 388 |
<DD><DL> |
| 389 |
|
| 390 |
<DT><B>Throws:</B> |
| 391 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this method is called for a model that |
| 392 |
is associated with an open store. |
| 393 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the given class is not persistent |
| 394 |
or has a different class loader than previously registered classes.</DL> |
| 395 |
</DD> |
| 396 |
</DL> |
| 397 |
<HR> |
| 398 |
|
| 399 |
<A NAME="setCatalog(com.sleepycat.persist.impl.PersistCatalog)"></A><H3> |
| 400 |
setCatalog</H3> |
| 401 |
<PRE> |
| 402 |
protected void <B>setCatalog</B>(com.sleepycat.persist.impl.PersistCatalog newCatalog)</PRE> |
| 403 |
<DL> |
| 404 |
<DD>Internal access method that should not be used by applications. |
| 405 |
|
| 406 |
This method is used to initialize the model when catalog creation is |
| 407 |
complete, and reinitialize it when a Replica refresh occurs. See |
| 408 |
Store.refresh. |
| 409 |
<P> |
| 410 |
<DD><DL> |
| 411 |
</DL> |
| 412 |
</DD> |
| 413 |
</DL> |
| 414 |
<HR> |
| 415 |
|
| 416 |
<A NAME="getClassMetadata(java.lang.String)"></A><H3> |
| 417 |
getClassMetadata</H3> |
| 418 |
<PRE> |
| 419 |
public abstract <A HREF="../../../../com/sleepycat/persist/model/ClassMetadata.html" title="class in com.sleepycat.persist.model">ClassMetadata</A> <B>getClassMetadata</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</PRE> |
| 420 |
<DL> |
| 421 |
<DD>Returns the metadata for a given persistent class name, including proxy |
| 422 |
classes and entity classes. |
| 423 |
<P> |
| 424 |
<DD><DL> |
| 425 |
|
| 426 |
<DT><B>Returns:</B><DD>the metadata or null if the class is not persistent or does not |
| 427 |
exist.</DL> |
| 428 |
</DD> |
| 429 |
</DL> |
| 430 |
<HR> |
| 431 |
|
| 432 |
<A NAME="getEntityMetadata(java.lang.String)"></A><H3> |
| 433 |
getEntityMetadata</H3> |
| 434 |
<PRE> |
| 435 |
public abstract <A HREF="../../../../com/sleepycat/persist/model/EntityMetadata.html" title="class in com.sleepycat.persist.model">EntityMetadata</A> <B>getEntityMetadata</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</PRE> |
| 436 |
<DL> |
| 437 |
<DD>Returns the metadata for a given entity class name. |
| 438 |
<P> |
| 439 |
<DD><DL> |
| 440 |
|
| 441 |
<DT><B>Returns:</B><DD>the metadata or null if the class is not an entity class or does |
| 442 |
not exist.</DL> |
| 443 |
</DD> |
| 444 |
</DL> |
| 445 |
<HR> |
| 446 |
|
| 447 |
<A NAME="getKnownClasses()"></A><H3> |
| 448 |
getKnownClasses</H3> |
| 449 |
<PRE> |
| 450 |
public abstract <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getKnownClasses</B>()</PRE> |
| 451 |
<DL> |
| 452 |
<DD>Returns the names of all known persistent classes. A type becomes known |
| 453 |
when an instance of the type is stored for the first time or metadata or |
| 454 |
type information is queried for a specific class name. |
| 455 |
<P> |
| 456 |
<DD><DL> |
| 457 |
|
| 458 |
<DT><B>Returns:</B><DD>an unmodifiable set of class names. |
| 459 |
<DT><B>Throws:</B> |
| 460 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this method is called for a model that |
| 461 |
is not associated with an open store.</DL> |
| 462 |
</DD> |
| 463 |
</DL> |
| 464 |
<HR> |
| 465 |
|
| 466 |
<A NAME="getKnownSpecialClasses()"></A><H3> |
| 467 |
getKnownSpecialClasses</H3> |
| 468 |
<PRE> |
| 469 |
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getKnownSpecialClasses</B>()</PRE> |
| 470 |
<DL> |
| 471 |
<DD>Returns the names of all known persistent enum and array classes that |
| 472 |
may be used to store persistent data. This differs from |
| 473 |
<A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#getKnownClasses()"><CODE>getKnownClasses()</CODE></A>, which does not return enum and array classes |
| 474 |
because they have no metadata. |
| 475 |
<P> |
| 476 |
<DD><DL> |
| 477 |
|
| 478 |
<DT><B>Returns:</B><DD>an unmodifiable set of enum and array class names. |
| 479 |
<DT><B>Throws:</B> |
| 480 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this method is called for a model that |
| 481 |
is not associated with an open store.</DL> |
| 482 |
</DD> |
| 483 |
</DL> |
| 484 |
<HR> |
| 485 |
|
| 486 |
<A NAME="getRawType(java.lang.String)"></A><H3> |
| 487 |
getRawType</H3> |
| 488 |
<PRE> |
| 489 |
public final <A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A> <B>getRawType</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</PRE> |
| 490 |
<DL> |
| 491 |
<DD>Returns the type information for the current version of a given class, |
| 492 |
or null if the class is not currently persistent. |
| 493 |
<P> |
| 494 |
<DD><DL> |
| 495 |
<DT><B>Parameters:</B><DD><CODE>className</CODE> - the name of the current version of the class. |
| 496 |
<DT><B>Throws:</B> |
| 497 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this method is called for a model that |
| 498 |
is not associated with an open store.</DL> |
| 499 |
</DD> |
| 500 |
</DL> |
| 501 |
<HR> |
| 502 |
|
| 503 |
<A NAME="getRawTypeVersion(java.lang.String, int)"></A><H3> |
| 504 |
getRawTypeVersion</H3> |
| 505 |
<PRE> |
| 506 |
public final <A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A> <B>getRawTypeVersion</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className, |
| 507 |
int version)</PRE> |
| 508 |
<DL> |
| 509 |
<DD>Returns the type information for a given version of a given class, |
| 510 |
or null if the given version of the class is unknown. |
| 511 |
<P> |
| 512 |
<DD><DL> |
| 513 |
<DT><B>Parameters:</B><DD><CODE>className</CODE> - the name of the latest version of the class.<DD><CODE>version</CODE> - the desired version of the class. |
| 514 |
<DT><B>Throws:</B> |
| 515 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this method is called for a model that |
| 516 |
is not associated with an open store.</DL> |
| 517 |
</DD> |
| 518 |
</DL> |
| 519 |
<HR> |
| 520 |
|
| 521 |
<A NAME="getAllRawTypeVersions(java.lang.String)"></A><H3> |
| 522 |
getAllRawTypeVersions</H3> |
| 523 |
<PRE> |
| 524 |
public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>> <B>getAllRawTypeVersions</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className)</PRE> |
| 525 |
<DL> |
| 526 |
<DD>Returns all known versions of type information for a given class name, |
| 527 |
or null if no persistent version of the class is known. |
| 528 |
<P> |
| 529 |
<DD><DL> |
| 530 |
<DT><B>Parameters:</B><DD><CODE>className</CODE> - the name of the latest version of the class. |
| 531 |
<DT><B>Returns:</B><DD>an unmodifiable list of types for the given class name in order |
| 532 |
from most recent to least recent. |
| 533 |
<DT><B>Throws:</B> |
| 534 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this method is called for a model that |
| 535 |
is not associated with an open store.</DL> |
| 536 |
</DD> |
| 537 |
</DL> |
| 538 |
<HR> |
| 539 |
|
| 540 |
<A NAME="getAllRawTypes()"></A><H3> |
| 541 |
getAllRawTypes</H3> |
| 542 |
<PRE> |
| 543 |
public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../com/sleepycat/persist/raw/RawType.html" title="interface in com.sleepycat.persist.raw">RawType</A>> <B>getAllRawTypes</B>()</PRE> |
| 544 |
<DL> |
| 545 |
<DD>Returns all versions of all known types. |
| 546 |
<P> |
| 547 |
<DD><DL> |
| 548 |
|
| 549 |
<DT><B>Returns:</B><DD>an unmodifiable list of types. |
| 550 |
<DT><B>Throws:</B> |
| 551 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if this method is called for a model that |
| 552 |
is not associated with an open store.</DL> |
| 553 |
</DD> |
| 554 |
</DL> |
| 555 |
<HR> |
| 556 |
|
| 557 |
<A NAME="convertRawObject(com.sleepycat.persist.raw.RawObject)"></A><H3> |
| 558 |
convertRawObject</H3> |
| 559 |
<PRE> |
| 560 |
public final <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>convertRawObject</B>(<A HREF="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</A> raw)</PRE> |
| 561 |
<DL> |
| 562 |
<DD>Converts a given raw object to a live object according to the current |
| 563 |
class definitions. |
| 564 |
|
| 565 |
<p>The given raw object must conform to the current class definitions. |
| 566 |
However, the raw type (<A HREF="../../../../com/sleepycat/persist/raw/RawObject.html#getType()"><CODE>RawObject.getType()</CODE></A>) is allowed to be from |
| 567 |
a different store, as long as the class names and the value types match. |
| 568 |
This allows converting raw objects that are read from one store to live |
| 569 |
objects in another store, for example, in a conversion program.</p> |
| 570 |
<P> |
| 571 |
<DD><DL> |
| 572 |
</DL> |
| 573 |
</DD> |
| 574 |
</DL> |
| 575 |
<HR> |
| 576 |
|
| 577 |
<A NAME="resolveClass(java.lang.String)"></A><H3> |
| 578 |
resolveClass</H3> |
| 579 |
<PRE> |
| 580 |
public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> <B>resolveClass</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className) |
| 581 |
throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A></PRE> |
| 582 |
<DL> |
| 583 |
<DD>Should be called by entity model implementations instead of calling |
| 584 |
Class.forName whenever loading an application class. This method honors |
| 585 |
the BDB JE environment's ClassLoader property and uses <A HREF="../../../../com/sleepycat/util/ClassResolver.html" title="class in com.sleepycat.util"><CODE>ClassResolver</CODE></A> to implement the class loading policy. |
| 586 |
<P> |
| 587 |
<DD><DL> |
| 588 |
|
| 589 |
<DT><B>Throws:</B> |
| 590 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A></CODE></DL> |
| 591 |
</DD> |
| 592 |
</DL> |
| 593 |
<HR> |
| 594 |
|
| 595 |
<A NAME="classForName(java.lang.String)"></A><H3> |
| 596 |
classForName</H3> |
| 597 |
<PRE> |
| 598 |
public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> <B>classForName</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> className) |
| 599 |
throws <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A></PRE> |
| 600 |
<DL> |
| 601 |
<DD><B>Deprecated.</B> <I>use <A HREF="../../../../com/sleepycat/persist/model/EntityModel.html#resolveClass(java.lang.String)"><CODE>resolveClass(java.lang.String)</CODE></A> instead. This method does not |
| 602 |
use the environment's ClassLoader property.</I> |
| 603 |
<P> |
| 604 |
<DD><DL> |
| 605 |
|
| 606 |
<DT><B>Throws:</B> |
| 607 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</A></CODE></DL> |
| 608 |
</DD> |
| 609 |
</DL> |
| 610 |
|
| 611 |
<HR> |
| 612 |
|
| 613 |
|
| 614 |
|
| 615 |
<A NAME="navbar_bottom"></A> |
| 616 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 617 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 618 |
<TR> |
| 619 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 620 |
<A NAME="navbar_bottom_firstrow"></A> |
| 621 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 622 |
<TR ALIGN="center" VALIGN="top"> |
| 623 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 624 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 625 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 626 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EntityModel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 627 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 628 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 629 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 630 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 631 |
</TR> |
| 632 |
</TABLE> |
| 633 |
</TD> |
| 634 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 635 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 636 |
</TD> |
| 637 |
</TR> |
| 638 |
|
| 639 |
<TR> |
| 640 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 641 |
<A HREF="../../../../com/sleepycat/persist/model/EntityMetadata.html" title="class in com.sleepycat.persist.model"><B>PREV CLASS</B></A> |
| 642 |
<A HREF="../../../../com/sleepycat/persist/model/FieldMetadata.html" title="class in com.sleepycat.persist.model"><B>NEXT CLASS</B></A></FONT></TD> |
| 643 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 644 |
<A HREF="../../../../index.html?com/sleepycat/persist/model/EntityModel.html" target="_top"><B>FRAMES</B></A> |
| 645 |
<A HREF="EntityModel.html" target="_top"><B>NO FRAMES</B></A> |
| 646 |
<SCRIPT type="text/javascript"> |
| 647 |
<!-- |
| 648 |
if(window==top) { |
| 649 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 650 |
} |
| 651 |
//--> |
| 652 |
</SCRIPT> |
| 653 |
<NOSCRIPT> |
| 654 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 655 |
</NOSCRIPT> |
| 656 |
|
| 657 |
|
| 658 |
</FONT></TD> |
| 659 |
</TR> |
| 660 |
<TR> |
| 661 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 662 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 663 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 664 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 665 |
</TR> |
| 666 |
</TABLE> |
| 667 |
<A NAME="skip-navbar_bottom"></A> |
| 668 |
|
| 669 |
|
| 670 |
<HR> |
| 671 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 672 |
</BODY> |
| 673 |
</HTML> |