1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_35) on Fri Oct 05 20:53:30 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8PropertyAccessor (Jackson-annotations 2.1.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-10-05"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="PropertyAccessor (Jackson-annotations 2.1.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/fasterxml/jackson/annotation/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyAccessor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 48 </TR> 49</TABLE> 50</TD> 51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><script type="text/javascript"><!-- 52google_ad_client = "pub-1467773697956887"; 53/* Jackson-ad-small */ 54google_ad_slot = "6699487946"; 55google_ad_width = 234; 56google_ad_height = 60; 57//--> 58</script> 59<script type="text/javascript" 60src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 61</script> 62</TD> 63</TR> 64 65<TR> 66<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 67 <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation"><B>PREV CLASS</B></A> 68 NEXT CLASS</FONT></TD> 69<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 70 <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/PropertyAccessor.html" target="_top"><B>FRAMES</B></A> 71 <A HREF="PropertyAccessor.html" target="_top"><B>NO FRAMES</B></A> 72 <SCRIPT type="text/javascript"> 73 <!-- 74 if(window==top) { 75 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 76 } 77 //--> 78</SCRIPT> 79<NOSCRIPT> 80 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 81</NOSCRIPT> 82 83 84</FONT></TD> 85</TR> 86<TR> 87<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 88 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> 89<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 90DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> 91</TR> 92</TABLE> 93<A NAME="skip-navbar_top"></A> 94<!-- ========= END OF TOP NAVBAR ========= --> 95 96<HR> 97<!-- ======== START OF CLASS DATA ======== --> 98<H2> 99<FONT SIZE="-1"> 100com.fasterxml.jackson.annotation</FONT> 101<BR> 102Enum PropertyAccessor</H2> 103<PRE> 104<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> 105 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A><<A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A>> 106 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.annotation.PropertyAccessor</B> 107</PRE> 108<DL> 109<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A><<A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A>></DD> 110</DL> 111<HR> 112<DL> 113<DT><PRE>public enum <B>PropertyAccessor</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><<A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A>></DL> 114</PRE> 115 116<P> 117Enumeration used to define kinds of elements (called "property accessors") 118 that annotations like <A HREF="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.html" title="annotation in com.fasterxml.jackson.annotation"><CODE>JsonAutoDetect</CODE></A> apply to. 119<p> 120 In addition to method types (GETTER/IS_GETTER, SETTER, CREATOR) and the 121 field type (FIELD), 2 pseudo-types 122 are defined for convenience: <code>ALWAYS</code> and <code>NONE</code>. These 123 can be used to indicate, all or none of available method types (respectively), 124 for use by annotations that takes <code>JsonMethod</code> argument. 125<P> 126 127<P> 128<HR> 129 130<P> 131<!-- =========== ENUM CONSTANT SUMMARY =========== --> 132 133<A NAME="enum_constant_summary"><!-- --></A> 134<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 135<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 136<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 137<B>Enum Constant Summary</B></FONT></TH> 138</TR> 139<TR BGCOLOR="white" CLASS="TableRowColor"> 140<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#ALL">ALL</A></B></CODE> 141 142<BR> 143 This pseudo-type indicates that all accessors are affected.</TD> 144</TR> 145<TR BGCOLOR="white" CLASS="TableRowColor"> 146<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#CREATOR">CREATOR</A></B></CODE> 147 148<BR> 149 Creators are constructors and (static) factory methods used to 150 construct POJO instances for deserialization</TD> 151</TR> 152<TR BGCOLOR="white" CLASS="TableRowColor"> 153<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#FIELD">FIELD</A></B></CODE> 154 155<BR> 156 Field refers to fields of regular Java objects.</TD> 157</TR> 158<TR BGCOLOR="white" CLASS="TableRowColor"> 159<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#GETTER">GETTER</A></B></CODE> 160 161<BR> 162 Getters are methods used to get a POJO field value for serialization, 163 or, under certain conditions also for de-serialization.</TD> 164</TR> 165<TR BGCOLOR="white" CLASS="TableRowColor"> 166<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#IS_GETTER">IS_GETTER</A></B></CODE> 167 168<BR> 169 "Is getters" are getter-like methods that are named "isXxx" 170 (instead of "getXxx" for getters) and return boolean value 171 (either primitive, or <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><CODE>Boolean</CODE></A>).</TD> 172</TR> 173<TR BGCOLOR="white" CLASS="TableRowColor"> 174<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#NONE">NONE</A></B></CODE> 175 176<BR> 177 This pseudo-type indicates that none of accessors if affected.</TD> 178</TR> 179<TR BGCOLOR="white" CLASS="TableRowColor"> 180<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#SETTER">SETTER</A></B></CODE> 181 182<BR> 183 Setters are methods used to set a POJO value for deserialization.</TD> 184</TR> 185</TABLE> 186 187<!-- ========== METHOD SUMMARY =========== --> 188 189<A NAME="method_summary"><!-- --></A> 190<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 191<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 192<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 193<B>Method Summary</B></FONT></TH> 194</TR> 195<TR BGCOLOR="white" CLASS="TableRowColor"> 196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 197<CODE> boolean</CODE></FONT></TD> 198<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#creatorEnabled()">creatorEnabled</A></B>()</CODE> 199 200<BR> 201 </TD> 202</TR> 203<TR BGCOLOR="white" CLASS="TableRowColor"> 204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 205<CODE> boolean</CODE></FONT></TD> 206<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#fieldEnabled()">fieldEnabled</A></B>()</CODE> 207 208<BR> 209 </TD> 210</TR> 211<TR BGCOLOR="white" CLASS="TableRowColor"> 212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 213<CODE> boolean</CODE></FONT></TD> 214<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#getterEnabled()">getterEnabled</A></B>()</CODE> 215 216<BR> 217 </TD> 218</TR> 219<TR BGCOLOR="white" CLASS="TableRowColor"> 220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 221<CODE> boolean</CODE></FONT></TD> 222<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#isGetterEnabled()">isGetterEnabled</A></B>()</CODE> 223 224<BR> 225 </TD> 226</TR> 227<TR BGCOLOR="white" CLASS="TableRowColor"> 228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 229<CODE> boolean</CODE></FONT></TD> 230<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#setterEnabled()">setterEnabled</A></B>()</CODE> 231 232<BR> 233 </TD> 234</TR> 235<TR BGCOLOR="white" CLASS="TableRowColor"> 236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 237<CODE>static <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A></CODE></FONT></TD> 238<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> 239 240<BR> 241 Returns the enum constant of this type with the specified name.</TD> 242</TR> 243<TR BGCOLOR="white" CLASS="TableRowColor"> 244<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 245<CODE>static <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A>[]</CODE></FONT></TD> 246<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#values()">values</A></B>()</CODE> 247 248<BR> 249 Returns an array containing the constants of this enum type, in 250the order they are declared.</TD> 251</TR> 252</TABLE> 253 <A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A> 254<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 255<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 256<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH> 257</TR> 258<TR BGCOLOR="white" CLASS="TableRowColor"> 259<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD> 260</TR> 261</TABLE> 262 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 263<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 264<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 265<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> 266</TR> 267<TR BGCOLOR="white" CLASS="TableRowColor"> 268<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> 269</TR> 270</TABLE> 271 272<P> 273 274<!-- ============ ENUM CONSTANT DETAIL =========== --> 275 276<A NAME="enum_constant_detail"><!-- --></A> 277<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 278<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 279<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 280<B>Enum Constant Detail</B></FONT></TH> 281</TR> 282</TABLE> 283 284<A NAME="GETTER"><!-- --></A><H3> 285GETTER</H3> 286<PRE> 287public static final <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>GETTER</B></PRE> 288<DL> 289<DD>Getters are methods used to get a POJO field value for serialization, 290 or, under certain conditions also for de-serialization. Latter 291 can be used for effectively setting Collection or Map values 292 in absence of setters, iff returned value is not a copy but 293 actual value of the logical property. 294<p> 295 Since version 1.3, this does <b>NOT</b> include "is getters" (methods 296 that return boolean and named 'isXxx' for property 'xxx'); instead, 297 <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html#IS_GETTER"><CODE>IS_GETTER</CODE></A> is used}. 298<P> 299<DL> 300</DL> 301</DL> 302<HR> 303 304<A NAME="SETTER"><!-- --></A><H3> 305SETTER</H3> 306<PRE> 307public static final <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>SETTER</B></PRE> 308<DL> 309<DD>Setters are methods used to set a POJO value for deserialization. 310<P> 311<DL> 312</DL> 313</DL> 314<HR> 315 316<A NAME="CREATOR"><!-- --></A><H3> 317CREATOR</H3> 318<PRE> 319public static final <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>CREATOR</B></PRE> 320<DL> 321<DD>Creators are constructors and (static) factory methods used to 322 construct POJO instances for deserialization 323<P> 324<DL> 325</DL> 326</DL> 327<HR> 328 329<A NAME="FIELD"><!-- --></A><H3> 330FIELD</H3> 331<PRE> 332public static final <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>FIELD</B></PRE> 333<DL> 334<DD>Field refers to fields of regular Java objects. Although 335 they are not really methods, addition of optional field-discovery 336 in version 1.1 meant that there was need to enable/disable 337 their auto-detection, and this is the place to add it in. 338<P> 339<DL> 340</DL> 341</DL> 342<HR> 343 344<A NAME="IS_GETTER"><!-- --></A><H3> 345IS_GETTER</H3> 346<PRE> 347public static final <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>IS_GETTER</B></PRE> 348<DL> 349<DD>"Is getters" are getter-like methods that are named "isXxx" 350 (instead of "getXxx" for getters) and return boolean value 351 (either primitive, or <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><CODE>Boolean</CODE></A>). 352<P> 353<DL> 354</DL> 355</DL> 356<HR> 357 358<A NAME="NONE"><!-- --></A><H3> 359NONE</H3> 360<PRE> 361public static final <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>NONE</B></PRE> 362<DL> 363<DD>This pseudo-type indicates that none of accessors if affected. 364<P> 365<DL> 366</DL> 367</DL> 368<HR> 369 370<A NAME="ALL"><!-- --></A><H3> 371ALL</H3> 372<PRE> 373public static final <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>ALL</B></PRE> 374<DL> 375<DD>This pseudo-type indicates that all accessors are affected. 376<P> 377<DL> 378</DL> 379</DL> 380 381<!-- ============ METHOD DETAIL ========== --> 382 383<A NAME="method_detail"><!-- --></A> 384<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 385<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 386<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 387<B>Method Detail</B></FONT></TH> 388</TR> 389</TABLE> 390 391<A NAME="values()"><!-- --></A><H3> 392values</H3> 393<PRE> 394public static <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A>[] <B>values</B>()</PRE> 395<DL> 396<DD>Returns an array containing the constants of this enum type, in 397the order they are declared. This method may be used to iterate 398over the constants as follows: 399<pre> 400for (PropertyAccessor c : PropertyAccessor.values()) 401 System.out.println(c); 402</pre> 403<P> 404<DD><DL> 405 406<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in 407the order they are declared</DL> 408</DD> 409</DL> 410<HR> 411 412<A NAME="valueOf(java.lang.String)"><!-- --></A><H3> 413valueOf</H3> 414<PRE> 415public static <A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A> <B>valueOf</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> 416<DL> 417<DD>Returns the enum constant of this type with the specified name. 418The string must match <I>exactly</I> an identifier used to declare an 419enum constant in this type. (Extraneous whitespace characters are 420not permitted.) 421<P> 422<DD><DL> 423<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned. 424<DT><B>Returns:</B><DD>the enum constant with the specified name 425<DT><B>Throws:</B> 426<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant 427with the specified name 428<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL> 429</DD> 430</DL> 431<HR> 432 433<A NAME="creatorEnabled()"><!-- --></A><H3> 434creatorEnabled</H3> 435<PRE> 436public boolean <B>creatorEnabled</B>()</PRE> 437<DL> 438<DD><DL> 439</DL> 440</DD> 441</DL> 442<HR> 443 444<A NAME="getterEnabled()"><!-- --></A><H3> 445getterEnabled</H3> 446<PRE> 447public boolean <B>getterEnabled</B>()</PRE> 448<DL> 449<DD><DL> 450</DL> 451</DD> 452</DL> 453<HR> 454 455<A NAME="isGetterEnabled()"><!-- --></A><H3> 456isGetterEnabled</H3> 457<PRE> 458public boolean <B>isGetterEnabled</B>()</PRE> 459<DL> 460<DD><DL> 461</DL> 462</DD> 463</DL> 464<HR> 465 466<A NAME="setterEnabled()"><!-- --></A><H3> 467setterEnabled</H3> 468<PRE> 469public boolean <B>setterEnabled</B>()</PRE> 470<DL> 471<DD><DL> 472</DL> 473</DD> 474</DL> 475<HR> 476 477<A NAME="fieldEnabled()"><!-- --></A><H3> 478fieldEnabled</H3> 479<PRE> 480public boolean <B>fieldEnabled</B>()</PRE> 481<DL> 482<DD><DL> 483</DL> 484</DD> 485</DL> 486<!-- ========= END OF CLASS DATA ========= --> 487<HR> 488 489 490<!-- ======= START OF BOTTOM NAVBAR ====== --> 491<A NAME="navbar_bottom"><!-- --></A> 492<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 493<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 494<TR><td rowspan='3'><script type="text/javascript"><!-- 495google_ad_client = "pub-1467773697956887"; 496/* Jackson-ad-small */ 497google_ad_slot = "6699487946"; 498google_ad_width = 234; 499google_ad_height = 60; 500//--> 501</script> 502<script type="text/javascript" 503src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 504</script> 505<!-- GA --> 506<script type="text/javascript"> 507var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); 508document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); 509</script> 510<script type="text/javascript"> 511try { 512var pageTracker = _gat._getTracker("UA-140287-6"); 513pageTracker._trackPageview(); 514} catch(err) {} 515</script> 516</td> 517<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 518<A NAME="navbar_bottom_firstrow"><!-- --></A> 519<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 520 <TR ALIGN="center" VALIGN="top"> 521 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/fasterxml/jackson/annotation/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 522 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 523 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyAccessor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 524 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 525 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 526 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 527 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 528 </TR> 529</TABLE> 530</TD> 531<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 532</EM> 533</TD> 534</TR> 535 536<TR> 537<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 538 <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation"><B>PREV CLASS</B></A> 539 NEXT CLASS</FONT></TD> 540<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 541 <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/PropertyAccessor.html" target="_top"><B>FRAMES</B></A> 542 <A HREF="PropertyAccessor.html" target="_top"><B>NO FRAMES</B></A> 543 <SCRIPT type="text/javascript"> 544 <!-- 545 if(window==top) { 546 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 547 } 548 //--> 549</SCRIPT> 550<NOSCRIPT> 551 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 552</NOSCRIPT> 553 554 555</FONT></TD> 556</TR> 557<TR> 558<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 559 SUMMARY: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD> 560<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 561DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD> 562</TR> 563</TABLE> 564<A NAME="skip-navbar_bottom"></A> 565<!-- ======== END OF BOTTOM NAVBAR ======= --> 566 567<HR> 568Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 569</BODY> 570</HTML> 571