| Modifier and Type | Field and Description |
|---|---|
| protected final AnnotatedField | |
| protected final transient Field | _field
Actual field to set when deserializing this property. |
| protected final boolean | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | FieldProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field)
|
| protected | |
| protected | |
| protected | FieldProperty(FieldProperty src)
Constructor used for JDK Serialization when reading persisted object |
| Modifier and Type | Method and Description |
|---|---|
| public void | deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance)
Implements abstract com. Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. |
| public Object | deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)
Implements abstract com. Alternative to |
| public void | fixAccess(DeserializationConfig config)
Overrides com. Method called to ensure that the mutator has proper access rights to be called, as per configuration. |
| public <A extends Annotation> A | getAnnotation(Class<A> acls)
Implements abstract com. Implements com. Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property. |
| public AnnotatedMember | getMember()
Implements abstract com. Implements com. Method for accessing primary physical entity that represents the property; annotated field, method or constructor property. |
| pack-priv Object | |
| public void | set(Object instance, Object value)
Implements abstract com. Method called to assign given value to this property, on specified Object. |
| public Object | setAndReturn(Object instance, Object value)
Implements abstract com. Method called to assign given value to this property, on specified Object, and return whatever delegating accessor returned (if anything) Note this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method. |
| public SettableBeanProperty | withName(PropertyName
Name to use for the new instance. newName)Implements abstract com. Fluent factory method for constructing and returning a new instance with specified property name. |
| public SettableBeanProperty | withNullProvider(NullValueProvider nva)
Implements abstract com.
|
| public SettableBeanProperty | withValueDeserializer(JsonDeserializer<?>
Deserializer to assign to the new property instance deser)Implements abstract com. Fluent factory method for constructing and returning a new instance with specified value deserializer. |
| _annotated | back to summary |
|---|---|
| protected final AnnotatedField _annotated | |
| _field | back to summary |
|---|---|
| protected final transient Field _field Actual field to set when deserializing this property. Transient since there is no need to persist; only needed during construction of objects. | |
| _skipNulls | back to summary |
|---|---|
protected final boolean _skipNulls
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| FieldProperty | back to summary |
|---|---|
| public FieldProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field) | |
| FieldProperty | back to summary |
|---|---|
| protected FieldProperty(FieldProperty src, JsonDeserializer<?> deser, NullValueProvider nva) | |
| FieldProperty | back to summary |
|---|---|
| protected FieldProperty(FieldProperty src, PropertyName newName) | |
| FieldProperty | back to summary |
|---|---|
| protected FieldProperty(FieldProperty src) Constructor used for JDK Serialization when reading persisted object | |
| deserializeAndSet | back to summary |
|---|---|
| public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) throws IOException Implements abstract com. Doc from com. Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. Pre-condition is that passed parser must point to the first token that should be consumed to produce the value (the only value for scalars, multiple for Objects and Arrays).
| |
| deserializeSetAndReturn | back to summary |
|---|---|
| public Object deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) throws IOException Implements abstract com. Doc from com. Alternative to
| |
| fixAccess | back to summary |
|---|---|
| public void fixAccess(DeserializationConfig config) Overrides com. Doc from com. Method called to ensure that the mutator has proper access rights to be called, as per configuration. Overridden by implementations that have mutators that require access, fields and setters.
| |
| getAnnotation | back to summary |
|---|---|
| public <A extends Annotation> A getAnnotation(Class<A> acls) Implements abstract com. Implements com. Doc from com. Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property.
Note that this method should only be called for custom annotations;
access to standard Jackson annotations (or ones supported by
alternate
| |
| getMember | back to summary |
|---|---|
| public AnnotatedMember getMember() Implements abstract com. Implements com. Doc from com. Method for accessing primary physical entity that represents the property; annotated field, method or constructor property.
| |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() | |
| set | back to summary |
|---|---|
| public void set(Object instance, Object value) throws IOException Implements abstract com. Doc from com. Method called to assign given value to this property, on specified Object. Note this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method.
| |
| setAndReturn | back to summary |
|---|---|
| public Object setAndReturn(Object instance, Object value) throws IOException Implements abstract com. Doc from com. Method called to assign given value to this property, on specified Object, and return whatever delegating accessor returned (if anything) Note this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method.
| |
| withName | back to summary |
|---|---|
| public SettableBeanProperty withName(PropertyName newName) Implements abstract com. Doc from com. Fluent factory method for constructing and returning a new instance with specified property name. Note that this method should NOT change configuration of this instance.
| |
| withNullProvider | back to summary |
|---|---|
| public SettableBeanProperty withNullProvider(NullValueProvider nva) Implements abstract com.
| |
| withValueDeserializer | back to summary |
|---|---|
| public SettableBeanProperty withValueDeserializer(JsonDeserializer<?> deser) Implements abstract com. Doc from com. Fluent factory method for constructing and returning a new instance with specified value deserializer. Note that this method should NOT change configuration of this instance.
| |