| 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 |
Persistent (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="Persistent (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/Persistent.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/NotTransient.html" title="annotation in com.sleepycat.persist.model"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface 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/Persistent.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="Persistent.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: REQUIRED | <A HREF="#annotation_type_optional_element_summary">OPTIONAL</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: <A HREF="#annotation_type_element_detail">ELEMENT</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 |
Annotation Type Persistent</H2> |
| 94 |
<HR> |
| 95 |
<DL> |
| 96 |
<DT><PRE><FONT SIZE="-1"><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</A> |
| 97 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</A>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/Retention.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</A>) |
| 98 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</A>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/Target.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</A>=<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</A>) |
| 99 |
</FONT>public @interface <B>Persistent</B></DL> |
| 100 |
</PRE> |
| 101 |
|
| 102 |
<P> |
| 103 |
Identifies a persistent class that is not an <A HREF="../../../../com/sleepycat/persist/model/Entity.html" title="annotation in com.sleepycat.persist.model"><CODE>Entity</CODE></A> class or a |
| 104 |
<a href="../../../../com/sleepycat/persist/model/Entity.html#simpleTypes">simple type</a>. |
| 105 |
<P> |
| 106 |
|
| 107 |
<P> |
| 108 |
<HR> |
| 109 |
|
| 110 |
<P> |
| 111 |
|
| 112 |
|
| 113 |
<A NAME="annotation_type_optional_element_summary"></A> |
| 114 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 115 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 116 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 117 |
<B>Optional Element Summary</B></FONT></TH> |
| 118 |
</TR> |
| 119 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 120 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 121 |
<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> |
| 122 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Persistent.html#proxyFor()">proxyFor</A></B></CODE> |
| 123 |
|
| 124 |
<BR> |
| 125 |
Specifies the class that is proxied by this <A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface in com.sleepycat.persist.model"><CODE>PersistentProxy</CODE></A> |
| 126 |
instance.</TD> |
| 127 |
</TR> |
| 128 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 129 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 130 |
<CODE> int</CODE></FONT></TD> |
| 131 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/model/Persistent.html#version()">version</A></B></CODE> |
| 132 |
|
| 133 |
<BR> |
| 134 |
Identifies a new version of a class when an incompatible class change |
| 135 |
has been made.</TD> |
| 136 |
</TR> |
| 137 |
</TABLE> |
| 138 |
|
| 139 |
<P> |
| 140 |
<A NAME="version()"></A><H3> |
| 141 |
version</H3> |
| 142 |
<PRE> |
| 143 |
public abstract int <B>version</B></PRE> |
| 144 |
<DL> |
| 145 |
<DD>Identifies a new version of a class when an incompatible class change |
| 146 |
has been made. |
| 147 |
<P> |
| 148 |
<DD><DL> |
| 149 |
</DL> |
| 150 |
</DD> |
| 151 |
<DD><DL> |
| 152 |
<DT><B>See Also:</B><DD><A HREF="../../../../com/sleepycat/persist/model/Entity.html#version()"><CODE>Entity.version()</CODE></A></DL> |
| 153 |
<DL> |
| 154 |
<DT><B>Default:</B><DD>0</DD> |
| 155 |
</DL> |
| 156 |
</DL> |
| 157 |
<HR> |
| 158 |
|
| 159 |
<A NAME="proxyFor()"></A><H3> |
| 160 |
proxyFor</H3> |
| 161 |
<PRE> |
| 162 |
public abstract <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>proxyFor</B></PRE> |
| 163 |
<DL> |
| 164 |
<DD>Specifies the class that is proxied by this <A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface in com.sleepycat.persist.model"><CODE>PersistentProxy</CODE></A> |
| 165 |
instance. |
| 166 |
<P> |
| 167 |
<DD><DL> |
| 168 |
</DL> |
| 169 |
</DD> |
| 170 |
<DD><DL> |
| 171 |
<DT><B>See Also:</B><DD><A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface in com.sleepycat.persist.model"><CODE>PersistentProxy</CODE></A></DL> |
| 172 |
<DL> |
| 173 |
<DT><B>Default:</B><DD>void.class</DD> |
| 174 |
</DL> |
| 175 |
</DL> |
| 176 |
|
| 177 |
<HR> |
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
<A NAME="navbar_bottom"></A> |
| 182 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 183 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 184 |
<TR> |
| 185 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 186 |
<A NAME="navbar_bottom_firstrow"></A> |
| 187 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 188 |
<TR ALIGN="center" VALIGN="top"> |
| 189 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 190 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 191 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 192 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Persistent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 193 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 194 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 195 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 196 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 197 |
</TR> |
| 198 |
</TABLE> |
| 199 |
</TD> |
| 200 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 201 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 202 |
</TD> |
| 203 |
</TR> |
| 204 |
|
| 205 |
<TR> |
| 206 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 207 |
<A HREF="../../../../com/sleepycat/persist/model/NotTransient.html" title="annotation in com.sleepycat.persist.model"><B>PREV CLASS</B></A> |
| 208 |
<A HREF="../../../../com/sleepycat/persist/model/PersistentProxy.html" title="interface in com.sleepycat.persist.model"><B>NEXT CLASS</B></A></FONT></TD> |
| 209 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 210 |
<A HREF="../../../../index.html?com/sleepycat/persist/model/Persistent.html" target="_top"><B>FRAMES</B></A> |
| 211 |
<A HREF="Persistent.html" target="_top"><B>NO FRAMES</B></A> |
| 212 |
<SCRIPT type="text/javascript"> |
| 213 |
<!-- |
| 214 |
if(window==top) { |
| 215 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 216 |
} |
| 217 |
//--> |
| 218 |
</SCRIPT> |
| 219 |
<NOSCRIPT> |
| 220 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 221 |
</NOSCRIPT> |
| 222 |
|
| 223 |
|
| 224 |
</FONT></TD> |
| 225 |
</TR> |
| 226 |
<TR> |
| 227 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 228 |
SUMMARY: REQUIRED | <A HREF="#annotation_type_optional_element_summary">OPTIONAL</A></FONT></TD> |
| 229 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 230 |
DETAIL: <A HREF="#annotation_type_element_detail">ELEMENT</A></FONT></TD> |
| 231 |
</TR> |
| 232 |
</TABLE> |
| 233 |
<A NAME="skip-navbar_bottom"></A> |
| 234 |
|
| 235 |
|
| 236 |
<HR> |
| 237 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 238 |
</BODY> |
| 239 |
</HTML> |