| Modifier and Type | Field and Description |
|---|---|
| protected final SettableBeanProperty | |
| protected final boolean | _isContainer
Flag that indicates whether property to handle is a container type (array, Collection, Map) or not. |
| protected final String |
| Access | Constructor and Description |
|---|---|
| public | ManagedReferenceProperty(SettableBeanProperty forward, String refName, SettableBeanProperty backward, boolean isContainer)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance)
Overrides tools. Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. |
| public Object | deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)
Overrides tools. Alternative to |
| public void | fixAccess(DeserializationConfig config)
Overrides tools. Method called to ensure that the mutator has proper access rights to be called, as per configuration. |
| public final void | set(DeserializationContext ctxt, Object instance, Object value)
Overrides tools. Method called to assign given value to this property, on specified Object. |
| public Object | setAndReturn(DeserializationContext ctxt, Object instance, Object value)
Overrides tools. Method called to assign given value to this property, on specified Object, and return whatever delegating accessor returned (if anything) Note this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method. |
| protected SettableBeanProperty | withDelegate(SettableBeanProperty d)
Implements abstract tools. Method sub-classes must implement, to construct a new instance with given delegate. |
| _backProperty | back to summary |
|---|---|
| protected final SettableBeanProperty _backProperty | |
| _isContainer | back to summary |
|---|---|
| protected final boolean _isContainer Flag that indicates whether property to handle is a container type (array, Collection, Map) or not. | |
| _referenceName | back to summary |
|---|---|
| protected final String _referenceName | |
| ManagedReferenceProperty | back to summary |
|---|---|
| public ManagedReferenceProperty(SettableBeanProperty forward, String refName, SettableBeanProperty backward, boolean isContainer) | |
| deserializeAndSet | back to summary |
|---|---|
| public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) throws JacksonException Overrides tools. Doc from tools. Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. Pre-condition is that passed parser must point to the first token that should be consumed to produce the value (the only value for scalars, multiple for Objects and Arrays).
| |
| deserializeSetAndReturn | back to summary |
|---|---|
| public Object deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance) throws JacksonException Overrides tools. Doc from tools. Alternative to
| |
| fixAccess | back to summary |
|---|---|
| public void fixAccess(DeserializationConfig config) Overrides tools. Doc from tools. Method called to ensure that the mutator has proper access rights to be called, as per configuration. Overridden by implementations that have mutators that require access, fields and setters.
| |
| set | back to summary |
|---|---|
| public final void set(DeserializationContext ctxt, Object instance, Object value) Overrides tools. Doc from tools. Method called to assign given value to this property, on specified Object. Note this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method.
| |
| setAndReturn | back to summary |
|---|---|
| public Object setAndReturn(DeserializationContext ctxt, Object instance, Object value) Overrides tools. Doc from tools. Method called to assign given value to this property, on specified Object, and return whatever delegating accessor returned (if anything) Note this is an optional operation, not supported by all implementations, creator-backed properties for example do not support this method.
| |
| withDelegate | back to summary |
|---|---|
| protected SettableBeanProperty withDelegate(SettableBeanProperty d) Implements abstract tools. Doc from tools. Method sub-classes must implement, to construct a new instance with given delegate.
| |