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 Fri Jan 15 20:28:41 PST 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>PropertyMetadata (jackson-databind 2.7.0 API)</title> 8<meta name="date" content="2016-01-15"> 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.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="../../../../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.Prefetch.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/7/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/7/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/7/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/7/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/7/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#_defaultValue">_defaultValue</a></strong></code> 135<div class="block">Optional default value, as String, for property; not used cor 136 any functionality by core databind, offered as metadata for 137 extensions.</div> 138</td> 139</tr> 140<tr class="rowColor"> 141<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 142<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#_description">_description</a></strong></code> 143<div class="block">Optional human-readable description associated with the property.</div> 144</td> 145</tr> 146<tr class="altColor"> 147<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> 148<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#_index">_index</a></strong></code> 149<div class="block">Optional index of the property within containing Object.</div> 150</td> 151</tr> 152<tr class="rowColor"> 153<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> 154<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#_required">_required</a></strong></code> 155<div class="block">Three states: required, not required and unknown; unknown represented 156 as null.</div> 157</td> 158</tr> 159<tr class="altColor"> 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_OPTIONAL">STD_OPTIONAL</a></strong></code> </td> 162</tr> 163<tr class="rowColor"> 164<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 165<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#STD_REQUIRED">STD_REQUIRED</a></strong></code> </td> 166</tr> 167<tr class="altColor"> 168<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 169<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> 170</tr> 171</table> 172</li> 173</ul> 174<!-- ======== CONSTRUCTOR SUMMARY ======== --> 175<ul class="blockList"> 176<li class="blockList"><a name="constructor_summary"> 177<!-- --> 178</a> 179<h3>Constructor Summary</h3> 180<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 181<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 182<tr> 183<th class="colFirst" scope="col">Modifier</th> 184<th class="colLast" scope="col">Constructor and Description</th> 185</tr> 186<tr class="altColor"> 187<td class="colFirst"><code>protected </code></td> 188<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#PropertyMetadata(java.lang.Boolean,%20java.lang.String)">PropertyMetadata</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 189 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> 190<div class="block"><strong>Deprecated.</strong> </div> 191</td> 192</tr> 193<tr class="rowColor"> 194<td class="colFirst"><code>protected </code></td> 195<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#PropertyMetadata(java.lang.Boolean,%20java.lang.String,%20java.lang.Integer,%20java.lang.String)">PropertyMetadata</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 196 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 197 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index, 198 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</code> </td> 199</tr> 200</table> 201</li> 202</ul> 203<!-- ========== METHOD SUMMARY =========== --> 204<ul class="blockList"> 205<li class="blockList"><a name="method_summary"> 206<!-- --> 207</a> 208<h3>Method Summary</h3> 209<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 210<caption><span>Methods</span><span class="tabEnd"> </span></caption> 211<tr> 212<th class="colFirst" scope="col">Modifier and Type</th> 213<th class="colLast" scope="col">Method and Description</th> 214</tr> 215<tr class="altColor"> 216<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 217<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#construct(boolean,%20java.lang.String)">construct</a></strong>(boolean req, 218 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> 219<div class="block"><strong>Deprecated.</strong> </div> 220</td> 221</tr> 222<tr class="rowColor"> 223<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 224<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#construct(boolean,%20java.lang.String,%20java.lang.Integer,%20java.lang.String)">construct</a></strong>(boolean req, 225 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 226 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index, 227 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</code> </td> 228</tr> 229<tr class="altColor"> 230<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 231<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getDefaultValue()">getDefaultValue</a></strong>()</code> </td> 232</tr> 233<tr class="rowColor"> 234<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 235<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getDescription()">getDescription</a></strong>()</code> </td> 236</tr> 237<tr class="altColor"> 238<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td> 239<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getIndex()">getIndex</a></strong>()</code> </td> 240</tr> 241<tr class="rowColor"> 242<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> 243<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getRequired()">getRequired</a></strong>()</code> </td> 244</tr> 245<tr class="altColor"> 246<td class="colFirst"><code>boolean</code></td> 247<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefaultValue()">hasDefaultValue</a></strong>()</code> 248<div class="block">Accessor for determining whether property has declared "default value", 249 which may be used by extension modules.</div> 250</td> 251</tr> 252<tr class="rowColor"> 253<td class="colFirst"><code>boolean</code></td> 254<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefuaultValue()">hasDefuaultValue</a></strong>()</code> 255<div class="block"><strong>Deprecated.</strong> 256<div class="block"><i>Since 2.6: typo in name, use <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefaultValue()"><code>hasDefaultValue()</code></a> instead.</i></div> 257</div> 258</td> 259</tr> 260<tr class="altColor"> 261<td class="colFirst"><code>boolean</code></td> 262<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasIndex()">hasIndex</a></strong>()</code> </td> 263</tr> 264<tr class="rowColor"> 265<td class="colFirst"><code>boolean</code></td> 266<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#isRequired()">isRequired</a></strong>()</code> </td> 267</tr> 268<tr class="altColor"> 269<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 270<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#readResolve()">readResolve</a></strong>()</code> 271<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 272 where there is no real data to consider</div> 273</td> 274</tr> 275<tr class="rowColor"> 276<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 277<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withDefaultValue(java.lang.String)">withDefaultValue</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</code> </td> 278</tr> 279<tr class="altColor"> 280<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 281<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/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</code> </td> 282</tr> 283<tr class="rowColor"> 284<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 285<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/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</code> </td> 286</tr> 287<tr class="altColor"> 288<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 289<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/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> b)</code> </td> 290</tr> 291</table> 292<ul class="blockList"> 293<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 294<!-- --> 295</a> 296<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 297<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 298</ul> 299</li> 300</ul> 301</li> 302</ul> 303</div> 304<div class="details"> 305<ul class="blockList"> 306<li class="blockList"> 307<!-- ============ FIELD DETAIL =========== --> 308<ul class="blockList"> 309<li class="blockList"><a name="field_detail"> 310<!-- --> 311</a> 312<h3>Field Detail</h3> 313<a name="STD_REQUIRED"> 314<!-- --> 315</a> 316<ul class="blockList"> 317<li class="blockList"> 318<h4>STD_REQUIRED</h4> 319<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_REQUIRED</pre> 320</li> 321</ul> 322<a name="STD_OPTIONAL"> 323<!-- --> 324</a> 325<ul class="blockList"> 326<li class="blockList"> 327<h4>STD_OPTIONAL</h4> 328<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_OPTIONAL</pre> 329</li> 330</ul> 331<a name="STD_REQUIRED_OR_OPTIONAL"> 332<!-- --> 333</a> 334<ul class="blockList"> 335<li class="blockList"> 336<h4>STD_REQUIRED_OR_OPTIONAL</h4> 337<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> 338</li> 339</ul> 340<a name="_required"> 341<!-- --> 342</a> 343<ul class="blockList"> 344<li class="blockList"> 345<h4>_required</h4> 346<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> _required</pre> 347<div class="block">Three states: required, not required and unknown; unknown represented 348 as null.</div> 349</li> 350</ul> 351<a name="_description"> 352<!-- --> 353</a> 354<ul class="blockList"> 355<li class="blockList"> 356<h4>_description</h4> 357<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> _description</pre> 358<div class="block">Optional human-readable description associated with the property.</div> 359</li> 360</ul> 361<a name="_index"> 362<!-- --> 363</a> 364<ul class="blockList"> 365<li class="blockList"> 366<h4>_index</h4> 367<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> _index</pre> 368<div class="block">Optional index of the property within containing Object.</div> 369<dl><dt><span class="strong">Since:</span></dt> 370 <dd>2.4</dd></dl> 371</li> 372</ul> 373<a name="_defaultValue"> 374<!-- --> 375</a> 376<ul class="blockListLast"> 377<li class="blockList"> 378<h4>_defaultValue</h4> 379<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> _defaultValue</pre> 380<div class="block">Optional default value, as String, for property; not used cor 381 any functionality by core databind, offered as metadata for 382 extensions.</div> 383</li> 384</ul> 385</li> 386</ul> 387<!-- ========= CONSTRUCTOR DETAIL ======== --> 388<ul class="blockList"> 389<li class="blockList"><a name="constructor_detail"> 390<!-- --> 391</a> 392<h3>Constructor Detail</h3> 393<a name="PropertyMetadata(java.lang.Boolean, java.lang.String)"> 394<!-- --> 395</a> 396<ul class="blockList"> 397<li class="blockList"> 398<h4>PropertyMetadata</h4> 399<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 400protected PropertyMetadata(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 401 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> 402<div class="block"><span class="strong">Deprecated.</span> </div> 403</li> 404</ul> 405<a name="PropertyMetadata(java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.String)"> 406<!-- --> 407</a> 408<ul class="blockListLast"> 409<li class="blockList"> 410<h4>PropertyMetadata</h4> 411<pre>protected PropertyMetadata(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> req, 412 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 413 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index, 414 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</pre> 415<dl><dt><span class="strong">Since:</span></dt> 416 <dd>2.5</dd></dl> 417</li> 418</ul> 419</li> 420</ul> 421<!-- ============ METHOD DETAIL ========== --> 422<ul class="blockList"> 423<li class="blockList"><a name="method_detail"> 424<!-- --> 425</a> 426<h3>Method Detail</h3> 427<a name="construct(boolean, java.lang.String)"> 428<!-- --> 429</a> 430<ul class="blockList"> 431<li class="blockList"> 432<h4>construct</h4> 433<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 434public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 435 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> 436<div class="block"><span class="strong">Deprecated.</span> </div> 437<dl><dt><span class="strong">Since:</span></dt> 438 <dd>2.4 Use variant that takes more arguments.</dd></dl> 439</li> 440</ul> 441<a name="construct(boolean, java.lang.String, java.lang.Integer, java.lang.String)"> 442<!-- --> 443</a> 444<ul class="blockList"> 445<li class="blockList"> 446<h4>construct</h4> 447<pre>public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 448 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc, 449 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index, 450 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</pre> 451</li> 452</ul> 453<a name="readResolve()"> 454<!-- --> 455</a> 456<ul class="blockList"> 457<li class="blockList"> 458<h4>readResolve</h4> 459<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> readResolve()</pre> 460<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 461 where there is no real data to consider</div> 462</li> 463</ul> 464<a name="withDescription(java.lang.String)"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>withDescription</h4> 470<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/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> desc)</pre> 471</li> 472</ul> 473<a name="withDefaultValue(java.lang.String)"> 474<!-- --> 475</a> 476<ul class="blockList"> 477<li class="blockList"> 478<h4>withDefaultValue</h4> 479<pre>public <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> withDefaultValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</pre> 480</li> 481</ul> 482<a name="withIndex(java.lang.Integer)"> 483<!-- --> 484</a> 485<ul class="blockList"> 486<li class="blockList"> 487<h4>withIndex</h4> 488<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/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> index)</pre> 489</li> 490</ul> 491<a name="withRequired(java.lang.Boolean)"> 492<!-- --> 493</a> 494<ul class="blockList"> 495<li class="blockList"> 496<h4>withRequired</h4> 497<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/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> b)</pre> 498</li> 499</ul> 500<a name="getDescription()"> 501<!-- --> 502</a> 503<ul class="blockList"> 504<li class="blockList"> 505<h4>getDescription</h4> 506<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDescription()</pre> 507</li> 508</ul> 509<a name="getDefaultValue()"> 510<!-- --> 511</a> 512<ul class="blockList"> 513<li class="blockList"> 514<h4>getDefaultValue</h4> 515<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDefaultValue()</pre> 516<dl><dt><span class="strong">Since:</span></dt> 517 <dd>2.5</dd></dl> 518</li> 519</ul> 520<a name="hasDefuaultValue()"> 521<!-- --> 522</a> 523<ul class="blockList"> 524<li class="blockList"> 525<h4>hasDefuaultValue</h4> 526<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 527public boolean hasDefuaultValue()</pre> 528<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.6: typo in name, use <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefaultValue()"><code>hasDefaultValue()</code></a> instead.</i></div> 529</li> 530</ul> 531<a name="hasDefaultValue()"> 532<!-- --> 533</a> 534<ul class="blockList"> 535<li class="blockList"> 536<h4>hasDefaultValue</h4> 537<pre>public boolean hasDefaultValue()</pre> 538<div class="block">Accessor for determining whether property has declared "default value", 539 which may be used by extension modules.</div> 540<dl><dt><span class="strong">Since:</span></dt> 541 <dd>2.6</dd></dl> 542</li> 543</ul> 544<a name="isRequired()"> 545<!-- --> 546</a> 547<ul class="blockList"> 548<li class="blockList"> 549<h4>isRequired</h4> 550<pre>public boolean isRequired()</pre> 551</li> 552</ul> 553<a name="getRequired()"> 554<!-- --> 555</a> 556<ul class="blockList"> 557<li class="blockList"> 558<h4>getRequired</h4> 559<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> getRequired()</pre> 560</li> 561</ul> 562<a name="getIndex()"> 563<!-- --> 564</a> 565<ul class="blockList"> 566<li class="blockList"> 567<h4>getIndex</h4> 568<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> getIndex()</pre> 569<dl><dt><span class="strong">Since:</span></dt> 570 <dd>2.4</dd></dl> 571</li> 572</ul> 573<a name="hasIndex()"> 574<!-- --> 575</a> 576<ul class="blockListLast"> 577<li class="blockList"> 578<h4>hasIndex</h4> 579<pre>public boolean hasIndex()</pre> 580<dl><dt><span class="strong">Since:</span></dt> 581 <dd>2.4</dd></dl> 582</li> 583</ul> 584</li> 585</ul> 586</li> 587</ul> 588</div> 589</div> 590<!-- ========= END OF CLASS DATA ========= --> 591<!-- ======= START OF BOTTOM NAVBAR ====== --> 592<div class="bottomNav"><a name="navbar_bottom"> 593<!-- --> 594</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 595<!-- --> 596</a> 597<ul class="navList" title="Navigation"> 598<li><a href="../../../../overview-summary.html">Overview</a></li> 599<li><a href="package-summary.html">Package</a></li> 600<li class="navBarCell1Rev">Class</li> 601<li><a href="class-use/PropertyMetadata.html">Use</a></li> 602<li><a href="package-tree.html">Tree</a></li> 603<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 604<li><a href="../../../../index-all.html">Index</a></li> 605<li><a href="../../../../help-doc.html">Help</a></li> 606</ul> 607</div> 608<div class="subNav"> 609<ul class="navList"> 610<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 611<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 612</ul> 613<ul class="navList"> 614<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyMetadata.html" target="_top">Frames</a></li> 615<li><a href="PropertyMetadata.html" target="_top">No Frames</a></li> 616</ul> 617<ul class="navList" id="allclasses_navbar_bottom"> 618<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 619</ul> 620<div> 621<script type="text/javascript"><!-- 622 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 623 if(window==top) { 624 allClassesLink.style.display = "block"; 625 } 626 else { 627 allClassesLink.style.display = "none"; 628 } 629 //--> 630</script> 631</div> 632<div> 633<ul class="subNavList"> 634<li>Summary: </li> 635<li>Nested | </li> 636<li><a href="#field_summary">Field</a> | </li> 637<li><a href="#constructor_summary">Constr</a> | </li> 638<li><a href="#method_summary">Method</a></li> 639</ul> 640<ul class="subNavList"> 641<li>Detail: </li> 642<li><a href="#field_detail">Field</a> | </li> 643<li><a href="#constructor_detail">Constr</a> | </li> 644<li><a href="#method_detail">Method</a></li> 645</ul> 646</div> 647<a name="skip-navbar_bottom"> 648<!-- --> 649</a></div> 650<!-- ======== END OF BOTTOM NAVBAR ======= --> 651<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 652</body> 653</html> 654