1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Mon Jun 02 17:48:56 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>BeanPropertyDefinition (jackson-databind 2.4.0 API)</title> 8<meta name="date" content="2014-06-02"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="BeanPropertyDefinition (jackson-databind 2.4.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/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/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></code></td> 199<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getFullName()">getFullName</a></strong>()</code> </td> 200</tr> 201<tr class="rowColor"> 202<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> 203<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getGetter()">getGetter</a></strong>()</code> </td> 204</tr> 205<tr class="altColor"> 206<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> 207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getInternalName()">getInternalName</a></strong>()</code> 208<div class="block">Accessor that can be used to determine implicit name from underlying 209 element(s) before possible renaming.</div> 210</td> 211</tr> 212<tr class="rowColor"> 213<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td> 214<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getMetadata()">getMetadata</a></strong>()</code> 215<div class="block">Method for accessing additional metadata.</div> 216</td> 217</tr> 218<tr class="altColor"> 219<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> 220<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getMutator()">getMutator</a></strong>()</code> 221<div class="block">Method used to find mutator (constructor parameter, setter, field) to use for 222 changing value of the property.</div> 223</td> 224</tr> 225<tr class="rowColor"> 226<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> 227<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getName()">getName</a></strong>()</code> 228<div class="block">Accessor for name used for external representation (in JSON).</div> 229</td> 230</tr> 231<tr class="altColor"> 232<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> 233<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getNonConstructorMutator()">getNonConstructorMutator</a></strong>()</code> </td> 234</tr> 235<tr class="rowColor"> 236<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> 237<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getPrimaryMember()">getPrimaryMember</a></strong>()</code> 238<div class="block">Method used to find the property member (getter, setter, field) that has 239 the highest precedence in current context (getter method when serializing, 240 if available, and so forth), if any.</div> 241</td> 242</tr> 243<tr class="altColor"> 244<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> 245<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getSetter()">getSetter</a></strong>()</code> </td> 246</tr> 247<tr class="rowColor"> 248<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></code></td> 249<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getWrapperName()">getWrapperName</a></strong>()</code> 250<div class="block">Accessor for finding wrapper name to use for property (if any).</div> 251</td> 252</tr> 253<tr class="altColor"> 254<td class="colFirst"><code>abstract boolean</code></td> 255<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasConstructorParameter()">hasConstructorParameter</a></strong>()</code> </td> 256</tr> 257<tr class="rowColor"> 258<td class="colFirst"><code>abstract boolean</code></td> 259<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasField()">hasField</a></strong>()</code> </td> 260</tr> 261<tr class="altColor"> 262<td class="colFirst"><code>abstract boolean</code></td> 263<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasGetter()">hasGetter</a></strong>()</code> </td> 264</tr> 265<tr class="rowColor"> 266<td class="colFirst"><code>abstract boolean</code></td> 267<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#hasSetter()">hasSetter</a></strong>()</code> </td> 268</tr> 269<tr class="altColor"> 270<td class="colFirst"><code>abstract boolean</code></td> 271<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isExplicitlyIncluded()">isExplicitlyIncluded</a></strong>()</code> 272<div class="block">Accessor that can be called to check whether property was included 273 due to an explicit marker (usually annotation), or just by naming 274 convention.</div> 275</td> 276</tr> 277<tr class="rowColor"> 278<td class="colFirst"><code>boolean</code></td> 279<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isExplicitlyNamed()">isExplicitlyNamed</a></strong>()</code> 280<div class="block">Accessor that can be called to check whether property name was 281 due to an explicit marker (usually annotation), or just by naming 282 convention or use of "use-default-name" marker (annotation).</div> 283</td> 284</tr> 285<tr class="altColor"> 286<td class="colFirst"><code>boolean</code></td> 287<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isRequired()">isRequired</a></strong>()</code> 288<div class="block">Method used to check if this property is expected to have a value; 289 and if none found, should either be considered invalid (and most likely 290 fail deserialization), or handled by other means (by providing default 291 value)</div> 292</td> 293</tr> 294<tr class="rowColor"> 295<td class="colFirst"><code>boolean</code></td> 296<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isTypeId()">isTypeId</a></strong>()</code> 297<div class="block">Method used to check whether this logical property has a marker 298 to indicate it should be used as the type id for polymorphic type 299 handling.</div> 300</td> 301</tr> 302<tr class="altColor"> 303<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> 304<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#withName(com.fasterxml.jackson.databind.PropertyName)">withName</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> newName)</code> 305<div class="block">Method that can be used to create a definition with 306 same settings as this one, but with different 307 (external) name; that is, one for which 308 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getName()"><code>getName()</code></a> would return <code>newName</code>.</div> 309</td> 310</tr> 311<tr class="rowColor"> 312<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a></code></td> 313<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> 314<div class="block"><strong>Deprecated.</strong> </div> 315</td> 316</tr> 317<tr class="altColor"> 318<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> 319<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#withSimpleName(java.lang.String)">withSimpleName</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> newSimpleName)</code> 320<div class="block">Alternate "mutant factory" that will only change simple name, but 321 leave other optional parts (like namespace) as is.</div> 322</td> 323</tr> 324</table> 325<ul class="blockList"> 326<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 327<!-- --> 328</a> 329<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> 330<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> 331</ul> 332</li> 333</ul> 334</li> 335</ul> 336</div> 337<div class="details"> 338<ul class="blockList"> 339<li class="blockList"> 340<!-- ========= CONSTRUCTOR DETAIL ======== --> 341<ul class="blockList"> 342<li class="blockList"><a name="constructor_detail"> 343<!-- --> 344</a> 345<h3>Constructor Detail</h3> 346<a name="BeanPropertyDefinition()"> 347<!-- --> 348</a> 349<ul class="blockListLast"> 350<li class="blockList"> 351<h4>BeanPropertyDefinition</h4> 352<pre>public BeanPropertyDefinition()</pre> 353</li> 354</ul> 355</li> 356</ul> 357<!-- ============ METHOD DETAIL ========== --> 358<ul class="blockList"> 359<li class="blockList"><a name="method_detail"> 360<!-- --> 361</a> 362<h3>Method Detail</h3> 363<a name="withName(java.lang.String)"> 364<!-- --> 365</a> 366<ul class="blockList"> 367<li class="blockList"> 368<h4>withName</h4> 369<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> 370public <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> 371<div class="block"><span class="strong">Deprecated.</span> </div> 372</li> 373</ul> 374<a name="withName(com.fasterxml.jackson.databind.PropertyName)"> 375<!-- --> 376</a> 377<ul class="blockList"> 378<li class="blockList"> 379<h4>withName</h4> 380<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="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> newName)</pre> 381<div class="block">Method that can be used to create a definition with 382 same settings as this one, but with different 383 (external) name; that is, one for which 384 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#getName()"><code>getName()</code></a> would return <code>newName</code>.</div> 385<dl><dt><span class="strong">Since:</span></dt> 386 <dd>2.3</dd></dl> 387</li> 388</ul> 389<a name="withSimpleName(java.lang.String)"> 390<!-- --> 391</a> 392<ul class="blockList"> 393<li class="blockList"> 394<h4>withSimpleName</h4> 395<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> withSimpleName(<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> newSimpleName)</pre> 396<div class="block">Alternate "mutant factory" that will only change simple name, but 397 leave other optional parts (like namespace) as is.</div> 398<dl><dt><span class="strong">Since:</span></dt> 399 <dd>2.3</dd></dl> 400</li> 401</ul> 402<a name="getName()"> 403<!-- --> 404</a> 405<ul class="blockList"> 406<li class="blockList"> 407<h4>getName</h4> 408<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> 409<div class="block">Accessor for name used for external representation (in JSON).</div> 410<dl> 411<dt><strong>Specified by:</strong></dt> 412<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> 413</dl> 414</li> 415</ul> 416<a name="getFullName()"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>getFullName</h4> 422<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> getFullName()</pre> 423</li> 424</ul> 425<a name="getInternalName()"> 426<!-- --> 427</a> 428<ul class="blockList"> 429<li class="blockList"> 430<h4>getInternalName</h4> 431<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> 432<div class="block">Accessor that can be used to determine implicit name from underlying 433 element(s) before possible renaming. This is the "internal" 434 name derived from accessor ("x" from "getX"), and is not based on 435 annotations or naming strategy.</div> 436</li> 437</ul> 438<a name="getWrapperName()"> 439<!-- --> 440</a> 441<ul class="blockList"> 442<li class="blockList"> 443<h4>getWrapperName</h4> 444<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> getWrapperName()</pre> 445<div class="block">Accessor for finding wrapper name to use for property (if any).</div> 446<dl><dt><span class="strong">Since:</span></dt> 447 <dd>2.2</dd></dl> 448</li> 449</ul> 450<a name="getMetadata()"> 451<!-- --> 452</a> 453<ul class="blockList"> 454<li class="blockList"> 455<h4>getMetadata</h4> 456<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a> getMetadata()</pre> 457<div class="block">Method for accessing additional metadata. 458 NOTE: will never return null, so deferencing return value 459 is safe.</div> 460<dl><dt><span class="strong">Since:</span></dt> 461 <dd>2.3</dd></dl> 462</li> 463</ul> 464<a name="isExplicitlyIncluded()"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>isExplicitlyIncluded</h4> 470<pre>public abstract boolean isExplicitlyIncluded()</pre> 471<div class="block">Accessor that can be called to check whether property was included 472 due to an explicit marker (usually annotation), or just by naming 473 convention.</div> 474<dl><dt><span class="strong">Returns:</span></dt><dd>True if property was explicitly included (usually by having 475 one of components being annotated); false if inclusion was purely 476 due to naming or visibility definitions (that is, implicit)</dd></dl> 477</li> 478</ul> 479<a name="isExplicitlyNamed()"> 480<!-- --> 481</a> 482<ul class="blockList"> 483<li class="blockList"> 484<h4>isExplicitlyNamed</h4> 485<pre>public boolean isExplicitlyNamed()</pre> 486<div class="block">Accessor that can be called to check whether property name was 487 due to an explicit marker (usually annotation), or just by naming 488 convention or use of "use-default-name" marker (annotation). 489<p> 490 Note that entries that return true from this method will always 491 return true for <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html#isExplicitlyIncluded()"><code>isExplicitlyIncluded()</code></a>, but not necessarily 492 vice versa.</div> 493<dl><dt><span class="strong">Since:</span></dt> 494 <dd>2.4</dd></dl> 495</li> 496</ul> 497<a name="couldDeserialize()"> 498<!-- --> 499</a> 500<ul class="blockList"> 501<li class="blockList"> 502<h4>couldDeserialize</h4> 503<pre>public boolean couldDeserialize()</pre> 504</li> 505</ul> 506<a name="couldSerialize()"> 507<!-- --> 508</a> 509<ul class="blockList"> 510<li class="blockList"> 511<h4>couldSerialize</h4> 512<pre>public boolean couldSerialize()</pre> 513</li> 514</ul> 515<a name="hasGetter()"> 516<!-- --> 517</a> 518<ul class="blockList"> 519<li class="blockList"> 520<h4>hasGetter</h4> 521<pre>public abstract boolean hasGetter()</pre> 522</li> 523</ul> 524<a name="hasSetter()"> 525<!-- --> 526</a> 527<ul class="blockList"> 528<li class="blockList"> 529<h4>hasSetter</h4> 530<pre>public abstract boolean hasSetter()</pre> 531</li> 532</ul> 533<a name="hasField()"> 534<!-- --> 535</a> 536<ul class="blockList"> 537<li class="blockList"> 538<h4>hasField</h4> 539<pre>public abstract boolean hasField()</pre> 540</li> 541</ul> 542<a name="hasConstructorParameter()"> 543<!-- --> 544</a> 545<ul class="blockList"> 546<li class="blockList"> 547<h4>hasConstructorParameter</h4> 548<pre>public abstract boolean hasConstructorParameter()</pre> 549</li> 550</ul> 551<a name="getGetter()"> 552<!-- --> 553</a> 554<ul class="blockList"> 555<li class="blockList"> 556<h4>getGetter</h4> 557<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> getGetter()</pre> 558</li> 559</ul> 560<a name="getSetter()"> 561<!-- --> 562</a> 563<ul class="blockList"> 564<li class="blockList"> 565<h4>getSetter</h4> 566<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> getSetter()</pre> 567</li> 568</ul> 569<a name="getField()"> 570<!-- --> 571</a> 572<ul class="blockList"> 573<li class="blockList"> 574<h4>getField</h4> 575<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> getField()</pre> 576</li> 577</ul> 578<a name="getConstructorParameter()"> 579<!-- --> 580</a> 581<ul class="blockList"> 582<li class="blockList"> 583<h4>getConstructorParameter</h4> 584<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a> getConstructorParameter()</pre> 585</li> 586</ul> 587<a name="getAccessor()"> 588<!-- --> 589</a> 590<ul class="blockList"> 591<li class="blockList"> 592<h4>getAccessor</h4> 593<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getAccessor()</pre> 594<div class="block">Method used to find accessor (getter, field to access) to use for accessing 595 value of the property. 596 Null if no such member exists.</div> 597</li> 598</ul> 599<a name="getMutator()"> 600<!-- --> 601</a> 602<ul class="blockList"> 603<li class="blockList"> 604<h4>getMutator</h4> 605<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getMutator()</pre> 606<div class="block">Method used to find mutator (constructor parameter, setter, field) to use for 607 changing value of the property. 608 Null if no such member exists.</div> 609</li> 610</ul> 611<a name="getNonConstructorMutator()"> 612<!-- --> 613</a> 614<ul class="blockList"> 615<li class="blockList"> 616<h4>getNonConstructorMutator</h4> 617<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getNonConstructorMutator()</pre> 618<dl><dt><span class="strong">Since:</span></dt> 619 <dd>2.3</dd></dl> 620</li> 621</ul> 622<a name="getPrimaryMember()"> 623<!-- --> 624</a> 625<ul class="blockList"> 626<li class="blockList"> 627<h4>getPrimaryMember</h4> 628<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getPrimaryMember()</pre> 629<div class="block">Method used to find the property member (getter, setter, field) that has 630 the highest precedence in current context (getter method when serializing, 631 if available, and so forth), if any.</div> 632<dl><dt><span class="strong">Since:</span></dt> 633 <dd>2.1</dd></dl> 634</li> 635</ul> 636<a name="findViews()"> 637<!-- --> 638</a> 639<ul class="blockList"> 640<li class="blockList"> 641<h4>findViews</h4> 642<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> 643<div class="block">Method used to find View-inclusion definitions for the property.</div> 644</li> 645</ul> 646<a name="findReferenceType()"> 647<!-- --> 648</a> 649<ul class="blockList"> 650<li class="blockList"> 651<h4>findReferenceType</h4> 652<pre>public <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.ReferenceProperty.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector.ReferenceProperty</a> findReferenceType()</pre> 653<div class="block">Method used to find whether property is part of a bi-directional 654 reference.</div> 655</li> 656</ul> 657<a name="isTypeId()"> 658<!-- --> 659</a> 660<ul class="blockList"> 661<li class="blockList"> 662<h4>isTypeId</h4> 663<pre>public boolean isTypeId()</pre> 664<div class="block">Method used to check whether this logical property has a marker 665 to indicate it should be used as the type id for polymorphic type 666 handling.</div> 667</li> 668</ul> 669<a name="findObjectIdInfo()"> 670<!-- --> 671</a> 672<ul class="blockList"> 673<li class="blockList"> 674<h4>findObjectIdInfo</h4> 675<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/ObjectIdInfo.html" title="class in com.fasterxml.jackson.databind.introspect">ObjectIdInfo</a> findObjectIdInfo()</pre> 676<div class="block">Method used to check whether this logical property indicates that 677 value POJOs should be written using additional Object Identifier 678 (or, when multiple references exist, all but first AS Object Identifier).</div> 679</li> 680</ul> 681<a name="isRequired()"> 682<!-- --> 683</a> 684<ul class="blockListLast"> 685<li class="blockList"> 686<h4>isRequired</h4> 687<pre>public final boolean isRequired()</pre> 688<div class="block">Method used to check if this property is expected to have a value; 689 and if none found, should either be considered invalid (and most likely 690 fail deserialization), or handled by other means (by providing default 691 value)</div> 692</li> 693</ul> 694</li> 695</ul> 696</li> 697</ul> 698</div> 699</div> 700<!-- ========= END OF CLASS DATA ========= --> 701<!-- ======= START OF BOTTOM NAVBAR ====== --> 702<div class="bottomNav"><a name="navbar_bottom"> 703<!-- --> 704</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 705<!-- --> 706</a> 707<ul class="navList" title="Navigation"> 708<li><a href="../../../../../overview-summary.html">Overview</a></li> 709<li><a href="package-summary.html">Package</a></li> 710<li class="navBarCell1Rev">Class</li> 711<li><a href="class-use/BeanPropertyDefinition.html">Use</a></li> 712<li><a href="package-tree.html">Tree</a></li> 713<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 714<li><a href="../../../../../index-all.html">Index</a></li> 715<li><a href="../../../../../help-doc.html">Help</a></li> 716</ul> 717</div> 718<div class="subNav"> 719<ul class="navList"> 720<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> 721<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> 722</ul> 723<ul class="navList"> 724<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" target="_top">Frames</a></li> 725<li><a href="BeanPropertyDefinition.html" target="_top">No Frames</a></li> 726</ul> 727<ul class="navList" id="allclasses_navbar_bottom"> 728<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 729</ul> 730<div> 731<script type="text/javascript"><!-- 732 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 733 if(window==top) { 734 allClassesLink.style.display = "block"; 735 } 736 else { 737 allClassesLink.style.display = "none"; 738 } 739 //--> 740</script> 741</div> 742<div> 743<ul class="subNavList"> 744<li>Summary: </li> 745<li>Nested | </li> 746<li>Field | </li> 747<li><a href="#constructor_summary">Constr</a> | </li> 748<li><a href="#method_summary">Method</a></li> 749</ul> 750<ul class="subNavList"> 751<li>Detail: </li> 752<li>Field | </li> 753<li><a href="#constructor_detail">Constr</a> | </li> 754<li><a href="#method_detail">Method</a></li> 755</ul> 756</div> 757<a name="skip-navbar_bottom"> 758<!-- --> 759</a></div> 760<!-- ======== END OF BOTTOM NAVBAR ======= --> 761<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 762</body> 763</html> 764