BeanProperty
, Named
public static final class SettableBeanProperty.FieldProperty extends SettableBeanProperty
BeanProperty.Std
SettableBeanProperty.FieldProperty, SettableBeanProperty.InnerClassProperty, SettableBeanProperty.ManagedReferenceProperty, SettableBeanProperty.MethodProperty, SettableBeanProperty.NullProvider, SettableBeanProperty.SetterlessProperty
Modifier and Type | Field | Description |
---|---|---|
protected AnnotatedField |
_annotated |
|
protected java.lang.reflect.Field |
_field |
Actual field to set when deserializing this property.
|
_contextAnnotations, _managedReferenceName, _nullProvider, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer
Modifier | Constructor | Description |
---|---|---|
|
FieldProperty(java.lang.String name,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedField field) |
|
protected |
FieldProperty(SettableBeanProperty.FieldProperty src,
JsonDeserializer<java.lang.Object> deser) |
Modifier and Type | Method | Description |
---|---|---|
void |
deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
java.lang.Object instance) |
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
<A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> acls) |
Method for finding annotation associated with this property;
meaning annotation associated with one of entities used to
access property.
|
AnnotatedMember |
getMember() |
Method for accessing primary physical entity that represents the property;
annotated field, method or constructor property.
|
void |
set(java.lang.Object instance,
java.lang.Object value) |
|
SettableBeanProperty.FieldProperty |
withValueDeserializer(JsonDeserializer<java.lang.Object> deser) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_throwAsIOE, _throwAsIOE, assignIndex, deserialize, getContextAnnotation, getDeclaringClass, getInjectableValueId, getManagedReferenceName, getName, getPropertyIndex, getPropertyName, getProperytIndex, getType, getValueDeserializer, getValueTypeDeserializer, hasValueDeserializer, hasValueTypeDeserializer, setManagedReferenceName, setValueDeserializer, toString
protected final AnnotatedField _annotated
protected final java.lang.reflect.Field _field
public FieldProperty(java.lang.String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field)
protected FieldProperty(SettableBeanProperty.FieldProperty src, JsonDeserializer<java.lang.Object> deser)
public SettableBeanProperty.FieldProperty withValueDeserializer(JsonDeserializer<java.lang.Object> deser)
withValueDeserializer
in class SettableBeanProperty
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> acls)
BeanProperty
getAnnotation
in interface BeanProperty
getAnnotation
in class SettableBeanProperty
public AnnotatedMember getMember()
BeanProperty
getMember
in interface BeanProperty
getMember
in class SettableBeanProperty
public void deserializeAndSet(JsonParser jp, DeserializationContext ctxt, java.lang.Object instance) throws java.io.IOException, JsonProcessingException
SettableBeanProperty
deserializeAndSet
in class SettableBeanProperty
java.io.IOException
JsonProcessingException
public final void set(java.lang.Object instance, java.lang.Object value) throws java.io.IOException
set
in class SettableBeanProperty
java.io.IOException