• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/docs/java/com/sleepycat/persist/evolve/
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>
7Mutations (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="Mutations (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/Mutations.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/evolve/Mutation.html" title="class in com.sleepycat.persist.evolve"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../index.html?com/sleepycat/persist/evolve/Mutations.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="Mutations.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.evolve</FONT>
92<BR>
93Class Mutations</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.evolve.Mutations</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>Mutations</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><DT>implements <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL>
104</PRE>
105
106<P>
107A collection of mutations for configuring class evolution.
108
109 <p>Mutations are configured when a store is opened via <A HREF="../../../../com/sleepycat/persist/StoreConfig.html#setMutations(com.sleepycat.persist.evolve.Mutations)"><CODE>StoreConfig.setMutations</CODE></A>.  For example:</p>
110
111 <pre class="code">
112  Mutations mutations = new Mutations();
113  // Add mutations...
114  StoreConfig config = new StoreConfig();
115  config.setMutations(mutations);
116  EntityStore store = new EntityStore(env, "myStore", config);</pre>
117
118 <p>Mutations cause data conversion to occur lazily as instances are read
119 from the store.  The <A HREF="../../../../com/sleepycat/persist/EntityStore.html#evolve(com.sleepycat.persist.evolve.EvolveConfig)"><CODE>EntityStore.evolve</CODE></A> method
120 may also be used to perform eager conversion.</p>
121
122 <p>Not all incompatible class changes can be handled via mutations.  For
123 example, complex refactoring may require a transformation that manipulates
124 multiple entity instances at once.  Such changes are not possible with
125 mutations but can made by performing a <a
126 href="package-summary.html#storeConversion">store conversion</a>.</p>
127<P>
128
129<P>
130<DL>
131<DT><B>See Also:</B><DD><A HREF="../../../../com/sleepycat/persist/evolve/package-summary.html"><CODE>Class Evolution</CODE></A>, 
132<A HREF="../../../../serialized-form.html#com.sleepycat.persist.evolve.Mutations">Serialized Form</A></DL>
133<HR>
134
135<P>
136
137<!-- ======== CONSTRUCTOR SUMMARY ======== -->
138
139<A NAME="constructor_summary"><!-- --></A>
140<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
142<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
143<B>Constructor Summary</B></FONT></TH>
144</TR>
145<TR BGCOLOR="white" CLASS="TableRowColor">
146<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#Mutations()">Mutations</A></B>()</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty set of mutations.</TD>
150</TR>
151</TABLE>
152&nbsp;
153<!-- ========== METHOD SUMMARY =========== -->
154
155<A NAME="method_summary"><!-- --></A>
156<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
158<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
159<B>Method Summary</B></FONT></TH>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163<CODE>&nbsp;void</CODE></FONT></TD>
164<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#addConverter(com.sleepycat.persist.evolve.Converter)">addConverter</A></B>(<A HREF="../../../../com/sleepycat/persist/evolve/Converter.html" title="class in com.sleepycat.persist.evolve">Converter</A>&nbsp;converter)</CODE>
165
166<BR>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a converter mutation.</TD>
168</TR>
169<TR BGCOLOR="white" CLASS="TableRowColor">
170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171<CODE>&nbsp;void</CODE></FONT></TD>
172<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#addDeleter(com.sleepycat.persist.evolve.Deleter)">addDeleter</A></B>(<A HREF="../../../../com/sleepycat/persist/evolve/Deleter.html" title="class in com.sleepycat.persist.evolve">Deleter</A>&nbsp;deleter)</CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a deleter mutation.</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179<CODE>&nbsp;void</CODE></FONT></TD>
180<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#addRenamer(com.sleepycat.persist.evolve.Renamer)">addRenamer</A></B>(<A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve">Renamer</A>&nbsp;renamer)</CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a renamer mutation.</TD>
184</TR>
185<TR BGCOLOR="white" CLASS="TableRowColor">
186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187<CODE>&nbsp;boolean</CODE></FONT></TD>
188<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.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>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this collection has the same set of mutations as the
192 given collection and all mutations are equal.</TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196<CODE>&nbsp;<A HREF="../../../../com/sleepycat/persist/evolve/Converter.html" title="class in com.sleepycat.persist.evolve">Converter</A></CODE></FONT></TD>
197<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#getConverter(java.lang.String, int, java.lang.String)">getConverter</A></B>(<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;className,
198             int&nbsp;classVersion,
199             <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;fieldName)</CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the converter mutation for the given class, version and field,
203 or null if none exists.</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/sleepycat/persist/evolve/Converter.html" title="class in com.sleepycat.persist.evolve">Converter</A>&gt;</CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#getConverters()">getConverters</A></B>()</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an unmodifiable collection of all converter mutations.</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215<CODE>&nbsp;<A HREF="../../../../com/sleepycat/persist/evolve/Deleter.html" title="class in com.sleepycat.persist.evolve">Deleter</A></CODE></FONT></TD>
216<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#getDeleter(java.lang.String, int, java.lang.String)">getDeleter</A></B>(<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;className,
217           int&nbsp;classVersion,
218           <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;fieldName)</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the deleter mutation for the given class, version and field, or
222 null if none exists.</TD>
223</TR>
224<TR BGCOLOR="white" CLASS="TableRowColor">
225<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/sleepycat/persist/evolve/Deleter.html" title="class in com.sleepycat.persist.evolve">Deleter</A>&gt;</CODE></FONT></TD>
227<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#getDeleters()">getDeleters</A></B>()</CODE>
228
229<BR>
230&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an unmodifiable collection of all deleter mutations.</TD>
231</TR>
232<TR BGCOLOR="white" CLASS="TableRowColor">
233<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
234<CODE>&nbsp;<A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve">Renamer</A></CODE></FONT></TD>
235<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#getRenamer(java.lang.String, int, java.lang.String)">getRenamer</A></B>(<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;className,
236           int&nbsp;classVersion,
237           <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;fieldName)</CODE>
238
239<BR>
240&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the renamer mutation for the given class, version and field, or
241 null if none exists.</TD>
242</TR>
243<TR BGCOLOR="white" CLASS="TableRowColor">
244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve">Renamer</A>&gt;</CODE></FONT></TD>
246<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#getRenamers()">getRenamers</A></B>()</CODE>
247
248<BR>
249&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an unmodifiable collection of all renamer mutations.</TD>
250</TR>
251<TR BGCOLOR="white" CLASS="TableRowColor">
252<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253<CODE>&nbsp;int</CODE></FONT></TD>
254<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#hashCode()">hashCode</A></B>()</CODE>
255
256<BR>
257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
258</TR>
259<TR BGCOLOR="white" CLASS="TableRowColor">
260<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261<CODE>&nbsp;boolean</CODE></FONT></TD>
262<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#isEmpty()">isEmpty</A></B>()</CODE>
263
264<BR>
265&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if no mutations are present.</TD>
266</TR>
267<TR BGCOLOR="white" CLASS="TableRowColor">
268<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269<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>
270<TD><CODE><B><A HREF="../../../../com/sleepycat/persist/evolve/Mutations.html#toString()">toString</A></B>()</CODE>
271
272<BR>
273&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
274</TR>
275</TABLE>
276&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
277<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
278<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
279<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>
280</TR>
281<TR BGCOLOR="white" CLASS="TableRowColor">
282<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>
283</TR>
284</TABLE>
285&nbsp;
286<P>
287
288<!-- ========= CONSTRUCTOR DETAIL ======== -->
289
290<A NAME="constructor_detail"><!-- --></A>
291<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
292<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
293<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
294<B>Constructor Detail</B></FONT></TH>
295</TR>
296</TABLE>
297
298<A NAME="Mutations()"><!-- --></A><H3>
299Mutations</H3>
300<PRE>
301public <B>Mutations</B>()</PRE>
302<DL>
303<DD>Creates an empty set of mutations.
304<P>
305</DL>
306
307<!-- ============ METHOD DETAIL ========== -->
308
309<A NAME="method_detail"><!-- --></A>
310<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
311<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
312<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
313<B>Method Detail</B></FONT></TH>
314</TR>
315</TABLE>
316
317<A NAME="isEmpty()"><!-- --></A><H3>
318isEmpty</H3>
319<PRE>
320public boolean <B>isEmpty</B>()</PRE>
321<DL>
322<DD>Returns true if no mutations are present.
323<P>
324<DD><DL>
325</DL>
326</DD>
327<DD><DL>
328</DL>
329</DD>
330</DL>
331<HR>
332
333<A NAME="addRenamer(com.sleepycat.persist.evolve.Renamer)"><!-- --></A><H3>
334addRenamer</H3>
335<PRE>
336public void <B>addRenamer</B>(<A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve">Renamer</A>&nbsp;renamer)</PRE>
337<DL>
338<DD>Adds a renamer mutation.
339<P>
340<DD><DL>
341</DL>
342</DD>
343<DD><DL>
344</DL>
345</DD>
346</DL>
347<HR>
348
349<A NAME="getRenamer(java.lang.String, int, java.lang.String)"><!-- --></A><H3>
350getRenamer</H3>
351<PRE>
352public <A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve">Renamer</A> <B>getRenamer</B>(<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;className,
353                          int&nbsp;classVersion,
354                          <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;fieldName)</PRE>
355<DL>
356<DD>Returns the renamer mutation for the given class, version and field, or
357 null if none exists.  A null field name should be specified to get a
358 class renamer.
359<P>
360<DD><DL>
361</DL>
362</DD>
363<DD><DL>
364</DL>
365</DD>
366</DL>
367<HR>
368
369<A NAME="getRenamers()"><!-- --></A><H3>
370getRenamers</H3>
371<PRE>
372public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve">Renamer</A>&gt; <B>getRenamers</B>()</PRE>
373<DL>
374<DD>Returns an unmodifiable collection of all renamer mutations.
375<P>
376<DD><DL>
377</DL>
378</DD>
379<DD><DL>
380</DL>
381</DD>
382</DL>
383<HR>
384
385<A NAME="addDeleter(com.sleepycat.persist.evolve.Deleter)"><!-- --></A><H3>
386addDeleter</H3>
387<PRE>
388public void <B>addDeleter</B>(<A HREF="../../../../com/sleepycat/persist/evolve/Deleter.html" title="class in com.sleepycat.persist.evolve">Deleter</A>&nbsp;deleter)</PRE>
389<DL>
390<DD>Adds a deleter mutation.
391<P>
392<DD><DL>
393</DL>
394</DD>
395<DD><DL>
396</DL>
397</DD>
398</DL>
399<HR>
400
401<A NAME="getDeleter(java.lang.String, int, java.lang.String)"><!-- --></A><H3>
402getDeleter</H3>
403<PRE>
404public <A HREF="../../../../com/sleepycat/persist/evolve/Deleter.html" title="class in com.sleepycat.persist.evolve">Deleter</A> <B>getDeleter</B>(<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;className,
405                          int&nbsp;classVersion,
406                          <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;fieldName)</PRE>
407<DL>
408<DD>Returns the deleter mutation for the given class, version and field, or
409 null if none exists.  A null field name should be specified to get a
410 class deleter.
411<P>
412<DD><DL>
413</DL>
414</DD>
415<DD><DL>
416</DL>
417</DD>
418</DL>
419<HR>
420
421<A NAME="getDeleters()"><!-- --></A><H3>
422getDeleters</H3>
423<PRE>
424public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/sleepycat/persist/evolve/Deleter.html" title="class in com.sleepycat.persist.evolve">Deleter</A>&gt; <B>getDeleters</B>()</PRE>
425<DL>
426<DD>Returns an unmodifiable collection of all deleter mutations.
427<P>
428<DD><DL>
429</DL>
430</DD>
431<DD><DL>
432</DL>
433</DD>
434</DL>
435<HR>
436
437<A NAME="addConverter(com.sleepycat.persist.evolve.Converter)"><!-- --></A><H3>
438addConverter</H3>
439<PRE>
440public void <B>addConverter</B>(<A HREF="../../../../com/sleepycat/persist/evolve/Converter.html" title="class in com.sleepycat.persist.evolve">Converter</A>&nbsp;converter)</PRE>
441<DL>
442<DD>Adds a converter mutation.
443<P>
444<DD><DL>
445</DL>
446</DD>
447<DD><DL>
448</DL>
449</DD>
450</DL>
451<HR>
452
453<A NAME="getConverter(java.lang.String, int, java.lang.String)"><!-- --></A><H3>
454getConverter</H3>
455<PRE>
456public <A HREF="../../../../com/sleepycat/persist/evolve/Converter.html" title="class in com.sleepycat.persist.evolve">Converter</A> <B>getConverter</B>(<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;className,
457                              int&nbsp;classVersion,
458                              <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;fieldName)</PRE>
459<DL>
460<DD>Returns the converter mutation for the given class, version and field,
461 or null if none exists.  A null field name should be specified to get a
462 class converter.
463<P>
464<DD><DL>
465</DL>
466</DD>
467<DD><DL>
468</DL>
469</DD>
470</DL>
471<HR>
472
473<A NAME="getConverters()"><!-- --></A><H3>
474getConverters</H3>
475<PRE>
476public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A>&lt;<A HREF="../../../../com/sleepycat/persist/evolve/Converter.html" title="class in com.sleepycat.persist.evolve">Converter</A>&gt; <B>getConverters</B>()</PRE>
477<DL>
478<DD>Returns an unmodifiable collection of all converter mutations.
479<P>
480<DD><DL>
481</DL>
482</DD>
483<DD><DL>
484</DL>
485</DD>
486</DL>
487<HR>
488
489<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
490equals</H3>
491<PRE>
492public 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>
493<DL>
494<DD>Returns true if this collection has the same set of mutations as the
495 given collection and all mutations are equal.
496<P>
497<DD><DL>
498<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>
499</DD>
500<DD><DL>
501</DL>
502</DD>
503</DL>
504<HR>
505
506<A NAME="hashCode()"><!-- --></A><H3>
507hashCode</H3>
508<PRE>
509public int <B>hashCode</B>()</PRE>
510<DL>
511<DD><DL>
512<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>
513</DD>
514<DD><DL>
515</DL>
516</DD>
517</DL>
518<HR>
519
520<A NAME="toString()"><!-- --></A><H3>
521toString</H3>
522<PRE>
523public <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>
524<DL>
525<DD><DL>
526<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>
527</DD>
528<DD><DL>
529</DL>
530</DD>
531</DL>
532<!-- ========= END OF CLASS DATA ========= -->
533<HR>
534
535
536<!-- ======= START OF BOTTOM NAVBAR ====== -->
537<A NAME="navbar_bottom"><!-- --></A>
538<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
539<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
540<TR>
541<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
542<A NAME="navbar_bottom_firstrow"><!-- --></A>
543<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
544  <TR ALIGN="center" VALIGN="top">
545  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
546  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
547  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
548  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Mutations.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
549  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
550  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
551  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
552  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
553  </TR>
554</TABLE>
555</TD>
556<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
557<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM>
558</TD>
559</TR>
560
561<TR>
562<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
563&nbsp;<A HREF="../../../../com/sleepycat/persist/evolve/Mutation.html" title="class in com.sleepycat.persist.evolve"><B>PREV CLASS</B></A>&nbsp;
564&nbsp;<A HREF="../../../../com/sleepycat/persist/evolve/Renamer.html" title="class in com.sleepycat.persist.evolve"><B>NEXT CLASS</B></A></FONT></TD>
565<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
566  <A HREF="../../../../index.html?com/sleepycat/persist/evolve/Mutations.html" target="_top"><B>FRAMES</B></A>  &nbsp;
567&nbsp;<A HREF="Mutations.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
568&nbsp;<SCRIPT type="text/javascript">
569  <!--
570  if(window==top) {
571    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
572  }
573  //-->
574</SCRIPT>
575<NOSCRIPT>
576  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
577</NOSCRIPT>
578
579
580</FONT></TD>
581</TR>
582<TR>
583<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
584  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
585<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
586DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
587</TR>
588</TABLE>
589<A NAME="skip-navbar_bottom"></A>
590<!-- ======== END OF BOTTOM NAVBAR ======= -->
591
592<HR>
593<font size=1>Copyright (c) 1996-2009 Oracle.  All rights reserved.</font>
594</BODY>
595</HTML>
596