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_25) on Mon Jun 02 17:48:54 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>PropertyMetadata (jackson-databind 2.4.0 API)</title> 8<meta name="date" content="2014-06-02"> 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="PropertyMetadata (jackson-databind 2.4.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="../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/PropertyMetadata.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../index-all.html">Index</a></li> 35<li><a href="../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyMetadata.html" target="_top">Frames</a></li> 45<li><a href="PropertyMetadata.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind</div> 84<h2 title="Class PropertyMetadata" class="title">Class PropertyMetadata</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<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> 89<li> 90<ul class="inheritance"> 91<li>com.fasterxml.jackson.databind.PropertyMetadata</li> 92</ul> 93</li> 94</ul> 95<div class="description"> 96<ul class="blockList"> 97<li class="blockList"> 98<dl> 99<dt>All Implemented Interfaces:</dt> 100<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 101</dl> 102<hr> 103<br> 104<pre>public class <span class="strong">PropertyMetadata</span> 105extends <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> 106implements <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 107<div class="block">Simple container class used for storing "additional" metadata about 108 properties. Carved out to reduce number of distinct properties that 109 actual property implementations and placeholders need to store; 110 since instances are immutable, they can be freely shared.</div> 111<dl><dt><span class="strong">Since:</span></dt> 112 <dd>2.3</dd> 113<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.PropertyMetadata">Serialized Form</a></dd></dl> 114</li> 115</ul> 116</div> 117<div class="summary"> 118<ul class="blockList"> 119<li class="blockList"> 120<!-- =========== FIELD SUMMARY =========== --> 121<ul class="blockList"> 122<li class="blockList"><a name="field_summary"> 123<!-- --> 124</a> 125<h3>Field Summary</h3> 126<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 127<caption><span>Fields</span><span class="tabEnd"> </span></caption> 128<tr> 129<th class="colFirst" scope="col">Modifier and Type</th> 130<th class="colLast" scope="col">Field and Description</th> 131</tr> 132<tr class="altColor"> 133<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 134<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#_description">_description</a></strong></code> 135<div class="block">Optional human-readable description associated with the property.</div> 136</td> 137</tr> 138<tr class="rowColor"> 139<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> 140<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#_index">_index</a></strong></code> 141<div class="block">Optional index of the property within containing Object.</div> 142</td> 143</tr> 144<tr class="altColor"> 145<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> 146<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#_required">_required</a></strong></code> 147<div class="block">Three states: required, not required and unknown; unknown represented 148 as null.</div> 149</td> 150</tr> 151<tr class="rowColor"> 152<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 153<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#STD_OPTIONAL">STD_OPTIONAL</a></strong></code> </td> 154</tr> 155<tr class="altColor"> 156<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 157<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#STD_REQUIRED">STD_REQUIRED</a></strong></code> </td> 158</tr> 159<tr class="rowColor"> 160<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 161<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#STD_REQUIRED_OR_OPTIONAL">STD_REQUIRED_OR_OPTIONAL</a></strong></code> </td> 162</tr> 163</table> 164</li> 165</ul> 166<!-- ======== CONSTRUCTOR SUMMARY ======== --> 167<ul class="blockList"> 168<li class="blockList"><a name="constructor_summary"> 169<!-- --> 170</a> 171<h3>Constructor Summary</h3> 172<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 173<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 174<tr> 175<th class="colFirst" scope="col">Modifier</th> 176<th class="colLast" scope="col">Constructor and Description</th> 177</tr> 178<tr class="altColor"> 179<td class="colFirst"><code>protected </code></td> 180<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#PropertyMetadata(java.lang.Boolean, java.lang.String)">PropertyMetadata</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 181 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> 182<div class="block"><strong>Deprecated.</strong> </div> 183</td> 184</tr> 185<tr class="rowColor"> 186<td class="colFirst"><code>protected </code></td> 187<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#PropertyMetadata(java.lang.Boolean, java.lang.String, java.lang.Integer)">PropertyMetadata</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 188 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 189 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</code> </td> 190</tr> 191</table> 192</li> 193</ul> 194<!-- ========== METHOD SUMMARY =========== --> 195<ul class="blockList"> 196<li class="blockList"><a name="method_summary"> 197<!-- --> 198</a> 199<h3>Method Summary</h3> 200<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 201<caption><span>Methods</span><span class="tabEnd"> </span></caption> 202<tr> 203<th class="colFirst" scope="col">Modifier and Type</th> 204<th class="colLast" scope="col">Method and Description</th> 205</tr> 206<tr class="altColor"> 207<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 208<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#construct(boolean, java.lang.String)">construct</a></strong>(boolean req, 209 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> 210<div class="block"><strong>Deprecated.</strong> </div> 211</td> 212</tr> 213<tr class="rowColor"> 214<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 215<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#construct(boolean, java.lang.String, java.lang.Integer)">construct</a></strong>(boolean req, 216 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 217 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</code> </td> 218</tr> 219<tr class="altColor"> 220<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 221<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getDescription()">getDescription</a></strong>()</code> </td> 222</tr> 223<tr class="rowColor"> 224<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> 225<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getIndex()">getIndex</a></strong>()</code> </td> 226</tr> 227<tr class="altColor"> 228<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> 229<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getRequired()">getRequired</a></strong>()</code> </td> 230</tr> 231<tr class="rowColor"> 232<td class="colFirst"><code>boolean</code></td> 233<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasIndex()">hasIndex</a></strong>()</code> </td> 234</tr> 235<tr class="altColor"> 236<td class="colFirst"><code>boolean</code></td> 237<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#isRequired()">isRequired</a></strong>()</code> </td> 238</tr> 239<tr class="rowColor"> 240<td class="colFirst"><code>protected <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></code></td> 241<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#readResolve()">readResolve</a></strong>()</code> 242<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 243 where there is no real data to consider</div> 244</td> 245</tr> 246<tr class="altColor"> 247<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 248<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withDescription(java.lang.String)">withDescription</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> </td> 249</tr> 250<tr class="rowColor"> 251<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 252<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withIndex(java.lang.Integer)">withIndex</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</code> </td> 253</tr> 254<tr class="altColor"> 255<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 256<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withRequired(java.lang.Boolean)">withRequired</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> b)</code> </td> 257</tr> 258</table> 259<ul class="blockList"> 260<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 261<!-- --> 262</a> 263<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> 264<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></li> 265</ul> 266</li> 267</ul> 268</li> 269</ul> 270</div> 271<div class="details"> 272<ul class="blockList"> 273<li class="blockList"> 274<!-- ============ FIELD DETAIL =========== --> 275<ul class="blockList"> 276<li class="blockList"><a name="field_detail"> 277<!-- --> 278</a> 279<h3>Field Detail</h3> 280<a name="STD_REQUIRED"> 281<!-- --> 282</a> 283<ul class="blockList"> 284<li class="blockList"> 285<h4>STD_REQUIRED</h4> 286<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_REQUIRED</pre> 287</li> 288</ul> 289<a name="STD_OPTIONAL"> 290<!-- --> 291</a> 292<ul class="blockList"> 293<li class="blockList"> 294<h4>STD_OPTIONAL</h4> 295<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_OPTIONAL</pre> 296</li> 297</ul> 298<a name="STD_REQUIRED_OR_OPTIONAL"> 299<!-- --> 300</a> 301<ul class="blockList"> 302<li class="blockList"> 303<h4>STD_REQUIRED_OR_OPTIONAL</h4> 304<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_REQUIRED_OR_OPTIONAL</pre> 305</li> 306</ul> 307<a name="_required"> 308<!-- --> 309</a> 310<ul class="blockList"> 311<li class="blockList"> 312<h4>_required</h4> 313<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> _required</pre> 314<div class="block">Three states: required, not required and unknown; unknown represented 315 as null.</div> 316</li> 317</ul> 318<a name="_description"> 319<!-- --> 320</a> 321<ul class="blockList"> 322<li class="blockList"> 323<h4>_description</h4> 324<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> _description</pre> 325<div class="block">Optional human-readable description associated with the property.</div> 326</li> 327</ul> 328<a name="_index"> 329<!-- --> 330</a> 331<ul class="blockListLast"> 332<li class="blockList"> 333<h4>_index</h4> 334<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> _index</pre> 335<div class="block">Optional index of the property within containing Object.</div> 336<dl><dt><span class="strong">Since:</span></dt> 337 <dd>2.4</dd></dl> 338</li> 339</ul> 340</li> 341</ul> 342<!-- ========= CONSTRUCTOR DETAIL ======== --> 343<ul class="blockList"> 344<li class="blockList"><a name="constructor_detail"> 345<!-- --> 346</a> 347<h3>Constructor Detail</h3> 348<a name="PropertyMetadata(java.lang.Boolean, java.lang.String)"> 349<!-- --> 350</a> 351<ul class="blockList"> 352<li class="blockList"> 353<h4>PropertyMetadata</h4> 354<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 355protected PropertyMetadata(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 356 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> 357<div class="block"><span class="strong">Deprecated.</span> </div> 358</li> 359</ul> 360<a name="PropertyMetadata(java.lang.Boolean, java.lang.String, java.lang.Integer)"> 361<!-- --> 362</a> 363<ul class="blockListLast"> 364<li class="blockList"> 365<h4>PropertyMetadata</h4> 366<pre>protected PropertyMetadata(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 367 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 368 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</pre> 369</li> 370</ul> 371</li> 372</ul> 373<!-- ============ METHOD DETAIL ========== --> 374<ul class="blockList"> 375<li class="blockList"><a name="method_detail"> 376<!-- --> 377</a> 378<h3>Method Detail</h3> 379<a name="construct(boolean, java.lang.String)"> 380<!-- --> 381</a> 382<ul class="blockList"> 383<li class="blockList"> 384<h4>construct</h4> 385<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 386public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 387 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> 388<div class="block"><span class="strong">Deprecated.</span> </div> 389<dl><dt><span class="strong">Since:</span></dt> 390 <dd>2.4 Use variant that takes three arguments.</dd></dl> 391</li> 392</ul> 393<a name="construct(boolean, java.lang.String, java.lang.Integer)"> 394<!-- --> 395</a> 396<ul class="blockList"> 397<li class="blockList"> 398<h4>construct</h4> 399<pre>public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 400 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 401 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</pre> 402</li> 403</ul> 404<a name="readResolve()"> 405<!-- --> 406</a> 407<ul class="blockList"> 408<li class="blockList"> 409<h4>readResolve</h4> 410<pre>protected <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> readResolve()</pre> 411<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 412 where there is no real data to consider</div> 413</li> 414</ul> 415<a name="withDescription(java.lang.String)"> 416<!-- --> 417</a> 418<ul class="blockList"> 419<li class="blockList"> 420<h4>withDescription</h4> 421<pre>public <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> withDescription(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> 422</li> 423</ul> 424<a name="withIndex(java.lang.Integer)"> 425<!-- --> 426</a> 427<ul class="blockList"> 428<li class="blockList"> 429<h4>withIndex</h4> 430<pre>public <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> withIndex(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</pre> 431</li> 432</ul> 433<a name="withRequired(java.lang.Boolean)"> 434<!-- --> 435</a> 436<ul class="blockList"> 437<li class="blockList"> 438<h4>withRequired</h4> 439<pre>public <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> withRequired(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> b)</pre> 440</li> 441</ul> 442<a name="getDescription()"> 443<!-- --> 444</a> 445<ul class="blockList"> 446<li class="blockList"> 447<h4>getDescription</h4> 448<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDescription()</pre> 449</li> 450</ul> 451<a name="isRequired()"> 452<!-- --> 453</a> 454<ul class="blockList"> 455<li class="blockList"> 456<h4>isRequired</h4> 457<pre>public boolean isRequired()</pre> 458</li> 459</ul> 460<a name="getRequired()"> 461<!-- --> 462</a> 463<ul class="blockList"> 464<li class="blockList"> 465<h4>getRequired</h4> 466<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> getRequired()</pre> 467</li> 468</ul> 469<a name="getIndex()"> 470<!-- --> 471</a> 472<ul class="blockList"> 473<li class="blockList"> 474<h4>getIndex</h4> 475<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getIndex()</pre> 476<dl><dt><span class="strong">Since:</span></dt> 477 <dd>2.4</dd></dl> 478</li> 479</ul> 480<a name="hasIndex()"> 481<!-- --> 482</a> 483<ul class="blockListLast"> 484<li class="blockList"> 485<h4>hasIndex</h4> 486<pre>public boolean hasIndex()</pre> 487<dl><dt><span class="strong">Since:</span></dt> 488 <dd>2.4</dd></dl> 489</li> 490</ul> 491</li> 492</ul> 493</li> 494</ul> 495</div> 496</div> 497<!-- ========= END OF CLASS DATA ========= --> 498<!-- ======= START OF BOTTOM NAVBAR ====== --> 499<div class="bottomNav"><a name="navbar_bottom"> 500<!-- --> 501</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 502<!-- --> 503</a> 504<ul class="navList" title="Navigation"> 505<li><a href="../../../../overview-summary.html">Overview</a></li> 506<li><a href="package-summary.html">Package</a></li> 507<li class="navBarCell1Rev">Class</li> 508<li><a href="class-use/PropertyMetadata.html">Use</a></li> 509<li><a href="package-tree.html">Tree</a></li> 510<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 511<li><a href="../../../../index-all.html">Index</a></li> 512<li><a href="../../../../help-doc.html">Help</a></li> 513</ul> 514</div> 515<div class="subNav"> 516<ul class="navList"> 517<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 518<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 519</ul> 520<ul class="navList"> 521<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyMetadata.html" target="_top">Frames</a></li> 522<li><a href="PropertyMetadata.html" target="_top">No Frames</a></li> 523</ul> 524<ul class="navList" id="allclasses_navbar_bottom"> 525<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 526</ul> 527<div> 528<script type="text/javascript"><!-- 529 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 530 if(window==top) { 531 allClassesLink.style.display = "block"; 532 } 533 else { 534 allClassesLink.style.display = "none"; 535 } 536 //--> 537</script> 538</div> 539<div> 540<ul class="subNavList"> 541<li>Summary: </li> 542<li>Nested | </li> 543<li><a href="#field_summary">Field</a> | </li> 544<li><a href="#constructor_summary">Constr</a> | </li> 545<li><a href="#method_summary">Method</a></li> 546</ul> 547<ul class="subNavList"> 548<li>Detail: </li> 549<li><a href="#field_detail">Field</a> | </li> 550<li><a href="#constructor_detail">Constr</a> | </li> 551<li><a href="#method_detail">Method</a></li> 552</ul> 553</div> 554<a name="skip-navbar_bottom"> 555<!-- --> 556</a></div> 557<!-- ======== END OF BOTTOM NAVBAR ======= --> 558<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 559</body> 560</html> 561