public static final class SettableBeanProperty.ManagedReferenceProperty extends SettableBeanProperty
SettableBeanProperty.FieldProperty, SettableBeanProperty.InnerClassProperty, SettableBeanProperty.ManagedReferenceProperty, SettableBeanProperty.MethodProperty, SettableBeanProperty.NullProvider, SettableBeanProperty.SetterlessProperty
BeanProperty.Std
Modifier and Type | Field and Description |
---|---|
protected SettableBeanProperty |
_backProperty |
protected boolean |
_isContainer
Flag that indicates whether property to handle is a container type
(array, Collection, Map) or not.
|
protected SettableBeanProperty |
_managedProperty |
protected String |
_referenceName |
_contextAnnotations, _managedReferenceName, _nullProvider, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer
Modifier | Constructor and Description |
---|---|
protected |
SettableBeanProperty.ManagedReferenceProperty(SettableBeanProperty.ManagedReferenceProperty src,
JsonDeserializer<Object> deser) |
|
SettableBeanProperty.ManagedReferenceProperty(String refName,
SettableBeanProperty forward,
SettableBeanProperty backward,
Annotations contextAnnotations,
boolean isContainer) |
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.ManagedReferenceProperty |
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 String _referenceName
protected final boolean _isContainer
protected final SettableBeanProperty _managedProperty
protected final SettableBeanProperty _backProperty
public SettableBeanProperty.ManagedReferenceProperty(String refName, SettableBeanProperty forward, SettableBeanProperty backward, Annotations contextAnnotations, boolean isContainer)
protected SettableBeanProperty.ManagedReferenceProperty(SettableBeanProperty.ManagedReferenceProperty src, JsonDeserializer<Object> deser)
public SettableBeanProperty.ManagedReferenceProperty 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