public static final class SettableBeanProperty.MethodProperty extends SettableBeanProperty
SettableBeanProperty.FieldProperty, SettableBeanProperty.InnerClassProperty, SettableBeanProperty.ManagedReferenceProperty, SettableBeanProperty.MethodProperty, SettableBeanProperty.NullProvider, SettableBeanProperty.SetterlessProperty
BeanProperty.Std
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMethod |
_annotated |
protected Method |
_setter
Setter method for modifying property value; used for
"regular" method-accessible properties.
|
_contextAnnotations, _managedReferenceName, _nullProvider, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer
Modifier | Constructor and Description |
---|---|
protected |
SettableBeanProperty.MethodProperty(SettableBeanProperty.MethodProperty src,
JsonDeserializer<Object> deser) |
|
SettableBeanProperty.MethodProperty(String name,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedMethod method) |
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.MethodProperty |
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 AnnotatedMethod _annotated
protected final Method _setter
public SettableBeanProperty.MethodProperty(String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method)
protected SettableBeanProperty.MethodProperty(SettableBeanProperty.MethodProperty src, JsonDeserializer<Object> deser)
public SettableBeanProperty.MethodProperty 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