public final class ManagedReferenceProperty extends SettableBeanProperty.Delegating
SettableBeanProperty.DelegatingBeanProperty.Bogus, BeanProperty.StdEMPTY_FORMAT, EMPTY_INCLUDE| Constructor and Description |
|---|
ManagedReferenceProperty(SettableBeanProperty forward,
java.lang.String refName,
SettableBeanProperty backward,
boolean isContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeAndSet(JsonParser p,
DeserializationContext ctxt,
java.lang.Object instance)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
java.lang.Object |
deserializeSetAndReturn(JsonParser p,
DeserializationContext ctxt,
java.lang.Object instance)
Alternative to
SettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object) that returns
either return value of setter method called (if one is),
or null to indicate that no return value is available. |
void |
fixAccess(DeserializationConfig config)
Method called to ensure that the mutator has proper access rights to
be called, as per configuration.
|
void |
set(java.lang.Object instance,
java.lang.Object value)
Method called to assign given value to this property, on
specified Object.
|
java.lang.Object |
setAndReturn(java.lang.Object instance,
java.lang.Object value)
Method called to assign given value to this property, on
specified Object, and return whatever delegating accessor
returned (if anything)
|
assignIndex, getAnnotation, getCreatorIndex, getDelegate, getInjectableValueId, getManagedReferenceName, getMember, getObjectIdInfo, getPropertyIndex, getValueDeserializer, getValueTypeDeserializer, hasValueDeserializer, hasValueTypeDeserializer, hasViews, isInjectionOnly, visibleInView, withName, withNullProvider, withValueDeserializerdepositSchemaProperty, deserialize, deserializeWith, getContextAnnotation, getFullName, getName, getNullValueProvider, getType, getWrapperName, isIgnorable, markAsIgnorable, setManagedReferenceName, setObjectIdInfo, setViews, toString, withSimpleNamefindAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getMetadata, isRequired, isVirtualpublic ManagedReferenceProperty(SettableBeanProperty forward, java.lang.String refName, SettableBeanProperty backward, boolean isContainer)
public void fixAccess(DeserializationConfig config)
SettableBeanPropertyfixAccess in class SettableBeanProperty.Delegatingpublic void deserializeAndSet(JsonParser p, DeserializationContext ctxt, java.lang.Object instance) throws java.io.IOException
SettableBeanPropertydeserializeAndSet in class SettableBeanProperty.Delegatingjava.io.IOExceptionpublic java.lang.Object deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, java.lang.Object instance) throws java.io.IOException
SettableBeanPropertySettableBeanProperty.deserializeAndSet(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, java.lang.Object) that returns
either return value of setter method called (if one is),
or null to indicate that no return value is available.
Mostly used to support Builder style deserialization.deserializeSetAndReturn in class SettableBeanProperty.Delegatingjava.io.IOExceptionpublic final void set(java.lang.Object instance,
java.lang.Object value)
throws java.io.IOException
SettableBeanPropertyNote: this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method.
set in class SettableBeanProperty.Delegatingjava.io.IOExceptionpublic java.lang.Object setAndReturn(java.lang.Object instance,
java.lang.Object value)
throws java.io.IOException
SettableBeanPropertyNote: this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method.
setAndReturn in class SettableBeanProperty.Delegatingjava.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved