• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_79) on Fri Jan 15 20:28:39 PST 2016 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>BeanProperty (jackson-databind 2.7.0 API)</title>
8<meta name="date" content="2016-01-15">
9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="BeanProperty (jackson-databind 2.7.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/BeanProperty.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/BeanDescription.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/BeanProperty.html" target="_top">Frames</a></li>
45<li><a href="BeanProperty.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:&nbsp;</li>
65<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
66<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
67<li>Constr&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
73<li>Constr&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind</div>
84<h2 title="Interface BeanProperty" class="title">Interface BeanProperty</h2>
85</div>
86<div class="contentContainer">
87<div class="description">
88<ul class="blockList">
89<li class="blockList">
90<dl>
91<dt>All Superinterfaces:</dt>
92<dd><a href="../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a></dd>
93</dl>
94<dl>
95<dt>All Known Implementing Classes:</dt>
96<dd><a href="../../../../com/fasterxml/jackson/databind/ser/impl/AttributePropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">AttributePropertyWriter</a>, <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind">BeanProperty.Std</a>, <a href="../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>, <a href="../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html" title="class in com.fasterxml.jackson.databind.introspect">ConcreteBeanPropertyBase</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/CreatorProperty.html" title="class in com.fasterxml.jackson.databind.deser">CreatorProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/FieldProperty.html" title="class in com.fasterxml.jackson.databind.deser.impl">FieldProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/InnerClassProperty.html" title="class in com.fasterxml.jackson.databind.deser.impl">InnerClassProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/ManagedReferenceProperty.html" title="class in com.fasterxml.jackson.databind.deser.impl">ManagedReferenceProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/ser/std/MapProperty.html" title="class in com.fasterxml.jackson.databind.ser.std">MapProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/MethodProperty.html" title="class in com.fasterxml.jackson.databind.deser.impl">MethodProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/ObjectIdReferenceProperty.html" title="class in com.fasterxml.jackson.databind.deser.impl">ObjectIdReferenceProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/ObjectIdValueProperty.html" title="class in com.fasterxml.jackson.databind.deser.impl">ObjectIdValueProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">PropertyWriter</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/SettableBeanProperty.html" title="class in com.fasterxml.jackson.databind.deser">SettableBeanProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/SetterlessProperty.html" title="class in com.fasterxml.jackson.databind.deser.impl">SetterlessProperty</a>, <a href="../../../../com/fasterxml/jackson/databind/ser/impl/UnwrappingBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">UnwrappingBeanPropertyWriter</a>, <a href="../../../../com/fasterxml/jackson/databind/deser/impl/ValueInjector.html" title="class in com.fasterxml.jackson.databind.deser.impl">ValueInjector</a>, <a href="../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a></dd>
97</dl>
98<hr>
99<br>
100<pre>public interface <span class="strong">BeanProperty</span>
101extends <a href="../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a></pre>
102<div class="block">Bean properties are logical entities that represent data
103 that Java objects (POJOs (Plain Old Java Objects), sometimes also called "beans")
104 contain; and that are accessed using accessors (methods like getters
105 and setters, fields, constructor parametrers).
106 Instances allow access to annotations directly associated
107 to property (via field or method), as well as contextual
108 annotations (annotations for class that contains properties).
109<p>
110 Instances are not typically passed when constructing serializers
111 and deserializers, but rather only passed when context
112 is known when
113 <a href="../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a> and
114 <a href="../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a>
115 resolution occurs (<code>createContextual(...)</code> method is called).
116 References may (need to) be retained by serializers and deserializers,
117 especially when further resolving dependant handlers like value
118 serializers/deserializers or structured types.</div>
119</li>
120</ul>
121</div>
122<div class="summary">
123<ul class="blockList">
124<li class="blockList">
125<!-- ======== NESTED CLASS SUMMARY ======== -->
126<ul class="blockList">
127<li class="blockList"><a name="nested_class_summary">
128<!--   -->
129</a>
130<h3>Nested Class Summary</h3>
131<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
132<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
133<tr>
134<th class="colFirst" scope="col">Modifier and Type</th>
135<th class="colLast" scope="col">Interface and Description</th>
136</tr>
137<tr class="altColor">
138<td class="colFirst"><code>static class&nbsp;</code></td>
139<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind">BeanProperty.Std</a></strong></code>
140<div class="block">Simple stand-alone implementation, useful as a placeholder
141 or base class for more complex implementations.</div>
142</td>
143</tr>
144</table>
145</li>
146</ul>
147<!-- =========== FIELD SUMMARY =========== -->
148<ul class="blockList">
149<li class="blockList"><a name="field_summary">
150<!--   -->
151</a>
152<h3>Field Summary</h3>
153<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
154<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
155<tr>
156<th class="colFirst" scope="col">Modifier and Type</th>
157<th class="colLast" scope="col">Field and Description</th>
158</tr>
159<tr class="altColor">
160<td class="colFirst"><code>static <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td>
161<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#EMPTY_FORMAT">EMPTY_FORMAT</a></strong></code>&nbsp;</td>
162</tr>
163<tr class="rowColor">
164<td class="colFirst"><code>static <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
165<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#EMPTY_INCLUDE">EMPTY_INCLUDE</a></strong></code>&nbsp;</td>
166</tr>
167</table>
168</li>
169</ul>
170<!-- ========== METHOD SUMMARY =========== -->
171<ul class="blockList">
172<li class="blockList"><a name="method_summary">
173<!--   -->
174</a>
175<h3>Method Summary</h3>
176<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
177<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
178<tr>
179<th class="colFirst" scope="col">Modifier and Type</th>
180<th class="colLast" scope="col">Method and Description</th>
181</tr>
182<tr class="altColor">
183<td class="colFirst"><code>void</code></td>
184<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#depositSchemaProperty(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor,%20com.fasterxml.jackson.databind.SerializerProvider)">depositSchemaProperty</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonObjectFormatVisitor.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonObjectFormatVisitor</a>&nbsp;objectVisitor,
185                     <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
186<div class="block">Method that can be called to visit the type structure that this
187 property is part of.</div>
188</td>
189</tr>
190<tr class="rowColor">
191<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td>
192<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#findFormatOverrides(com.fasterxml.jackson.databind.AnnotationIntrospector)">findFormatOverrides</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a>&nbsp;intr)</code>
193<div class="block">Convenience method that is roughly equivalent to</div>
194</td>
195</tr>
196<tr class="altColor">
197<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td>
198<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#findPropertyFormat(com.fasterxml.jackson.databind.cfg.MapperConfig,%20java.lang.Class)">findPropertyFormat</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
199                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;baseType)</code>
200<div class="block">Helper method used to look up format settings applicable to this property,
201 considering both possible per-type configuration settings</div>
202</td>
203</tr>
204<tr class="rowColor">
205<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
206<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#findPropertyInclusion(com.fasterxml.jackson.databind.cfg.MapperConfig,%20java.lang.Class)">findPropertyInclusion</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
207                     <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;baseType)</code>
208<div class="block">Convenience method that is roughly equivalent to</div>
209</td>
210</tr>
211<tr class="altColor">
212<td class="colFirst"><code>&lt;A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;&nbsp;<br>A</code></td>
213<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#getAnnotation(java.lang.Class)">getAnnotation</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;A&gt;&nbsp;acls)</code>
214<div class="block">Method for finding annotation associated with this property;
215 meaning annotation associated with one of entities used to
216 access property.</div>
217</td>
218</tr>
219<tr class="rowColor">
220<td class="colFirst"><code>&lt;A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;&nbsp;<br>A</code></td>
221<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#getContextAnnotation(java.lang.Class)">getContextAnnotation</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;A&gt;&nbsp;acls)</code>
222<div class="block">Method for finding annotation associated with context of
223 this property; usually class in which member is declared
224 (or its subtype if processing subtype).</div>
225</td>
226</tr>
227<tr class="altColor">
228<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></code></td>
229<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#getFullName()">getFullName</a></strong>()</code>
230<div class="block">Method for getting full name definition, including possible
231 format-specific additional properties (such as namespace when
232 using XML backend).</div>
233</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/BeanProperty.html#getMember()">getMember</a></strong>()</code>
238<div class="block">Method for accessing primary physical entity that represents the property;
239 annotated field, method or constructor property.</div>
240</td>
241</tr>
242<tr class="altColor">
243<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></code></td>
244<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#getMetadata()">getMetadata</a></strong>()</code>
245<div class="block">Accessor for additional optional information about property.</div>
246</td>
247</tr>
248<tr class="rowColor">
249<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
250<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#getName()">getName</a></strong>()</code>
251<div class="block">Method to get logical name of the property</div>
252</td>
253</tr>
254<tr class="altColor">
255<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
256<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#getType()">getType</a></strong>()</code>
257<div class="block">Method to get declared type of the property.</div>
258</td>
259</tr>
260<tr class="rowColor">
261<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></code></td>
262<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#getWrapperName()">getWrapperName</a></strong>()</code>
263<div class="block">If property is indicated to be wrapped, name of
264 wrapper element to use.</div>
265</td>
266</tr>
267<tr class="altColor">
268<td class="colFirst"><code>boolean</code></td>
269<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#isRequired()">isRequired</a></strong>()</code>
270<div class="block">Whether value for property is marked as required using
271 annotations or associated schema.</div>
272</td>
273</tr>
274<tr class="rowColor">
275<td class="colFirst"><code>boolean</code></td>
276<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#isVirtual()">isVirtual</a></strong>()</code>
277<div class="block">Accessor for checking whether there is an actual physical property
278 behind this property abstraction or not.</div>
279</td>
280</tr>
281</table>
282</li>
283</ul>
284</li>
285</ul>
286</div>
287<div class="details">
288<ul class="blockList">
289<li class="blockList">
290<!-- ============ FIELD DETAIL =========== -->
291<ul class="blockList">
292<li class="blockList"><a name="field_detail">
293<!--   -->
294</a>
295<h3>Field Detail</h3>
296<a name="EMPTY_FORMAT">
297<!--   -->
298</a>
299<ul class="blockList">
300<li class="blockList">
301<h4>EMPTY_FORMAT</h4>
302<pre>static final&nbsp;<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a> EMPTY_FORMAT</pre>
303</li>
304</ul>
305<a name="EMPTY_INCLUDE">
306<!--   -->
307</a>
308<ul class="blockListLast">
309<li class="blockList">
310<h4>EMPTY_INCLUDE</h4>
311<pre>static final&nbsp;<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> EMPTY_INCLUDE</pre>
312</li>
313</ul>
314</li>
315</ul>
316<!-- ============ METHOD DETAIL ========== -->
317<ul class="blockList">
318<li class="blockList"><a name="method_detail">
319<!--   -->
320</a>
321<h3>Method Detail</h3>
322<a name="getName()">
323<!--   -->
324</a>
325<ul class="blockList">
326<li class="blockList">
327<h4>getName</h4>
328<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getName()</pre>
329<div class="block">Method to get logical name of the property</div>
330<dl>
331<dt><strong>Specified by:</strong></dt>
332<dd><code><a href="../../../../com/fasterxml/jackson/databind/util/Named.html#getName()">getName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a></code></dd>
333</dl>
334</li>
335</ul>
336<a name="getFullName()">
337<!--   -->
338</a>
339<ul class="blockList">
340<li class="blockList">
341<h4>getFullName</h4>
342<pre><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&nbsp;getFullName()</pre>
343<div class="block">Method for getting full name definition, including possible
344 format-specific additional properties (such as namespace when
345 using XML backend).</div>
346<dl><dt><span class="strong">Since:</span></dt>
347  <dd>2.3</dd></dl>
348</li>
349</ul>
350<a name="getType()">
351<!--   -->
352</a>
353<ul class="blockList">
354<li class="blockList">
355<h4>getType</h4>
356<pre><a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;getType()</pre>
357<div class="block">Method to get declared type of the property.</div>
358</li>
359</ul>
360<a name="getWrapperName()">
361<!--   -->
362</a>
363<ul class="blockList">
364<li class="blockList">
365<h4>getWrapperName</h4>
366<pre><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&nbsp;getWrapperName()</pre>
367<div class="block">If property is indicated to be wrapped, name of
368 wrapper element to use.</div>
369<dl><dt><span class="strong">Since:</span></dt>
370  <dd>2.2</dd></dl>
371</li>
372</ul>
373<a name="getMetadata()">
374<!--   -->
375</a>
376<ul class="blockList">
377<li class="blockList">
378<h4>getMetadata</h4>
379<pre><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a>&nbsp;getMetadata()</pre>
380<div class="block">Accessor for additional optional information about property.</div>
381<dl><dt><span class="strong">Returns:</span></dt><dd>Metadata about property; never null.</dd><dt><span class="strong">Since:</span></dt>
382  <dd>2.3</dd></dl>
383</li>
384</ul>
385<a name="isRequired()">
386<!--   -->
387</a>
388<ul class="blockList">
389<li class="blockList">
390<h4>isRequired</h4>
391<pre>boolean&nbsp;isRequired()</pre>
392<div class="block">Whether value for property is marked as required using
393 annotations or associated schema.
394 Equivalent to:
395<code>
396  getMetadata().isRequired()
397</code></div>
398<dl><dt><span class="strong">Since:</span></dt>
399  <dd>2.2</dd></dl>
400</li>
401</ul>
402<a name="isVirtual()">
403<!--   -->
404</a>
405<ul class="blockList">
406<li class="blockList">
407<h4>isVirtual</h4>
408<pre>boolean&nbsp;isVirtual()</pre>
409<div class="block">Accessor for checking whether there is an actual physical property
410 behind this property abstraction or not.</div>
411<dl><dt><span class="strong">Since:</span></dt>
412  <dd>2.7</dd></dl>
413</li>
414</ul>
415<a name="getAnnotation(java.lang.Class)">
416<!--   -->
417</a>
418<ul class="blockList">
419<li class="blockList">
420<h4>getAnnotation</h4>
421<pre>&lt;A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;&nbsp;A&nbsp;getAnnotation(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;A&gt;&nbsp;acls)</pre>
422<div class="block">Method for finding annotation associated with this property;
423 meaning annotation associated with one of entities used to
424 access property.
425<p>
426 Note that this method should only be called for custom annotations;
427 access to standard Jackson annotations (or ones supported by
428 alternate <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a>s) should be accessed
429 through <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a>.</div>
430</li>
431</ul>
432<a name="getContextAnnotation(java.lang.Class)">
433<!--   -->
434</a>
435<ul class="blockList">
436<li class="blockList">
437<h4>getContextAnnotation</h4>
438<pre>&lt;A extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>&gt;&nbsp;A&nbsp;getContextAnnotation(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;A&gt;&nbsp;acls)</pre>
439<div class="block">Method for finding annotation associated with context of
440 this property; usually class in which member is declared
441 (or its subtype if processing subtype).
442<p>
443 Note that this method should only be called for custom annotations;
444 access to standard Jackson annotations (or ones supported by
445 alternate <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a>s) should be accessed
446 through <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a>.</div>
447</li>
448</ul>
449<a name="getMember()">
450<!--   -->
451</a>
452<ul class="blockList">
453<li class="blockList">
454<h4>getMember</h4>
455<pre><a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a>&nbsp;getMember()</pre>
456<div class="block">Method for accessing primary physical entity that represents the property;
457 annotated field, method or constructor property.</div>
458</li>
459</ul>
460<a name="findFormatOverrides(com.fasterxml.jackson.databind.AnnotationIntrospector)">
461<!--   -->
462</a>
463<ul class="blockList">
464<li class="blockList">
465<h4>findFormatOverrides</h4>
466<pre><a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a>&nbsp;findFormatOverrides(<a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a>&nbsp;intr)</pre>
467<div class="block">Convenience method that is roughly equivalent to
468<pre>
469   return intr.findFormat(getMember());
470</pre>
471 and specifically does NOT try to find per-type format defaults to merge;
472 use <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html#findPropertyFormat(com.fasterxml.jackson.databind.cfg.MapperConfig,%20java.lang.Class)"><code>findPropertyFormat(com.fasterxml.jackson.databind.cfg.MapperConfig&lt;?&gt;, java.lang.Class&lt;?&gt;)</code></a> if such defaults would be useful.</div>
473<dl><dt><span class="strong">Since:</span></dt>
474  <dd>2.6</dd></dl>
475</li>
476</ul>
477<a name="findPropertyFormat(com.fasterxml.jackson.databind.cfg.MapperConfig, java.lang.Class)">
478<!--   -->
479</a>
480<ul class="blockList">
481<li class="blockList">
482<h4>findPropertyFormat</h4>
483<pre><a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a>&nbsp;findPropertyFormat(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
484                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;baseType)</pre>
485<div class="block">Helper method used to look up format settings applicable to this property,
486 considering both possible per-type configuration settings</div>
487<dl><dt><span class="strong">Since:</span></dt>
488  <dd>2.7</dd></dl>
489</li>
490</ul>
491<a name="findPropertyInclusion(com.fasterxml.jackson.databind.cfg.MapperConfig, java.lang.Class)">
492<!--   -->
493</a>
494<ul class="blockList">
495<li class="blockList">
496<h4>findPropertyInclusion</h4>
497<pre><a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a>&nbsp;findPropertyInclusion(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
498                                      <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;baseType)</pre>
499<div class="block">Convenience method that is roughly equivalent to
500<pre>
501   return config.getAnnotationIntrospector().findPropertyInclusion(getMember());
502</pre>
503 but also considers global default settings for inclusion</div>
504<dl><dt><span class="strong">Since:</span></dt>
505  <dd>2.7</dd></dl>
506</li>
507</ul>
508<a name="depositSchemaProperty(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor, com.fasterxml.jackson.databind.SerializerProvider)">
509<!--   -->
510</a>
511<ul class="blockListLast">
512<li class="blockList">
513<h4>depositSchemaProperty</h4>
514<pre>void&nbsp;depositSchemaProperty(<a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonObjectFormatVisitor.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonObjectFormatVisitor</a>&nbsp;objectVisitor,
515                         <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
516                           throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
517<div class="block">Method that can be called to visit the type structure that this
518 property is part of.
519 Note that not all implementations support traversal with this
520 method; those that do not should throw
521 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a>.
522<p>
523 NOTE: Starting with 2.7, takes explicit <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a>
524 argument to reduce the need to rely on provider visitor may or may not
525 have assigned.</div>
526<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectVisitor</code> - Visitor to used as the callback handler</dd>
527<dt><span class="strong">Throws:</span></dt>
528<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt>
529  <dd>2.2 (although signature did change in 2.7)</dd></dl>
530</li>
531</ul>
532</li>
533</ul>
534</li>
535</ul>
536</div>
537</div>
538<!-- ========= END OF CLASS DATA ========= -->
539<!-- ======= START OF BOTTOM NAVBAR ====== -->
540<div class="bottomNav"><a name="navbar_bottom">
541<!--   -->
542</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
543<!--   -->
544</a>
545<ul class="navList" title="Navigation">
546<li><a href="../../../../overview-summary.html">Overview</a></li>
547<li><a href="package-summary.html">Package</a></li>
548<li class="navBarCell1Rev">Class</li>
549<li><a href="class-use/BeanProperty.html">Use</a></li>
550<li><a href="package-tree.html">Tree</a></li>
551<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
552<li><a href="../../../../index-all.html">Index</a></li>
553<li><a href="../../../../help-doc.html">Help</a></li>
554</ul>
555</div>
556<div class="subNav">
557<ul class="navList">
558<li><a href="../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li>
559<li><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li>
560</ul>
561<ul class="navList">
562<li><a href="../../../../index.html?com/fasterxml/jackson/databind/BeanProperty.html" target="_top">Frames</a></li>
563<li><a href="BeanProperty.html" target="_top">No Frames</a></li>
564</ul>
565<ul class="navList" id="allclasses_navbar_bottom">
566<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
567</ul>
568<div>
569<script type="text/javascript"><!--
570  allClassesLink = document.getElementById("allclasses_navbar_bottom");
571  if(window==top) {
572    allClassesLink.style.display = "block";
573  }
574  else {
575    allClassesLink.style.display = "none";
576  }
577  //-->
578</script>
579</div>
580<div>
581<ul class="subNavList">
582<li>Summary:&nbsp;</li>
583<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
584<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
585<li>Constr&nbsp;|&nbsp;</li>
586<li><a href="#method_summary">Method</a></li>
587</ul>
588<ul class="subNavList">
589<li>Detail:&nbsp;</li>
590<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
591<li>Constr&nbsp;|&nbsp;</li>
592<li><a href="#method_detail">Method</a></li>
593</ul>
594</div>
595<a name="skip-navbar_bottom">
596<!--   -->
597</a></div>
598<!-- ======== END OF BOTTOM NAVBAR ======= -->
599<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
600</body>
601</html>
602