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_10-ea) on Mon Apr 22 19:50:38 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>BeanPropertyDefinition (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 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="BeanPropertyDefinition (jackson-databind 2.2.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/BeanPropertyDefinition.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/introspect/BasicClassIntrospector.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/ClassIntrospector.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" target="_top">Frames</a></li> 45<li><a href="BeanPropertyDefinition.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>Field | </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>Field | </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.introspect</div> 84<h2 title="Class BeanPropertyDefinition" class="title">Class BeanPropertyDefinition</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.introspect.BeanPropertyDefinition</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="../../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a></dd> 101</dl> 102<dl> 103<dt>Direct Known Subclasses:</dt> 104<dd><a href="../../../../../com/fasterxml/jackson/databind/introspect/POJOPropertyBuilder.html" title="class in com.fasterxml.jackson.databind.introspect">POJOPropertyBuilder</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/SimpleBeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.util">SimpleBeanPropertyDefinition</a></dd> 105</dl> 106<hr> 107<br> 108<pre>public abstract class <span class="strong">BeanPropertyDefinition</span> 109extends <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> 110implements <a href="../../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a></pre> 111<div class="block">Simple value classes that contain definitions of properties, 112 used during introspection of properties to use for 113 serialization and deserialization purposes. 114 These instances are created before actual <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind"><code>BeanProperty</code></a> 115 instances are created, i.e. they are used earlier in the process 116 flow, and are typically use to construct actual 117 <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind"><code>BeanProperty</code></a> instances.</div> 118</li> 119</ul> 120</div> 121<div class="summary"> 122<ul class="blockList"> 123<li class="blockList"> 124<!-- ======== CONSTRUCTOR SUMMARY ======== --> 125<ul class="blockList"> 126<li class="blockList"><a name="constructor_summary"> 127<!-- --> 128</a> 129<h3>Constructor Summary</h3> 130<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 131<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 132<tr> 133<th class="colOne" scope="col">Constructor and Description</th> 134</tr> 135<tr class="altColor"> 136<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#BeanPropertyDefinition()">BeanPropertyDefinition</a></strong>()</code> </td> 137</tr> 138</table> 139</li> 140</ul> 141<!-- ========== METHOD SUMMARY =========== --> 142<ul class="blockList"> 143<li class="blockList"><a name="method_summary"> 144<!-- --> 145</a> 146<h3>Method Summary</h3> 147<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 148<caption><span>Methods</span><span class="tabEnd"> </span></caption> 149<tr> 150<th class="colFirst" scope="col">Modifier and Type</th> 151<th class="colLast" scope="col">Method and Description</th> 152</tr> 153<tr class="altColor"> 154<td class="colFirst"><code>boolean</code></td> 155<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#couldDeserialize()">couldDeserialize</a></strong>()</code> </td> 156</tr> 157<tr class="rowColor"> 158<td class="colFirst"><code>boolean</code></td> 159<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#couldSerialize()">couldSerialize</a></strong>()</code> </td> 160</tr> 161<tr class="altColor"> 162<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/ObjectIdInfo.html" title="class in com.fasterxml.jackson.databind.introspect">ObjectIdInfo</a></code></td> 163<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#findObjectIdInfo()">findObjectIdInfo</a></strong>()</code> 164<div class="block">Method used to check whether this logical property indicates that 165 value POJOs should be written using additional Object Identifier 166 (or, when multiple references exist, all but first AS Object Identifier).</div> 167</td> 168</tr> 169<tr class="rowColor"> 170<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.ReferenceProperty.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector.ReferenceProperty</a></code></td> 171<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#findReferenceType()">findReferenceType</a></strong>()</code> 172<div class="block">Method used to find whether property is part of a bi-directional 173 reference.</div> 174</td> 175</tr> 176<tr class="altColor"> 177<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[]</code></td> 178<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#findViews()">findViews</a></strong>()</code> 179<div class="block">Method used to find View-inclusion definitions for the property.</div> 180</td> 181</tr> 182<tr class="rowColor"> 183<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></td> 184<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getAccessor()">getAccessor</a></strong>()</code> 185<div class="block">Method used to find accessor (getter, field to access) to use for accessing 186 value of the property.</div> 187</td> 188</tr> 189<tr class="altColor"> 190<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a></code></td> 191<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getConstructorParameter()">getConstructorParameter</a></strong>()</code> </td> 192</tr> 193<tr class="rowColor"> 194<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a></code></td> 195<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getField()">getField</a></strong>()</code> </td> 196</tr> 197<tr class="altColor"> 198<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a></code></td> 199<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getGetter()">getGetter</a></strong>()</code> </td> 200</tr> 201<tr class="rowColor"> 202<td class="colFirst"><code>abstract <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> 203<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getInternalName()">getInternalName</a></strong>()</code> 204<div class="block">Accessor that can be used to determine implicit name from underlying 205 element(s) before possible renaming.</div> 206</td> 207</tr> 208<tr class="altColor"> 209<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></td> 210<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getMutator()">getMutator</a></strong>()</code> 211<div class="block">Method used to find mutator (constructor parameter, setter, field) to use for 212 changing value of the property.</div> 213</td> 214</tr> 215<tr class="rowColor"> 216<td class="colFirst"><code>abstract <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> 217<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getName()">getName</a></strong>()</code> 218<div class="block">Accessor for name used for external representation (in JSON).</div> 219</td> 220</tr> 221<tr class="altColor"> 222<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></td> 223<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getPrimaryMember()">getPrimaryMember</a></strong>()</code> 224<div class="block">Method used to find the property member (getter, setter, field) that has 225 the highest precedence in current context (getter method when serializing, 226 if available, and so forth), if any.</div> 227</td> 228</tr> 229<tr class="rowColor"> 230<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a></code></td> 231<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getSetter()">getSetter</a></strong>()</code> </td> 232</tr> 233<tr class="altColor"> 234<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></code></td> 235<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getWrapperName()">getWrapperName</a></strong>()</code> 236<div class="block">Accessor for finding wrapper name to use for property (if any).</div> 237</td> 238</tr> 239<tr class="rowColor"> 240<td class="colFirst"><code>abstract boolean</code></td> 241<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasConstructorParameter()">hasConstructorParameter</a></strong>()</code> </td> 242</tr> 243<tr class="altColor"> 244<td class="colFirst"><code>abstract boolean</code></td> 245<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasField()">hasField</a></strong>()</code> </td> 246</tr> 247<tr class="rowColor"> 248<td class="colFirst"><code>abstract boolean</code></td> 249<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasGetter()">hasGetter</a></strong>()</code> </td> 250</tr> 251<tr class="altColor"> 252<td class="colFirst"><code>abstract boolean</code></td> 253<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasSetter()">hasSetter</a></strong>()</code> </td> 254</tr> 255<tr class="rowColor"> 256<td class="colFirst"><code>abstract boolean</code></td> 257<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isExplicitlyIncluded()">isExplicitlyIncluded</a></strong>()</code> 258<div class="block">Accessor that can be called to check whether property was included 259 due to an explicit marker (usually annotation), or just by naming 260 convention.</div> 261</td> 262</tr> 263<tr class="altColor"> 264<td class="colFirst"><code>boolean</code></td> 265<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isRequired()">isRequired</a></strong>()</code> 266<div class="block">Method used to check if this property is expected to have a value; 267 and if none found, should either be considered invalid (and most likely 268 fail deserialization), or handled by other means (by providing default 269 value)</div> 270</td> 271</tr> 272<tr class="rowColor"> 273<td class="colFirst"><code>boolean</code></td> 274<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isTypeId()">isTypeId</a></strong>()</code> 275<div class="block">Method used to check whether this logical property has a marker 276 to indicate it should be used as the type id for polymorphic type 277 handling.</div> 278</td> 279</tr> 280<tr class="altColor"> 281<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a></code></td> 282<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#withName(java.lang.String)">withName</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> newName)</code> 283<div class="block">Method that can be used to create a definition with 284 same settings as this one, but with different 285 (external) name; that is, one for which 286 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getName()"><code>getName()</code></a> would return <code>newName</code>.</div> 287</td> 288</tr> 289</table> 290<ul class="blockList"> 291<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 292<!-- --> 293</a> 294<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> 295<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> 296</ul> 297</li> 298</ul> 299</li> 300</ul> 301</div> 302<div class="details"> 303<ul class="blockList"> 304<li class="blockList"> 305<!-- ========= CONSTRUCTOR DETAIL ======== --> 306<ul class="blockList"> 307<li class="blockList"><a name="constructor_detail"> 308<!-- --> 309</a> 310<h3>Constructor Detail</h3> 311<a name="BeanPropertyDefinition()"> 312<!-- --> 313</a> 314<ul class="blockListLast"> 315<li class="blockList"> 316<h4>BeanPropertyDefinition</h4> 317<pre>public BeanPropertyDefinition()</pre> 318</li> 319</ul> 320</li> 321</ul> 322<!-- ============ METHOD DETAIL ========== --> 323<ul class="blockList"> 324<li class="blockList"><a name="method_detail"> 325<!-- --> 326</a> 327<h3>Method Detail</h3> 328<a name="withName(java.lang.String)"> 329<!-- --> 330</a> 331<ul class="blockList"> 332<li class="blockList"> 333<h4>withName</h4> 334<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> withName(<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> newName)</pre> 335<div class="block">Method that can be used to create a definition with 336 same settings as this one, but with different 337 (external) name; that is, one for which 338 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getName()"><code>getName()</code></a> would return <code>newName</code>.</div> 339</li> 340</ul> 341<a name="getName()"> 342<!-- --> 343</a> 344<ul class="blockList"> 345<li class="blockList"> 346<h4>getName</h4> 347<pre>public abstract <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> getName()</pre> 348<div class="block">Accessor for name used for external representation (in JSON).</div> 349<dl> 350<dt><strong>Specified by:</strong></dt> 351<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Named.html#getName()">getName</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a></code></dd> 352</dl> 353</li> 354</ul> 355<a name="getInternalName()"> 356<!-- --> 357</a> 358<ul class="blockList"> 359<li class="blockList"> 360<h4>getInternalName</h4> 361<pre>public abstract <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> getInternalName()</pre> 362<div class="block">Accessor that can be used to determine implicit name from underlying 363 element(s) before possible renaming. This is the "internal" 364 name derived from accessor ("x" from "getX"), and is not based on 365 annotations or naming strategy.</div> 366</li> 367</ul> 368<a name="getWrapperName()"> 369<!-- --> 370</a> 371<ul class="blockList"> 372<li class="blockList"> 373<h4>getWrapperName</h4> 374<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> getWrapperName()</pre> 375<div class="block">Accessor for finding wrapper name to use for property (if any).</div> 376<dl><dt><span class="strong">Since:</span></dt> 377 <dd>2.2</dd></dl> 378</li> 379</ul> 380<a name="isExplicitlyIncluded()"> 381<!-- --> 382</a> 383<ul class="blockList"> 384<li class="blockList"> 385<h4>isExplicitlyIncluded</h4> 386<pre>public abstract boolean isExplicitlyIncluded()</pre> 387<div class="block">Accessor that can be called to check whether property was included 388 due to an explicit marker (usually annotation), or just by naming 389 convention.</div> 390<dl><dt><span class="strong">Returns:</span></dt><dd>True if property was explicitly included (usually by having 391 one of components being annotated); false if inclusion was purely 392 due to naming or visibility definitions (that is, implicit)</dd></dl> 393</li> 394</ul> 395<a name="couldDeserialize()"> 396<!-- --> 397</a> 398<ul class="blockList"> 399<li class="blockList"> 400<h4>couldDeserialize</h4> 401<pre>public boolean couldDeserialize()</pre> 402</li> 403</ul> 404<a name="couldSerialize()"> 405<!-- --> 406</a> 407<ul class="blockList"> 408<li class="blockList"> 409<h4>couldSerialize</h4> 410<pre>public boolean couldSerialize()</pre> 411</li> 412</ul> 413<a name="hasGetter()"> 414<!-- --> 415</a> 416<ul class="blockList"> 417<li class="blockList"> 418<h4>hasGetter</h4> 419<pre>public abstract boolean hasGetter()</pre> 420</li> 421</ul> 422<a name="hasSetter()"> 423<!-- --> 424</a> 425<ul class="blockList"> 426<li class="blockList"> 427<h4>hasSetter</h4> 428<pre>public abstract boolean hasSetter()</pre> 429</li> 430</ul> 431<a name="hasField()"> 432<!-- --> 433</a> 434<ul class="blockList"> 435<li class="blockList"> 436<h4>hasField</h4> 437<pre>public abstract boolean hasField()</pre> 438</li> 439</ul> 440<a name="hasConstructorParameter()"> 441<!-- --> 442</a> 443<ul class="blockList"> 444<li class="blockList"> 445<h4>hasConstructorParameter</h4> 446<pre>public abstract boolean hasConstructorParameter()</pre> 447</li> 448</ul> 449<a name="getGetter()"> 450<!-- --> 451</a> 452<ul class="blockList"> 453<li class="blockList"> 454<h4>getGetter</h4> 455<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> getGetter()</pre> 456</li> 457</ul> 458<a name="getSetter()"> 459<!-- --> 460</a> 461<ul class="blockList"> 462<li class="blockList"> 463<h4>getSetter</h4> 464<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> getSetter()</pre> 465</li> 466</ul> 467<a name="getField()"> 468<!-- --> 469</a> 470<ul class="blockList"> 471<li class="blockList"> 472<h4>getField</h4> 473<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> getField()</pre> 474</li> 475</ul> 476<a name="getConstructorParameter()"> 477<!-- --> 478</a> 479<ul class="blockList"> 480<li class="blockList"> 481<h4>getConstructorParameter</h4> 482<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a> getConstructorParameter()</pre> 483</li> 484</ul> 485<a name="getAccessor()"> 486<!-- --> 487</a> 488<ul class="blockList"> 489<li class="blockList"> 490<h4>getAccessor</h4> 491<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getAccessor()</pre> 492<div class="block">Method used to find accessor (getter, field to access) to use for accessing 493 value of the property. 494 Null if no such member exists.</div> 495</li> 496</ul> 497<a name="getMutator()"> 498<!-- --> 499</a> 500<ul class="blockList"> 501<li class="blockList"> 502<h4>getMutator</h4> 503<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getMutator()</pre> 504<div class="block">Method used to find mutator (constructor parameter, setter, field) to use for 505 changing value of the property. 506 Null if no such member exists.</div> 507</li> 508</ul> 509<a name="getPrimaryMember()"> 510<!-- --> 511</a> 512<ul class="blockList"> 513<li class="blockList"> 514<h4>getPrimaryMember</h4> 515<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getPrimaryMember()</pre> 516<div class="block">Method used to find the property member (getter, setter, field) that has 517 the highest precedence in current context (getter method when serializing, 518 if available, and so forth), if any.</div> 519<dl><dt><span class="strong">Since:</span></dt> 520 <dd>2.1</dd></dl> 521</li> 522</ul> 523<a name="findViews()"> 524<!-- --> 525</a> 526<ul class="blockList"> 527<li class="blockList"> 528<h4>findViews</h4> 529<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] findViews()</pre> 530<div class="block">Method used to find View-inclusion definitions for the property.</div> 531</li> 532</ul> 533<a name="findReferenceType()"> 534<!-- --> 535</a> 536<ul class="blockList"> 537<li class="blockList"> 538<h4>findReferenceType</h4> 539<pre>public <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.ReferenceProperty.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector.ReferenceProperty</a> findReferenceType()</pre> 540<div class="block">Method used to find whether property is part of a bi-directional 541 reference.</div> 542</li> 543</ul> 544<a name="isTypeId()"> 545<!-- --> 546</a> 547<ul class="blockList"> 548<li class="blockList"> 549<h4>isTypeId</h4> 550<pre>public boolean isTypeId()</pre> 551<div class="block">Method used to check whether this logical property has a marker 552 to indicate it should be used as the type id for polymorphic type 553 handling.</div> 554</li> 555</ul> 556<a name="findObjectIdInfo()"> 557<!-- --> 558</a> 559<ul class="blockList"> 560<li class="blockList"> 561<h4>findObjectIdInfo</h4> 562<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/ObjectIdInfo.html" title="class in com.fasterxml.jackson.databind.introspect">ObjectIdInfo</a> findObjectIdInfo()</pre> 563<div class="block">Method used to check whether this logical property indicates that 564 value POJOs should be written using additional Object Identifier 565 (or, when multiple references exist, all but first AS Object Identifier).</div> 566</li> 567</ul> 568<a name="isRequired()"> 569<!-- --> 570</a> 571<ul class="blockListLast"> 572<li class="blockList"> 573<h4>isRequired</h4> 574<pre>public boolean isRequired()</pre> 575<div class="block">Method used to check if this property is expected to have a value; 576 and if none found, should either be considered invalid (and most likely 577 fail deserialization), or handled by other means (by providing default 578 value)</div> 579</li> 580</ul> 581</li> 582</ul> 583</li> 584</ul> 585</div> 586</div> 587<!-- ========= END OF CLASS DATA ========= --> 588<!-- ======= START OF BOTTOM NAVBAR ====== --> 589<div class="bottomNav"><a name="navbar_bottom"> 590<!-- --> 591</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 592<!-- --> 593</a> 594<ul class="navList" title="Navigation"> 595<li><a href="../../../../../overview-summary.html">Overview</a></li> 596<li><a href="package-summary.html">Package</a></li> 597<li class="navBarCell1Rev">Class</li> 598<li><a href="class-use/BeanPropertyDefinition.html">Use</a></li> 599<li><a href="package-tree.html">Tree</a></li> 600<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 601<li><a href="../../../../../index-all.html">Index</a></li> 602<li><a href="../../../../../help-doc.html">Help</a></li> 603</ul> 604</div> 605<div class="subNav"> 606<ul class="navList"> 607<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/BasicClassIntrospector.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Prev Class</span></a></li> 608<li><a href="../../../../../com/fasterxml/jackson/databind/introspect/ClassIntrospector.html" title="class in com.fasterxml.jackson.databind.introspect"><span class="strong">Next Class</span></a></li> 609</ul> 610<ul class="navList"> 611<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" target="_top">Frames</a></li> 612<li><a href="BeanPropertyDefinition.html" target="_top">No Frames</a></li> 613</ul> 614<ul class="navList" id="allclasses_navbar_bottom"> 615<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 616</ul> 617<div> 618<script type="text/javascript"><!-- 619 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 620 if(window==top) { 621 allClassesLink.style.display = "block"; 622 } 623 else { 624 allClassesLink.style.display = "none"; 625 } 626 //--> 627</script> 628</div> 629<div> 630<ul class="subNavList"> 631<li>Summary: </li> 632<li>Nested | </li> 633<li>Field | </li> 634<li><a href="#constructor_summary">Constr</a> | </li> 635<li><a href="#method_summary">Method</a></li> 636</ul> 637<ul class="subNavList"> 638<li>Detail: </li> 639<li>Field | </li> 640<li><a href="#constructor_detail">Constr</a> | </li> 641<li><a href="#method_detail">Method</a></li> 642</ul> 643</div> 644<a name="skip-navbar_bottom"> 645<!-- --> 646</a></div> 647<!-- ======== END OF BOTTOM NAVBAR ======= --> 648<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 649</body> 650</html> 651