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 (1.8.0) on Sun Jul 19 11:36:50 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>PropertyMetadata (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="PropertyMetadata (jackson-databind 2.6.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":41,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/PropertyMetadata.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../index-all.html">Index</a></li> 48<li><a href="../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyMetadata.html" target="_top">Frames</a></li> 58<li><a href="PropertyMetadata.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind</div> 97<h2 title="Class PropertyMetadata" class="title">Class PropertyMetadata</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<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> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.PropertyMetadata</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<dl> 112<dt>All Implemented Interfaces:</dt> 113<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> 114</dl> 115<hr> 116<br> 117<pre>public class <span class="typeNameLabel">PropertyMetadata</span> 118extends <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> 119implements <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> 120<div class="block">Simple container class used for storing "additional" metadata about 121 properties. Carved out to reduce number of distinct properties that 122 actual property implementations and placeholders need to store; 123 since instances are immutable, they can be freely shared.</div> 124<dl> 125<dt><span class="simpleTagLabel">Since:</span></dt> 126<dd>2.3</dd> 127<dt><span class="seeLabel">See Also:</span></dt> 128<dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.PropertyMetadata">Serialized Form</a></dd> 129</dl> 130</li> 131</ul> 132</div> 133<div class="summary"> 134<ul class="blockList"> 135<li class="blockList"> 136<!-- =========== FIELD SUMMARY =========== --> 137<ul class="blockList"> 138<li class="blockList"><a name="field.summary"> 139<!-- --> 140</a> 141<h3>Field Summary</h3> 142<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 143<caption><span>Fields</span><span class="tabEnd"> </span></caption> 144<tr> 145<th class="colFirst" scope="col">Modifier and Type</th> 146<th class="colLast" scope="col">Field and Description</th> 147</tr> 148<tr class="altColor"> 149<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> 150<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#Z:Z_defaultValue">_defaultValue</a></span></code> 151<div class="block">Optional default value, as String, for property; not used cor 152 any functionality by core databind, offered as metadata for 153 extensions.</div> 154</td> 155</tr> 156<tr class="rowColor"> 157<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> 158<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#Z:Z_description">_description</a></span></code> 159<div class="block">Optional human-readable description associated with the property.</div> 160</td> 161</tr> 162<tr class="altColor"> 163<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> 164<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#Z:Z_index">_index</a></span></code> 165<div class="block">Optional index of the property within containing Object.</div> 166</td> 167</tr> 168<tr class="rowColor"> 169<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> 170<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#Z:Z_required">_required</a></span></code> 171<div class="block">Three states: required, not required and unknown; unknown represented 172 as null.</div> 173</td> 174</tr> 175<tr class="altColor"> 176<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 177<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#STD_OPTIONAL">STD_OPTIONAL</a></span></code> </td> 178</tr> 179<tr class="rowColor"> 180<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 181<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#STD_REQUIRED">STD_REQUIRED</a></span></code> </td> 182</tr> 183<tr class="altColor"> 184<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 185<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#STD_REQUIRED_OR_OPTIONAL">STD_REQUIRED_OR_OPTIONAL</a></span></code> </td> 186</tr> 187</table> 188</li> 189</ul> 190<!-- ======== CONSTRUCTOR SUMMARY ======== --> 191<ul class="blockList"> 192<li class="blockList"><a name="constructor.summary"> 193<!-- --> 194</a> 195<h3>Constructor Summary</h3> 196<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 197<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 198<tr> 199<th class="colFirst" scope="col">Modifier</th> 200<th class="colLast" scope="col">Constructor and Description</th> 201</tr> 202<tr class="altColor"> 203<td class="colFirst"><code>protected </code></td> 204<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#PropertyMetadata-java.lang.Boolean-java.lang.String-">PropertyMetadata</a></span>(<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, 205 <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> 206<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 207</td> 208</tr> 209<tr class="rowColor"> 210<td class="colFirst"><code>protected </code></td> 211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#PropertyMetadata-java.lang.Boolean-java.lang.String-java.lang.Integer-java.lang.String-">PropertyMetadata</a></span>(<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, 212 <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, 213 <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, 214 <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> 215</tr> 216</table> 217</li> 218</ul> 219<!-- ========== METHOD SUMMARY =========== --> 220<ul class="blockList"> 221<li class="blockList"><a name="method.summary"> 222<!-- --> 223</a> 224<h3>Method Summary</h3> 225<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 226<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> 227<tr> 228<th class="colFirst" scope="col">Modifier and Type</th> 229<th class="colLast" scope="col">Method and Description</th> 230</tr> 231<tr id="i0" class="altColor"> 232<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 233<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#construct-boolean-java.lang.String-">construct</a></span>(boolean req, 234 <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> 235<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 236</td> 237</tr> 238<tr id="i1" class="rowColor"> 239<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 240<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#construct-boolean-java.lang.String-java.lang.Integer-java.lang.String-">construct</a></span>(boolean req, 241 <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, 242 <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, 243 <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> 244</tr> 245<tr id="i2" class="altColor"> 246<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> 247<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getDefaultValue--">getDefaultValue</a></span>()</code> </td> 248</tr> 249<tr id="i3" class="rowColor"> 250<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> 251<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getDescription--">getDescription</a></span>()</code> </td> 252</tr> 253<tr id="i4" class="altColor"> 254<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> 255<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getIndex--">getIndex</a></span>()</code> </td> 256</tr> 257<tr id="i5" class="rowColor"> 258<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> 259<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#getRequired--">getRequired</a></span>()</code> </td> 260</tr> 261<tr id="i6" class="altColor"> 262<td class="colFirst"><code>boolean</code></td> 263<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefaultValue--">hasDefaultValue</a></span>()</code> 264<div class="block">Accessor for determining whether property has declared "default value", 265 which may be used by extension modules.</div> 266</td> 267</tr> 268<tr id="i7" class="rowColor"> 269<td class="colFirst"><code>boolean</code></td> 270<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefuaultValue--">hasDefuaultValue</a></span>()</code> 271<div class="block"><span class="deprecatedLabel">Deprecated.</span> 272<div class="block"><span class="deprecationComment">Since 2.6: typo in name, use <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefaultValue--"><code>hasDefaultValue()</code></a> instead.</span></div> 273</div> 274</td> 275</tr> 276<tr id="i8" class="altColor"> 277<td class="colFirst"><code>boolean</code></td> 278<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasIndex--">hasIndex</a></span>()</code> </td> 279</tr> 280<tr id="i9" class="rowColor"> 281<td class="colFirst"><code>boolean</code></td> 282<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#isRequired--">isRequired</a></span>()</code> </td> 283</tr> 284<tr id="i10" class="altColor"> 285<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> 286<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#readResolve--">readResolve</a></span>()</code> 287<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 288 where there is no real data to consider</div> 289</td> 290</tr> 291<tr id="i11" class="rowColor"> 292<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 293<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withDefaultValue-java.lang.String-">withDefaultValue</a></span>(<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> 294</tr> 295<tr id="i12" class="altColor"> 296<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withDescription-java.lang.String-">withDescription</a></span>(<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> 298</tr> 299<tr id="i13" class="rowColor"> 300<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 301<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withIndex-java.lang.Integer-">withIndex</a></span>(<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> 302</tr> 303<tr id="i14" class="altColor"> 304<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 305<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#withRequired-java.lang.Boolean-">withRequired</a></span>(<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> 306</tr> 307</table> 308<ul class="blockList"> 309<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 310<!-- --> 311</a> 312<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> 313<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> 314</ul> 315</li> 316</ul> 317</li> 318</ul> 319</div> 320<div class="details"> 321<ul class="blockList"> 322<li class="blockList"> 323<!-- ============ FIELD DETAIL =========== --> 324<ul class="blockList"> 325<li class="blockList"><a name="field.detail"> 326<!-- --> 327</a> 328<h3>Field Detail</h3> 329<a name="STD_REQUIRED"> 330<!-- --> 331</a> 332<ul class="blockList"> 333<li class="blockList"> 334<h4>STD_REQUIRED</h4> 335<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_REQUIRED</pre> 336</li> 337</ul> 338<a name="STD_OPTIONAL"> 339<!-- --> 340</a> 341<ul class="blockList"> 342<li class="blockList"> 343<h4>STD_OPTIONAL</h4> 344<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> STD_OPTIONAL</pre> 345</li> 346</ul> 347<a name="STD_REQUIRED_OR_OPTIONAL"> 348<!-- --> 349</a> 350<ul class="blockList"> 351<li class="blockList"> 352<h4>STD_REQUIRED_OR_OPTIONAL</h4> 353<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> 354</li> 355</ul> 356<a name="Z:Z_required"> 357<!-- --> 358</a> 359<ul class="blockList"> 360<li class="blockList"> 361<h4>_required</h4> 362<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> 363<div class="block">Three states: required, not required and unknown; unknown represented 364 as null.</div> 365</li> 366</ul> 367<a name="Z:Z_description"> 368<!-- --> 369</a> 370<ul class="blockList"> 371<li class="blockList"> 372<h4>_description</h4> 373<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> 374<div class="block">Optional human-readable description associated with the property.</div> 375</li> 376</ul> 377<a name="Z:Z_index"> 378<!-- --> 379</a> 380<ul class="blockList"> 381<li class="blockList"> 382<h4>_index</h4> 383<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> 384<div class="block">Optional index of the property within containing Object.</div> 385<dl> 386<dt><span class="simpleTagLabel">Since:</span></dt> 387<dd>2.4</dd> 388</dl> 389</li> 390</ul> 391<a name="Z:Z_defaultValue"> 392<!-- --> 393</a> 394<ul class="blockListLast"> 395<li class="blockList"> 396<h4>_defaultValue</h4> 397<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> 398<div class="block">Optional default value, as String, for property; not used cor 399 any functionality by core databind, offered as metadata for 400 extensions.</div> 401</li> 402</ul> 403</li> 404</ul> 405<!-- ========= CONSTRUCTOR DETAIL ======== --> 406<ul class="blockList"> 407<li class="blockList"><a name="constructor.detail"> 408<!-- --> 409</a> 410<h3>Constructor Detail</h3> 411<a name="PropertyMetadata-java.lang.Boolean-java.lang.String-"> 412<!-- --> 413</a> 414<ul class="blockList"> 415<li class="blockList"> 416<h4>PropertyMetadata</h4> 417<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> 418protected 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, 419 <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> 420<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 421</li> 422</ul> 423<a name="PropertyMetadata-java.lang.Boolean-java.lang.String-java.lang.Integer-java.lang.String-"> 424<!-- --> 425</a> 426<ul class="blockListLast"> 427<li class="blockList"> 428<h4>PropertyMetadata</h4> 429<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, 430 <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, 431 <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, 432 <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> 433<dl> 434<dt><span class="simpleTagLabel">Since:</span></dt> 435<dd>2.5</dd> 436</dl> 437</li> 438</ul> 439</li> 440</ul> 441<!-- ============ METHOD DETAIL ========== --> 442<ul class="blockList"> 443<li class="blockList"><a name="method.detail"> 444<!-- --> 445</a> 446<h3>Method Detail</h3> 447<a name="construct-boolean-java.lang.String-"> 448<!-- --> 449</a> 450<ul class="blockList"> 451<li class="blockList"> 452<h4>construct</h4> 453<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> 454public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 455 <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> 456<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 457<dl> 458<dt><span class="simpleTagLabel">Since:</span></dt> 459<dd>2.4 Use variant that takes more arguments.</dd> 460</dl> 461</li> 462</ul> 463<a name="construct-boolean-java.lang.String-java.lang.Integer-java.lang.String-"> 464<!-- --> 465</a> 466<ul class="blockList"> 467<li class="blockList"> 468<h4>construct</h4> 469<pre>public static <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> construct(boolean req, 470 <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, 471 <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, 472 <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> 473</li> 474</ul> 475<a name="readResolve--"> 476<!-- --> 477</a> 478<ul class="blockList"> 479<li class="blockList"> 480<h4>readResolve</h4> 481<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> 482<div class="block">Minor optimization: let's canonicalize back to placeholders in cases 483 where there is no real data to consider</div> 484</li> 485</ul> 486<a name="withDescription-java.lang.String-"> 487<!-- --> 488</a> 489<ul class="blockList"> 490<li class="blockList"> 491<h4>withDescription</h4> 492<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> 493</li> 494</ul> 495<a name="withDefaultValue-java.lang.String-"> 496<!-- --> 497</a> 498<ul class="blockList"> 499<li class="blockList"> 500<h4>withDefaultValue</h4> 501<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> 502</li> 503</ul> 504<a name="withIndex-java.lang.Integer-"> 505<!-- --> 506</a> 507<ul class="blockList"> 508<li class="blockList"> 509<h4>withIndex</h4> 510<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> 511</li> 512</ul> 513<a name="withRequired-java.lang.Boolean-"> 514<!-- --> 515</a> 516<ul class="blockList"> 517<li class="blockList"> 518<h4>withRequired</h4> 519<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> 520</li> 521</ul> 522<a name="getDescription--"> 523<!-- --> 524</a> 525<ul class="blockList"> 526<li class="blockList"> 527<h4>getDescription</h4> 528<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> 529</li> 530</ul> 531<a name="getDefaultValue--"> 532<!-- --> 533</a> 534<ul class="blockList"> 535<li class="blockList"> 536<h4>getDefaultValue</h4> 537<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> 538<dl> 539<dt><span class="simpleTagLabel">Since:</span></dt> 540<dd>2.5</dd> 541</dl> 542</li> 543</ul> 544<a name="hasDefuaultValue--"> 545<!-- --> 546</a> 547<ul class="blockList"> 548<li class="blockList"> 549<h4>hasDefuaultValue</h4> 550<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> 551public boolean hasDefuaultValue()</pre> 552<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.6: typo in name, use <a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html#hasDefaultValue--"><code>hasDefaultValue()</code></a> instead.</span></div> 553</li> 554</ul> 555<a name="hasDefaultValue--"> 556<!-- --> 557</a> 558<ul class="blockList"> 559<li class="blockList"> 560<h4>hasDefaultValue</h4> 561<pre>public boolean hasDefaultValue()</pre> 562<div class="block">Accessor for determining whether property has declared "default value", 563 which may be used by extension modules.</div> 564<dl> 565<dt><span class="simpleTagLabel">Since:</span></dt> 566<dd>2.6</dd> 567</dl> 568</li> 569</ul> 570<a name="isRequired--"> 571<!-- --> 572</a> 573<ul class="blockList"> 574<li class="blockList"> 575<h4>isRequired</h4> 576<pre>public boolean isRequired()</pre> 577</li> 578</ul> 579<a name="getRequired--"> 580<!-- --> 581</a> 582<ul class="blockList"> 583<li class="blockList"> 584<h4>getRequired</h4> 585<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> 586</li> 587</ul> 588<a name="getIndex--"> 589<!-- --> 590</a> 591<ul class="blockList"> 592<li class="blockList"> 593<h4>getIndex</h4> 594<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> 595<dl> 596<dt><span class="simpleTagLabel">Since:</span></dt> 597<dd>2.4</dd> 598</dl> 599</li> 600</ul> 601<a name="hasIndex--"> 602<!-- --> 603</a> 604<ul class="blockListLast"> 605<li class="blockList"> 606<h4>hasIndex</h4> 607<pre>public boolean hasIndex()</pre> 608<dl> 609<dt><span class="simpleTagLabel">Since:</span></dt> 610<dd>2.4</dd> 611</dl> 612</li> 613</ul> 614</li> 615</ul> 616</li> 617</ul> 618</div> 619</div> 620<!-- ========= END OF CLASS DATA ========= --> 621<!-- ======= START OF BOTTOM NAVBAR ====== --> 622<div class="bottomNav"><a name="navbar.bottom"> 623<!-- --> 624</a> 625<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 626<a name="navbar.bottom.firstrow"> 627<!-- --> 628</a> 629<ul class="navList" title="Navigation"> 630<li><a href="../../../../overview-summary.html">Overview</a></li> 631<li><a href="package-summary.html">Package</a></li> 632<li class="navBarCell1Rev">Class</li> 633<li><a href="class-use/PropertyMetadata.html">Use</a></li> 634<li><a href="package-tree.html">Tree</a></li> 635<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 636<li><a href="../../../../index-all.html">Index</a></li> 637<li><a href="../../../../help-doc.html">Help</a></li> 638</ul> 639</div> 640<div class="subNav"> 641<ul class="navList"> 642<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 643<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 644</ul> 645<ul class="navList"> 646<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyMetadata.html" target="_top">Frames</a></li> 647<li><a href="PropertyMetadata.html" target="_top">No Frames</a></li> 648</ul> 649<ul class="navList" id="allclasses_navbar_bottom"> 650<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 651</ul> 652<div> 653<script type="text/javascript"><!-- 654 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 655 if(window==top) { 656 allClassesLink.style.display = "block"; 657 } 658 else { 659 allClassesLink.style.display = "none"; 660 } 661 //--> 662</script> 663</div> 664<div> 665<ul class="subNavList"> 666<li>Summary: </li> 667<li>Nested | </li> 668<li><a href="#field.summary">Field</a> | </li> 669<li><a href="#constructor.summary">Constr</a> | </li> 670<li><a href="#method.summary">Method</a></li> 671</ul> 672<ul class="subNavList"> 673<li>Detail: </li> 674<li><a href="#field.detail">Field</a> | </li> 675<li><a href="#constructor.detail">Constr</a> | </li> 676<li><a href="#method.detail">Method</a></li> 677</ul> 678</div> 679<a name="skip.navbar.bottom"> 680<!-- --> 681</a></div> 682<!-- ======== END OF BOTTOM NAVBAR ======= --> 683<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 684</body> 685</html> 686