1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_79) on Sat Jan 09 21:46:11 PST 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>ObjectIdGenerators (Jackson-annotations 2.7.0 API)</title> 8<meta name="date" content="2016-01-09"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="ObjectIdGenerators (Jackson-annotations 2.7.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/ObjectIdGenerators.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.IntSequenceGenerator.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/ObjectIdGenerators.html" target="_top">Frames</a></li> 44<li><a href="ObjectIdGenerators.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li><a href="#nested_class_summary">Nested</a> | </li> 65<li>Field | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li>Field | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li>Method</li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">com.fasterxml.jackson.annotation</div> 83<h2 title="Class ObjectIdGenerators" class="title">Class ObjectIdGenerators</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<li><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></li> 88<li> 89<ul class="inheritance"> 90<li>com.fasterxml.jackson.annotation.ObjectIdGenerators</li> 91</ul> 92</li> 93</ul> 94<div class="description"> 95<ul class="blockList"> 96<li class="blockList"> 97<hr> 98<br> 99<pre>public class <span class="strong">ObjectIdGenerators</span> 100extends <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></pre> 101<div class="block">Container class for standard <a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation"><code>ObjectIdGenerator</code></a> implementations: 102<ul> 103 <li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.IntSequenceGenerator.html" title="class in com.fasterxml.jackson.annotation"><code>ObjectIdGenerators.IntSequenceGenerator</code></a> 104 <li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.PropertyGenerator.html" title="class in com.fasterxml.jackson.annotation"><code>ObjectIdGenerators.PropertyGenerator</code></a> 105 <li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.StringIdGenerator.html" title="class in com.fasterxml.jackson.annotation"><code>ObjectIdGenerators.StringIdGenerator</code></a> (since 2.7) 106 <li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation"><code>ObjectIdGenerators.UUIDGenerator</code></a> 107</ul></div> 108</li> 109</ul> 110</div> 111<div class="summary"> 112<ul class="blockList"> 113<li class="blockList"> 114<!-- ======== NESTED CLASS SUMMARY ======== --> 115<ul class="blockList"> 116<li class="blockList"><a name="nested_class_summary"> 117<!-- --> 118</a> 119<h3>Nested Class Summary</h3> 120<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 121<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 122<tr> 123<th class="colFirst" scope="col">Modifier and Type</th> 124<th class="colLast" scope="col">Class and Description</th> 125</tr> 126<tr class="altColor"> 127<td class="colFirst"><code>static class </code></td> 128<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.IntSequenceGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.IntSequenceGenerator</a></strong></code> 129<div class="block">Simple sequence-number based generator, which uses basic Java 130 <code>int</code>s (starting with value 1) as Object Identifiers.</div> 131</td> 132</tr> 133<tr class="rowColor"> 134<td class="colFirst"><code>static class </code></td> 135<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.None.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.None</a></strong></code> 136<div class="block">Abstract marker class used to allow explicitly specifying 137 that no generator is used; which also implies that no 138 Object Id is to be included or used.</div> 139</td> 140</tr> 141<tr class="altColor"> 142<td class="colFirst"><code>static class </code></td> 143<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.PropertyGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.PropertyGenerator</a></strong></code> 144<div class="block">Abstract place-holder class which is used to denote case 145 where Object Identifier to use comes from a POJO property 146 (getter method or field).</div> 147</td> 148</tr> 149<tr class="rowColor"> 150<td class="colFirst"><code>static class </code></td> 151<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.StringIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.StringIdGenerator</a></strong></code> 152<div class="block">Implementation that will accept arbitrary (but unique) String Ids on 153 deserialization, and (by default) use random UUID generation similar 154 to <a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation"><code>ObjectIdGenerators.UUIDGenerator</code></a> for generation ids.</div> 155</td> 156</tr> 157<tr class="altColor"> 158<td class="colFirst"><code>static class </code></td> 159<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.UUIDGenerator</a></strong></code> 160<div class="block">Implementation that just uses <a href="http://docs.oracle.com/javase/6/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util"><code>UUID</code></a>s as reliably 161 unique identifiers: downside is that resulting String is 162 36 characters long.</div> 163</td> 164</tr> 165</table> 166</li> 167</ul> 168<!-- ======== CONSTRUCTOR SUMMARY ======== --> 169<ul class="blockList"> 170<li class="blockList"><a name="constructor_summary"> 171<!-- --> 172</a> 173<h3>Constructor Summary</h3> 174<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 175<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 176<tr> 177<th class="colOne" scope="col">Constructor and Description</th> 178</tr> 179<tr class="altColor"> 180<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.html#ObjectIdGenerators()">ObjectIdGenerators</a></strong>()</code> </td> 181</tr> 182</table> 183</li> 184</ul> 185<!-- ========== METHOD SUMMARY =========== --> 186<ul class="blockList"> 187<li class="blockList"><a name="method_summary"> 188<!-- --> 189</a> 190<h3>Method Summary</h3> 191<ul class="blockList"> 192<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 193<!-- --> 194</a> 195<h3>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></h3> 196<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,%20int)" title="class or interface in java.lang">wait</a></code></li> 197</ul> 198</li> 199</ul> 200</li> 201</ul> 202</div> 203<div class="details"> 204<ul class="blockList"> 205<li class="blockList"> 206<!-- ========= CONSTRUCTOR DETAIL ======== --> 207<ul class="blockList"> 208<li class="blockList"><a name="constructor_detail"> 209<!-- --> 210</a> 211<h3>Constructor Detail</h3> 212<a name="ObjectIdGenerators()"> 213<!-- --> 214</a> 215<ul class="blockListLast"> 216<li class="blockList"> 217<h4>ObjectIdGenerators</h4> 218<pre>public ObjectIdGenerators()</pre> 219</li> 220</ul> 221</li> 222</ul> 223</li> 224</ul> 225</div> 226</div> 227<!-- ========= END OF CLASS DATA ========= --> 228<!-- ======= START OF BOTTOM NAVBAR ====== --> 229<div class="bottomNav"><a name="navbar_bottom"> 230<!-- --> 231</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 232<!-- --> 233</a> 234<ul class="navList" title="Navigation"> 235<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 236<li class="navBarCell1Rev">Class</li> 237<li><a href="class-use/ObjectIdGenerators.html">Use</a></li> 238<li><a href="package-tree.html">Tree</a></li> 239<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 240<li><a href="../../../../index-all.html">Index</a></li> 241<li><a href="../../../../help-doc.html">Help</a></li> 242</ul> 243</div> 244<div class="subNav"> 245<ul class="navList"> 246<li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li> 247<li><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.IntSequenceGenerator.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li> 248</ul> 249<ul class="navList"> 250<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/ObjectIdGenerators.html" target="_top">Frames</a></li> 251<li><a href="ObjectIdGenerators.html" target="_top">No Frames</a></li> 252</ul> 253<ul class="navList" id="allclasses_navbar_bottom"> 254<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 255</ul> 256<div> 257<script type="text/javascript"><!-- 258 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 259 if(window==top) { 260 allClassesLink.style.display = "block"; 261 } 262 else { 263 allClassesLink.style.display = "none"; 264 } 265 //--> 266</script> 267</div> 268<div> 269<ul class="subNavList"> 270<li>Summary: </li> 271<li><a href="#nested_class_summary">Nested</a> | </li> 272<li>Field | </li> 273<li><a href="#constructor_summary">Constr</a> | </li> 274<li><a href="#methods_inherited_from_class_java.lang.Object">Method</a></li> 275</ul> 276<ul class="subNavList"> 277<li>Detail: </li> 278<li>Field | </li> 279<li><a href="#constructor_detail">Constr</a> | </li> 280<li>Method</li> 281</ul> 282</div> 283<a name="skip-navbar_bottom"> 284<!-- --> 285</a></div> 286<!-- ======== END OF BOTTOM NAVBAR ======= --> 287<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 288</body> 289</html> 290