public static final class SettableBeanProperty.FieldProperty extends SettableBeanProperty
SettableBeanProperty.FieldProperty, SettableBeanProperty.InnerClassProperty, SettableBeanProperty.ManagedReferenceProperty, SettableBeanProperty.MethodProperty, SettableBeanProperty.NullProvider, SettableBeanProperty.SetterlessProperty
BeanProperty.Std
Modifier and Type | Field and Description |
---|---|
protected AnnotatedField |
_annotated |
protected Field |
_field
Actual field to set when deserializing this property.
|
_contextAnnotations, _managedReferenceName, _nullProvider, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer
Modifier | Constructor and Description |
---|---|
protected |
SettableBeanProperty.FieldProperty(SettableBeanProperty.FieldProperty src,
JsonDeserializer<Object> deser) |
|
SettableBeanProperty.FieldProperty(String name,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedField field) |
Modifier and Type | Method and Description |
---|---|
void |
deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
<A extends Annotation> |
getAnnotation(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(Object instance,
Object value) |
SettableBeanProperty.FieldProperty |
withValueDeserializer(JsonDeserializer<Object> deser) |
_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 Field _field
public SettableBeanProperty.FieldProperty(String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field)
protected SettableBeanProperty.FieldProperty(SettableBeanProperty.FieldProperty src, JsonDeserializer<Object> deser)
public SettableBeanProperty.FieldProperty withValueDeserializer(JsonDeserializer<Object> deser)
withValueDeserializer
in class SettableBeanProperty
public <A extends Annotation> A getAnnotation(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, Object instance) throws IOException, JsonProcessingException
SettableBeanProperty
deserializeAndSet
in class SettableBeanProperty
IOException
JsonProcessingException
public final void set(Object instance, Object value) throws IOException
set
in class SettableBeanProperty
IOException