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 Thu Jan 01 17:43:55 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>PropertyMetadata (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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.5.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/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#_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/6/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/6/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/6/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, 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, 189 <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> 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, java.lang.String, java.lang.Integer, 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, 196 <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, 197 <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, 198 <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> 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, java.lang.String)">construct</a></strong>(boolean req, 218 <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> 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, java.lang.String, java.lang.Integer, java.lang.String)">construct</a></strong>(boolean req, 225 <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, 226 <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, 227 <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> defaultValue)</code> </td> 228</tr> 229<tr class="altColor"> 230<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> 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/6/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/6/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/6/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#hasDefuaultValue()">hasDefuaultValue</a></strong>()</code> </td> 248</tr> 249<tr class="rowColor"> 250<td class="colFirst"><code>boolean</code></td> 251<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasIndex()">hasIndex</a></strong>()</code> </td> 252</tr> 253<tr class="altColor"> 254<td class="colFirst"><code>boolean</code></td> 255<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#isRequired()">isRequired</a></strong>()</code> </td> 256</tr> 257<tr class="rowColor"> 258<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> 259<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#readResolve()">readResolve</a></strong>()</code> 260<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 261 where there is no real data to consider</div> 262</td> 263</tr> 264<tr class="altColor"> 265<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 266<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</code> </td> 267</tr> 268<tr class="rowColor"> 269<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 270<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> 271</tr> 272<tr class="altColor"> 273<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 274<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> 275</tr> 276<tr class="rowColor"> 277<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 278<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> 279</tr> 280</table> 281<ul class="blockList"> 282<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 283<!-- --> 284</a> 285<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> 286<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> 287</ul> 288</li> 289</ul> 290</li> 291</ul> 292</div> 293<div class="details"> 294<ul class="blockList"> 295<li class="blockList"> 296<!-- ============ FIELD DETAIL =========== --> 297<ul class="blockList"> 298<li class="blockList"><a name="field_detail"> 299<!-- --> 300</a> 301<h3>Field Detail</h3> 302<a name="STD_REQUIRED"> 303<!-- --> 304</a> 305<ul class="blockList"> 306<li class="blockList"> 307<h4>STD_REQUIRED</h4> 308<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_REQUIRED</pre> 309</li> 310</ul> 311<a name="STD_OPTIONAL"> 312<!-- --> 313</a> 314<ul class="blockList"> 315<li class="blockList"> 316<h4>STD_OPTIONAL</h4> 317<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_OPTIONAL</pre> 318</li> 319</ul> 320<a name="STD_REQUIRED_OR_OPTIONAL"> 321<!-- --> 322</a> 323<ul class="blockList"> 324<li class="blockList"> 325<h4>STD_REQUIRED_OR_OPTIONAL</h4> 326<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> 327</li> 328</ul> 329<a name="_required"> 330<!-- --> 331</a> 332<ul class="blockList"> 333<li class="blockList"> 334<h4>_required</h4> 335<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> 336<div class="block">Three states: required, not required and unknown; unknown represented 337 as null.</div> 338</li> 339</ul> 340<a name="_description"> 341<!-- --> 342</a> 343<ul class="blockList"> 344<li class="blockList"> 345<h4>_description</h4> 346<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> 347<div class="block">Optional human-readable description associated with the property.</div> 348</li> 349</ul> 350<a name="_index"> 351<!-- --> 352</a> 353<ul class="blockList"> 354<li class="blockList"> 355<h4>_index</h4> 356<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> 357<div class="block">Optional index of the property within containing Object.</div> 358<dl><dt><span class="strong">Since:</span></dt> 359 <dd>2.4</dd></dl> 360</li> 361</ul> 362<a name="_defaultValue"> 363<!-- --> 364</a> 365<ul class="blockListLast"> 366<li class="blockList"> 367<h4>_defaultValue</h4> 368<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> _defaultValue</pre> 369<div class="block">Optional default value, as String, for property; not used cor 370 any functionality by core databind, offered as metadata for 371 extensions.</div> 372</li> 373</ul> 374</li> 375</ul> 376<!-- ========= CONSTRUCTOR DETAIL ======== --> 377<ul class="blockList"> 378<li class="blockList"><a name="constructor_detail"> 379<!-- --> 380</a> 381<h3>Constructor Detail</h3> 382<a name="PropertyMetadata(java.lang.Boolean, java.lang.String)"> 383<!-- --> 384</a> 385<ul class="blockList"> 386<li class="blockList"> 387<h4>PropertyMetadata</h4> 388<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> 389protected 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, 390 <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> 391<div class="block"><span class="strong">Deprecated.</span> </div> 392</li> 393</ul> 394<a name="PropertyMetadata(java.lang.Boolean, java.lang.String, java.lang.Integer, java.lang.String)"> 395<!-- --> 396</a> 397<ul class="blockListLast"> 398<li class="blockList"> 399<h4>PropertyMetadata</h4> 400<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, 401 <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, 402 <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, 403 <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> def)</pre> 404<dl><dt><span class="strong">Since:</span></dt> 405 <dd>2.5</dd></dl> 406</li> 407</ul> 408</li> 409</ul> 410<!-- ============ METHOD DETAIL ========== --> 411<ul class="blockList"> 412<li class="blockList"><a name="method_detail"> 413<!-- --> 414</a> 415<h3>Method Detail</h3> 416<a name="construct(boolean, java.lang.String)"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>construct</h4> 422<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> 423public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 424 <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> 425<div class="block"><span class="strong">Deprecated.</span> </div> 426<dl><dt><span class="strong">Since:</span></dt> 427 <dd>2.4 Use variant that takes more arguments.</dd></dl> 428</li> 429</ul> 430<a name="construct(boolean, java.lang.String, java.lang.Integer, java.lang.String)"> 431<!-- --> 432</a> 433<ul class="blockList"> 434<li class="blockList"> 435<h4>construct</h4> 436<pre>public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 437 <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, 438 <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, 439 <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> defaultValue)</pre> 440</li> 441</ul> 442<a name="readResolve()"> 443<!-- --> 444</a> 445<ul class="blockList"> 446<li class="blockList"> 447<h4>readResolve</h4> 448<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> 449<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 450 where there is no real data to consider</div> 451</li> 452</ul> 453<a name="withDescription(java.lang.String)"> 454<!-- --> 455</a> 456<ul class="blockList"> 457<li class="blockList"> 458<h4>withDescription</h4> 459<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> 460</li> 461</ul> 462<a name="withDefaultValue(java.lang.String)"> 463<!-- --> 464</a> 465<ul class="blockList"> 466<li class="blockList"> 467<h4>withDefaultValue</h4> 468<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> def)</pre> 469</li> 470</ul> 471<a name="withIndex(java.lang.Integer)"> 472<!-- --> 473</a> 474<ul class="blockList"> 475<li class="blockList"> 476<h4>withIndex</h4> 477<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> 478</li> 479</ul> 480<a name="withRequired(java.lang.Boolean)"> 481<!-- --> 482</a> 483<ul class="blockList"> 484<li class="blockList"> 485<h4>withRequired</h4> 486<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> 487</li> 488</ul> 489<a name="getDescription()"> 490<!-- --> 491</a> 492<ul class="blockList"> 493<li class="blockList"> 494<h4>getDescription</h4> 495<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> 496</li> 497</ul> 498<a name="getDefaultValue()"> 499<!-- --> 500</a> 501<ul class="blockList"> 502<li class="blockList"> 503<h4>getDefaultValue</h4> 504<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> getDefaultValue()</pre> 505<dl><dt><span class="strong">Since:</span></dt> 506 <dd>2.5</dd></dl> 507</li> 508</ul> 509<a name="hasDefuaultValue()"> 510<!-- --> 511</a> 512<ul class="blockList"> 513<li class="blockList"> 514<h4>hasDefuaultValue</h4> 515<pre>public boolean hasDefuaultValue()</pre> 516<dl><dt><span class="strong">Since:</span></dt> 517 <dd>2.5</dd></dl> 518</li> 519</ul> 520<a name="isRequired()"> 521<!-- --> 522</a> 523<ul class="blockList"> 524<li class="blockList"> 525<h4>isRequired</h4> 526<pre>public boolean isRequired()</pre> 527</li> 528</ul> 529<a name="getRequired()"> 530<!-- --> 531</a> 532<ul class="blockList"> 533<li class="blockList"> 534<h4>getRequired</h4> 535<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> 536</li> 537</ul> 538<a name="getIndex()"> 539<!-- --> 540</a> 541<ul class="blockList"> 542<li class="blockList"> 543<h4>getIndex</h4> 544<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> 545<dl><dt><span class="strong">Since:</span></dt> 546 <dd>2.4</dd></dl> 547</li> 548</ul> 549<a name="hasIndex()"> 550<!-- --> 551</a> 552<ul class="blockListLast"> 553<li class="blockList"> 554<h4>hasIndex</h4> 555<pre>public boolean hasIndex()</pre> 556<dl><dt><span class="strong">Since:</span></dt> 557 <dd>2.4</dd></dl> 558</li> 559</ul> 560</li> 561</ul> 562</li> 563</ul> 564</div> 565</div> 566<!-- ========= END OF CLASS DATA ========= --> 567<!-- ======= START OF BOTTOM NAVBAR ====== --> 568<div class="bottomNav"><a name="navbar_bottom"> 569<!-- --> 570</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 571<!-- --> 572</a> 573<ul class="navList" title="Navigation"> 574<li><a href="../../../../overview-summary.html">Overview</a></li> 575<li><a href="package-summary.html">Package</a></li> 576<li class="navBarCell1Rev">Class</li> 577<li><a href="class-use/PropertyMetadata.html">Use</a></li> 578<li><a href="package-tree.html">Tree</a></li> 579<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 580<li><a href="../../../../index-all.html">Index</a></li> 581<li><a href="../../../../help-doc.html">Help</a></li> 582</ul> 583</div> 584<div class="subNav"> 585<ul class="navList"> 586<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> 587<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 588</ul> 589<ul class="navList"> 590<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyMetadata.html" target="_top">Frames</a></li> 591<li><a href="PropertyMetadata.html" target="_top">No Frames</a></li> 592</ul> 593<ul class="navList" id="allclasses_navbar_bottom"> 594<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 595</ul> 596<div> 597<script type="text/javascript"><!-- 598 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 599 if(window==top) { 600 allClassesLink.style.display = "block"; 601 } 602 else { 603 allClassesLink.style.display = "none"; 604 } 605 //--> 606</script> 607</div> 608<div> 609<ul class="subNavList"> 610<li>Summary: </li> 611<li>Nested | </li> 612<li><a href="#field_summary">Field</a> | </li> 613<li><a href="#constructor_summary">Constr</a> | </li> 614<li><a href="#method_summary">Method</a></li> 615</ul> 616<ul class="subNavList"> 617<li>Detail: </li> 618<li><a href="#field_detail">Field</a> | </li> 619<li><a href="#constructor_detail">Constr</a> | </li> 620<li><a href="#method_detail">Method</a></li> 621</ul> 622</div> 623<a name="skip-navbar_bottom"> 624<!-- --> 625</a></div> 626<!-- ======== END OF BOTTOM NAVBAR ======= --> 627<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 628</body> 629</html> 630