| 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 | |
| private static final long |
| 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 com. 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 com. Alternative to |
| public void | fixAccess(DeserializationConfig config)
Overrides com. Method called to ensure that the mutator has proper access rights to be called, as per configuration. |
| public final void | set(Object instance, Object value)
Overrides com. Method called to assign given value to this property, on specified Object. |
| public Object | setAndReturn(Object instance, Object value)
Overrides com. 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 com. 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 | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| 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 IOException Overrides com. Doc from com. 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 IOException Overrides com. Doc from com. Alternative to
| |
| fixAccess | back to summary |
|---|---|
| public void fixAccess(DeserializationConfig config) Overrides com. Doc from com. 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(Object instance, Object value) throws IOException Overrides com. Doc from com. 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(Object instance, Object value) throws IOException Overrides com. Doc from com. 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 com. Doc from com. Method sub-classes must implement, to construct a new instance with given delegate.
| |