• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_29) on Mon Mar 26 18:49:11 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8ObjectIdGenerator (Jackson-annotations 2.0.0 API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-03-26">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="ObjectIdGenerator (Jackson-annotations 2.0.0 API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../com/fasterxml/jackson/annotation/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/ObjectIdGenerator.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</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/JsonView.html" title="annotation in com.fasterxml.jackson.annotation"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/ObjectIdGenerator.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="ObjectIdGenerator.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;<A HREF="#nested_class_summary">NESTED</A>&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.fasterxml.jackson.annotation</FONT>
92<BR>
93Class ObjectIdGenerator&lt;T&gt;</H2>
94<PRE>
95<A HREF="http://docs.oracle.com/javase/6/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.fasterxml.jackson.annotation.ObjectIdGenerator&lt;T&gt;</B>
97</PRE>
98<DL>
99<DT><DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of Object Identifiers produced.</DL>
100<DL>
101<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.IntSequenceGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.IntSequenceGenerator</A>, <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.None.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.None</A>, <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.PropertyGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.PropertyGenerator</A>, <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.UUIDGenerator</A></DD>
102</DL>
103<HR>
104<DL>
105<DT><PRE>public abstract class <B>ObjectIdGenerator&lt;T&gt;</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
106</PRE>
107
108<P>
109Definition of API used for constructing Object Identifiers
110 (as annotated using <A HREF="../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation"><CODE>JsonIdentityInfo</CODE></A>).
111 Also defines factory methods used for creating instances
112 for serialization, deserialization.
113<P>
114
115<P>
116<HR>
117
118<P>
119<!-- ======== NESTED CLASS SUMMARY ======== -->
120
121<A NAME="nested_class_summary"><!-- --></A>
122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125<B>Nested Class Summary</B></FONT></TH>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129<CODE>static&nbsp;class</CODE></FONT></TD>
130<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator.IdKey</A></B></CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple key class that can be used as a key for
134 ObjectId-to-POJO mappings, when multiple ObjectId types
135 and scopes are used.</TD>
136</TR>
137</TABLE>
138&nbsp;
139<!-- ======== CONSTRUCTOR SUMMARY ======== -->
140
141<A NAME="constructor_summary"><!-- --></A>
142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
145<B>Constructor Summary</B></FONT></TH>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#ObjectIdGenerator()">ObjectIdGenerator</A></B>()</CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
152</TR>
153</TABLE>
154&nbsp;
155<!-- ========== METHOD SUMMARY =========== -->
156
157<A NAME="method_summary"><!-- --></A>
158<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
160<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
161<B>Method Summary</B></FONT></TH>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165<CODE>abstract &nbsp;boolean</CODE></FONT></TD>
166<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#canUseFor(com.fasterxml.jackson.annotation.ObjectIdGenerator)">canUseFor</A></B>(<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator</A>&lt;?&gt;&nbsp;gen)</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method called to check whether this generator instance can
170 be used for Object Ids of specific generator type and
171 scope; determination is based by passing a configured
172 "blueprint" (prototype) instance; from which the actual
173 instances are created (using <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#newForSerialization(java.lang.Object)"><CODE>newForSerialization(java.lang.Object)</CODE></A>).</TD>
174</TR>
175<TR BGCOLOR="white" CLASS="TableRowColor">
176<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="type parameter in ObjectIdGenerator">T</A>&gt;</CODE></FONT></TD>
178<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#forScope(java.lang.Class)">forScope</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;scope)</CODE>
179
180<BR>
181&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory method to create a blueprint instance for specified
182 scope.</TD>
183</TR>
184<TR BGCOLOR="white" CLASS="TableRowColor">
185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="type parameter in ObjectIdGenerator">T</A></CODE></FONT></TD>
187<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#generateId(java.lang.Object)">generateId</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;forPojo)</CODE>
188
189<BR>
190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method used for generating a new Object Identifier to serialize
191 for given POJO.</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>abstract &nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;</CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#getScope()">getScope</A></B>()</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator.IdKey</A></CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#key(java.lang.Object)">key</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing key to use for ObjectId-to-POJO maps.</TD>
208</TR>
209<TR BGCOLOR="white" CLASS="TableRowColor">
210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211<CODE>abstract &nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="type parameter in ObjectIdGenerator">T</A>&gt;</CODE></FONT></TD>
212<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#newForSerialization(java.lang.Object)">newForSerialization</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context)</CODE>
213
214<BR>
215&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory method called to create a new instance to use for
216 serialization: needed since generators may have state
217 (next id to produce).</TD>
218</TR>
219</TABLE>
220&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
221<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
222<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
223<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
224</TR>
225<TR BGCOLOR="white" CLASS="TableRowColor">
226<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/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://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
227</TR>
228</TABLE>
229&nbsp;
230<P>
231
232<!-- ========= CONSTRUCTOR DETAIL ======== -->
233
234<A NAME="constructor_detail"><!-- --></A>
235<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
236<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
237<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
238<B>Constructor Detail</B></FONT></TH>
239</TR>
240</TABLE>
241
242<A NAME="ObjectIdGenerator()"><!-- --></A><H3>
243ObjectIdGenerator</H3>
244<PRE>
245public <B>ObjectIdGenerator</B>()</PRE>
246<DL>
247</DL>
248
249<!-- ============ METHOD DETAIL ========== -->
250
251<A NAME="method_detail"><!-- --></A>
252<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
253<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
254<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
255<B>Method Detail</B></FONT></TH>
256</TR>
257</TABLE>
258
259<A NAME="getScope()"><!-- --></A><H3>
260getScope</H3>
261<PRE>
262public abstract <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt; <B>getScope</B>()</PRE>
263<DL>
264<DD><DL>
265</DL>
266</DD>
267</DL>
268<HR>
269
270<A NAME="canUseFor(com.fasterxml.jackson.annotation.ObjectIdGenerator)"><!-- --></A><H3>
271canUseFor</H3>
272<PRE>
273public abstract boolean <B>canUseFor</B>(<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator</A>&lt;?&gt;&nbsp;gen)</PRE>
274<DL>
275<DD>Method called to check whether this generator instance can
276 be used for Object Ids of specific generator type and
277 scope; determination is based by passing a configured
278 "blueprint" (prototype) instance; from which the actual
279 instances are created (using <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html#newForSerialization(java.lang.Object)"><CODE>newForSerialization(java.lang.Object)</CODE></A>).
280<P>
281<DD><DL>
282
283<DT><B>Returns:</B><DD>True if this instance can be used as-is; false if not</DL>
284</DD>
285</DL>
286<HR>
287
288<A NAME="forScope(java.lang.Class)"><!-- --></A><H3>
289forScope</H3>
290<PRE>
291public abstract <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="type parameter in ObjectIdGenerator">T</A>&gt; <B>forScope</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;scope)</PRE>
292<DL>
293<DD>Factory method to create a blueprint instance for specified
294 scope. Generators that do not use scope may return 'this'.
295<P>
296<DD><DL>
297</DL>
298</DD>
299</DL>
300<HR>
301
302<A NAME="newForSerialization(java.lang.Object)"><!-- --></A><H3>
303newForSerialization</H3>
304<PRE>
305public abstract <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator</A>&lt;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="type parameter in ObjectIdGenerator">T</A>&gt; <B>newForSerialization</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;context)</PRE>
306<DL>
307<DD>Factory method called to create a new instance to use for
308 serialization: needed since generators may have state
309 (next id to produce).
310<p>
311 Note that actual type of 'context' is
312 <code>com.fasterxml.jackson.databind.SerializerProvider</code>,
313 but can not be declared here as type itself (as well as call
314 to this object) comes from databind package.
315<P>
316<DD><DL>
317<DT><B>Parameters:</B><DD><CODE>context</CODE> - Serialization context object used (of type
318    <code>com.fasterxml.jackson.databind.SerializerProvider</code>;
319    may be needed by more complex generators to access contextual
320    information such as configuration.</DL>
321</DD>
322</DL>
323<HR>
324
325<A NAME="key(java.lang.Object)"><!-- --></A><H3>
326key</H3>
327<PRE>
328public abstract <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator.IdKey</A> <B>key</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;key)</PRE>
329<DL>
330<DD>Method for constructing key to use for ObjectId-to-POJO maps.
331<P>
332<DD><DL>
333</DL>
334</DD>
335</DL>
336<HR>
337
338<A NAME="generateId(java.lang.Object)"><!-- --></A><H3>
339generateId</H3>
340<PRE>
341public abstract <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="type parameter in ObjectIdGenerator">T</A> <B>generateId</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;forPojo)</PRE>
342<DL>
343<DD>Method used for generating a new Object Identifier to serialize
344 for given POJO.
345<P>
346<DD><DL>
347<DT><B>Parameters:</B><DD><CODE>forPojo</CODE> - POJO for which identifier is needed
348<DT><B>Returns:</B><DD>Object Identifier to use.</DL>
349</DD>
350</DL>
351<!-- ========= END OF CLASS DATA ========= -->
352<HR>
353
354
355<!-- ======= START OF BOTTOM NAVBAR ====== -->
356<A NAME="navbar_bottom"><!-- --></A>
357<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
358<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
359<TR>
360<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
361<A NAME="navbar_bottom_firstrow"><!-- --></A>
362<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
363  <TR ALIGN="center" VALIGN="top">
364  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../com/fasterxml/jackson/annotation/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
365  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
366  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ObjectIdGenerator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
367  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
368  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
369  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
370  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
371  </TR>
372</TABLE>
373</TD>
374<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
375</EM>
376</TD>
377</TR>
378
379<TR>
380<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
381&nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/JsonView.html" title="annotation in com.fasterxml.jackson.annotation"><B>PREV CLASS</B></A>&nbsp;
382&nbsp;<A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation"><B>NEXT CLASS</B></A></FONT></TD>
383<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
384  <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/ObjectIdGenerator.html" target="_top"><B>FRAMES</B></A>  &nbsp;
385&nbsp;<A HREF="ObjectIdGenerator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
386&nbsp;<SCRIPT type="text/javascript">
387  <!--
388  if(window==top) {
389    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
390  }
391  //-->
392</SCRIPT>
393<NOSCRIPT>
394  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
395</NOSCRIPT>
396
397
398</FONT></TD>
399</TR>
400<TR>
401<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
402  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
403<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
404DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
405</TR>
406</TABLE>
407<A NAME="skip-navbar_bottom"></A>
408<!-- ======== END OF BOTTOM NAVBAR ======= -->
409
410<HR>
411Copyright &#169; 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved.
412</BODY>
413</HTML>
414