| 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_51) on Mon Sep 09 11:47:06 EDT 2013 --> |
| 6 |
<TITLE> |
| 7 |
Relationship (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="Relationship (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> </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/Relationship.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/PrimaryKeyMetadata.html" title="class in com.sleepycat.persist.model"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../../com/sleepycat/persist/model/SecondaryKey.html" title="annotation 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/Relationship.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="Relationship.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 | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <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"> |
| 91 |
com.sleepycat.persist.model</FONT> |
| 92 |
<BR> |
| 93 |
Enum Relationship</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 "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A>> |
| 97 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.persist.model.Relationship</B> |
| 98 |
</PRE> |
| 99 |
<DL> |
| 100 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A>></DD> |
| 101 |
</DL> |
| 102 |
<HR> |
| 103 |
<DL> |
| 104 |
<DT><PRE>public enum <B>Relationship</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><<A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A>></DL> |
| 105 |
</PRE> |
| 106 |
|
| 107 |
<P> |
| 108 |
Defines the relationship between instances of the entity class and the |
| 109 |
secondary keys. This can be specified using a <A HREF="../../../../com/sleepycat/persist/model/SecondaryKey.html#relate()"><CODE>SecondaryKey.relate()</CODE></A> |
| 110 |
annotation. |
| 111 |
<P> |
| 112 |
|
| 113 |
<P> |
| 114 |
<HR> |
| 115 |
|
| 116 |
<P> |
| 117 |
<!-- =========== ENUM CONSTANT SUMMARY =========== --> |
| 118 |
|
| 119 |
<A NAME="enum_constant_summary"><!-- --></A> |
| 120 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 121 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 122 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 123 |
<B>Enum Constant Summary</B></FONT></TH> |
| 124 |
</TR> |
| 125 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 126 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Relationship.html#MANY_TO_MANY">MANY_TO_MANY</A></B></CODE> |
| 127 |
|
| 128 |
<BR> |
| 129 |
Relates many entities to many secondary keys.</TD> |
| 130 |
</TR> |
| 131 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 132 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Relationship.html#MANY_TO_ONE">MANY_TO_ONE</A></B></CODE> |
| 133 |
|
| 134 |
<BR> |
| 135 |
Relates many entities to one secondary key.</TD> |
| 136 |
</TR> |
| 137 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 138 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Relationship.html#ONE_TO_MANY">ONE_TO_MANY</A></B></CODE> |
| 139 |
|
| 140 |
<BR> |
| 141 |
Relates one entity to many secondary keys.</TD> |
| 142 |
</TR> |
| 143 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 144 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Relationship.html#ONE_TO_ONE">ONE_TO_ONE</A></B></CODE> |
| 145 |
|
| 146 |
<BR> |
| 147 |
Relates one entity to one secondary key.</TD> |
| 148 |
</TR> |
| 149 |
</TABLE> |
| 150 |
|
| 151 |
<!-- ========== METHOD SUMMARY =========== --> |
| 152 |
|
| 153 |
<A NAME="method_summary"><!-- --></A> |
| 154 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 155 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 156 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 157 |
<B>Method Summary</B></FONT></TH> |
| 158 |
</TR> |
| 159 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 160 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 161 |
<CODE>static <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A></CODE></FONT></TD> |
| 162 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Relationship.html#valueOf(java.lang.String)">valueOf</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> name)</CODE> |
| 163 |
|
| 164 |
<BR> |
| 165 |
Returns the enum constant of this type with the specified name.</TD> |
| 166 |
</TR> |
| 167 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 168 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 169 |
<CODE>static <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A>[]</CODE></FONT></TD> |
| 170 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Relationship.html#values()">values</A></B>()</CODE> |
| 171 |
|
| 172 |
<BR> |
| 173 |
Returns an array containing the constants of this enum type, in |
| 174 |
the order they are declared.</TD> |
| 175 |
</TR> |
| 176 |
</TABLE> |
| 177 |
<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A> |
| 178 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 179 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 180 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH> |
| 181 |
</TR> |
| 182 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 183 |
<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.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/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.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/Enum.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/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.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/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.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/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD> |
| 184 |
</TR> |
| 185 |
</TABLE> |
| 186 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 187 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 188 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 189 |
<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> |
| 190 |
</TR> |
| 191 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 192 |
<TD><CODE><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#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#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> |
| 193 |
</TR> |
| 194 |
</TABLE> |
| 195 |
|
| 196 |
<P> |
| 197 |
|
| 198 |
<!-- ============ ENUM CONSTANT DETAIL =========== --> |
| 199 |
|
| 200 |
<A NAME="enum_constant_detail"><!-- --></A> |
| 201 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 202 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 203 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 204 |
<B>Enum Constant Detail</B></FONT></TH> |
| 205 |
</TR> |
| 206 |
</TABLE> |
| 207 |
|
| 208 |
<A NAME="MANY_TO_ONE"><!-- --></A><H3> |
| 209 |
MANY_TO_ONE</H3> |
| 210 |
<PRE> |
| 211 |
public static final <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A> <B>MANY_TO_ONE</B></PRE> |
| 212 |
<DL> |
| 213 |
<DD>Relates many entities to one secondary key. |
| 214 |
|
| 215 |
<p>The secondary index will have non-unique keys; in other words, |
| 216 |
duplicates will be allowed.</p> |
| 217 |
|
| 218 |
<p>The secondary key field is singular, in other words, it may not be an |
| 219 |
array or collection type.</p> |
| 220 |
<P> |
| 221 |
<DL> |
| 222 |
</DL> |
| 223 |
</DL> |
| 224 |
<HR> |
| 225 |
|
| 226 |
<A NAME="ONE_TO_MANY"><!-- --></A><H3> |
| 227 |
ONE_TO_MANY</H3> |
| 228 |
<PRE> |
| 229 |
public static final <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A> <B>ONE_TO_MANY</B></PRE> |
| 230 |
<DL> |
| 231 |
<DD>Relates one entity to many secondary keys. |
| 232 |
|
| 233 |
<p>The secondary index will have unique keys, in other words, duplicates |
| 234 |
will not be allowed.</p> |
| 235 |
|
| 236 |
<p>The secondary key field must be an array or collection type.</p> |
| 237 |
<P> |
| 238 |
<DL> |
| 239 |
</DL> |
| 240 |
</DL> |
| 241 |
<HR> |
| 242 |
|
| 243 |
<A NAME="MANY_TO_MANY"><!-- --></A><H3> |
| 244 |
MANY_TO_MANY</H3> |
| 245 |
<PRE> |
| 246 |
public static final <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A> <B>MANY_TO_MANY</B></PRE> |
| 247 |
<DL> |
| 248 |
<DD>Relates many entities to many secondary keys. |
| 249 |
|
| 250 |
<p>The secondary index will have non-unique keys, in other words, |
| 251 |
duplicates will be allowed.</p> |
| 252 |
|
| 253 |
<p>The secondary key field must be an array or collection type.</p> |
| 254 |
<P> |
| 255 |
<DL> |
| 256 |
</DL> |
| 257 |
</DL> |
| 258 |
<HR> |
| 259 |
|
| 260 |
<A NAME="ONE_TO_ONE"><!-- --></A><H3> |
| 261 |
ONE_TO_ONE</H3> |
| 262 |
<PRE> |
| 263 |
public static final <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A> <B>ONE_TO_ONE</B></PRE> |
| 264 |
<DL> |
| 265 |
<DD>Relates one entity to one secondary key. |
| 266 |
|
| 267 |
<p>The secondary index will have unique keys, in other words, duplicates |
| 268 |
will not be allowed.</p> |
| 269 |
|
| 270 |
<p>The secondary key field is singular, in other words, it may not be an |
| 271 |
array or collection type.</p> |
| 272 |
<P> |
| 273 |
<DL> |
| 274 |
</DL> |
| 275 |
</DL> |
| 276 |
|
| 277 |
<!-- ============ METHOD DETAIL ========== --> |
| 278 |
|
| 279 |
<A NAME="method_detail"><!-- --></A> |
| 280 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 281 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 282 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 283 |
<B>Method Detail</B></FONT></TH> |
| 284 |
</TR> |
| 285 |
</TABLE> |
| 286 |
|
| 287 |
<A NAME="values()"><!-- --></A><H3> |
| 288 |
values</H3> |
| 289 |
<PRE> |
| 290 |
public static <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A>[] <B>values</B>()</PRE> |
| 291 |
<DL> |
| 292 |
<DD>Returns an array containing the constants of this enum type, in |
| 293 |
the order they are declared. This method may be used to iterate |
| 294 |
over the constants as follows: |
| 295 |
<pre> |
| 296 |
for (Relationship c : Relationship.values()) |
| 297 |
System.out.println(c); |
| 298 |
</pre> |
| 299 |
<P> |
| 300 |
<DD><DL> |
| 301 |
|
| 302 |
<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in |
| 303 |
the order they are declared</DL> |
| 304 |
</DD> |
| 305 |
</DL> |
| 306 |
<HR> |
| 307 |
|
| 308 |
<A NAME="valueOf(java.lang.String)"><!-- --></A><H3> |
| 309 |
valueOf</H3> |
| 310 |
<PRE> |
| 311 |
public static <A HREF="../../../../com/sleepycat/persist/model/Relationship.html" title="enum in com.sleepycat.persist.model">Relationship</A> <B>valueOf</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> name)</PRE> |
| 312 |
<DL> |
| 313 |
<DD>Returns the enum constant of this type with the specified name. |
| 314 |
The string must match <I>exactly</I> an identifier used to declare an |
| 315 |
enum constant in this type. (Extraneous whitespace characters are |
| 316 |
not permitted.) |
| 317 |
<P> |
| 318 |
<DD><DL> |
| 319 |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned. |
| 320 |
<DT><B>Returns:</B><DD>the enum constant with the specified name |
| 321 |
<DT><B>Throws:</B> |
| 322 |
<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 this enum type has no constant |
| 323 |
with the specified name |
| 324 |
<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL> |
| 325 |
</DD> |
| 326 |
</DL> |
| 327 |
<!-- ========= END OF CLASS DATA ========= --> |
| 328 |
<HR> |
| 329 |
|
| 330 |
|
| 331 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 332 |
<A NAME="navbar_bottom"><!-- --></A> |
| 333 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 334 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 335 |
<TR> |
| 336 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 337 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 338 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 339 |
<TR ALIGN="center" VALIGN="top"> |
| 340 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 341 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 342 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 343 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Relationship.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 344 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 345 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 346 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 347 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 348 |
</TR> |
| 349 |
</TABLE> |
| 350 |
</TD> |
| 351 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 352 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 353 |
</TD> |
| 354 |
</TR> |
| 355 |
|
| 356 |
<TR> |
| 357 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 358 |
<A HREF="../../../../com/sleepycat/persist/model/PrimaryKeyMetadata.html" title="class in com.sleepycat.persist.model"><B>PREV CLASS</B></A> |
| 359 |
<A HREF="../../../../com/sleepycat/persist/model/SecondaryKey.html" title="annotation in com.sleepycat.persist.model"><B>NEXT CLASS</B></A></FONT></TD> |
| 360 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 361 |
<A HREF="../../../../index.html?com/sleepycat/persist/model/Relationship.html" target="_top"><B>FRAMES</B></A> |
| 362 |
<A HREF="Relationship.html" target="_top"><B>NO FRAMES</B></A> |
| 363 |
<SCRIPT type="text/javascript"> |
| 364 |
<!-- |
| 365 |
if(window==top) { |
| 366 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 367 |
} |
| 368 |
//--> |
| 369 |
</SCRIPT> |
| 370 |
<NOSCRIPT> |
| 371 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 372 |
</NOSCRIPT> |
| 373 |
|
| 374 |
|
| 375 |
</FONT></TD> |
| 376 |
</TR> |
| 377 |
<TR> |
| 378 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 379 |
SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 380 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 381 |
DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 382 |
</TR> |
| 383 |
</TABLE> |
| 384 |
<A NAME="skip-navbar_bottom"></A> |
| 385 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 386 |
|
| 387 |
<HR> |
| 388 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 389 |
</BODY> |
| 390 |
</HTML> |