public static final class SettableBeanProperty.MethodProperty extends SettableBeanProperty
SettableBeanProperty.FieldProperty, SettableBeanProperty.InnerClassProperty, SettableBeanProperty.ManagedReferenceProperty, SettableBeanProperty.MethodProperty, SettableBeanProperty.NullProvider, SettableBeanProperty.SetterlessPropertyBeanProperty.Std| 限定符和类型 | 字段和说明 |
|---|---|
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| 限定符 | 构造器和说明 |
|---|---|
protected |
SettableBeanProperty.MethodProperty(SettableBeanProperty.MethodProperty src,
JsonDeserializer<Object> deser) |
|
SettableBeanProperty.MethodProperty(String name,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedMethod method) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, toStringprotected 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)
public <A extends Annotation> A getAnnotation(Class<A> acls)
BeanPropertygetAnnotation 在接口中 BeanPropertygetAnnotation 在类中 SettableBeanPropertypublic AnnotatedMember getMember()
BeanPropertygetMember 在接口中 BeanPropertygetMember 在类中 SettableBeanPropertypublic void deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance) throws IOException, JsonProcessingException
SettableBeanPropertypublic final void set(Object instance, Object value) throws IOException
set 在类中 SettableBeanPropertyIOException