| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SettableBeanProperty |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ObjectIdReferenceProperty(ObjectIdReferenceProperty src, ValueDeserializer<?> deser, NullValueProvider nva)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance)
Implements abstract 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)
Implements abstract 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 <A extends Annotation> A | getAnnotation(Class<A> acls)
Implements abstract tools. Implements tools. Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property. |
| public int | getCreatorIndex()
Overrides tools. Method for accessing index of the creator property: for other types of properties will simply return -1. |
| public AnnotatedMember | getMember()
Implements abstract tools. Implements tools. Method for accessing primary physical entity that represents the property; annotated field, method or constructor property. |
| public void | set(DeserializationContext ctxt, Object instance, Object value)
Implements abstract tools. Method called to assign given value to this property, on specified Object. |
| public Object | setAndReturn(DeserializationContext ctxt, Object instance, Object value)
Implements abstract 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. |
| public SettableBeanProperty | withName(PropertyName newName)
Implements abstract tools. Fluent factory method for constructing and returning a new instance with specified property name. |
| public SettableBeanProperty | withNullProvider(NullValueProvider nva)
Implements abstract tools.
|
| public SettableBeanProperty | withValueDeserializer(ValueDeserializer<?> deser)
Implements abstract tools. Fluent factory method for constructing and returning a new instance with specified value deserializer. |
| _forward | back to summary |
|---|---|
| private final SettableBeanProperty _forward | |
| ObjectIdReferenceProperty | back to summary |
|---|---|
| public ObjectIdReferenceProperty(SettableBeanProperty forward, ObjectIdInfo objectIdInfo) | |
| ObjectIdReferenceProperty | back to summary |
|---|---|
| public ObjectIdReferenceProperty(ObjectIdReferenceProperty src, ValueDeserializer<?> deser, NullValueProvider nva) | |
| ObjectIdReferenceProperty | back to summary |
|---|---|
| public ObjectIdReferenceProperty(ObjectIdReferenceProperty src, PropertyName newName) | |
| deserializeAndSet | back to summary |
|---|---|
| public void deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance) throws JacksonException Implements abstract 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 Implements abstract 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.
| |
| getAnnotation | back to summary |
|---|---|
| public <A extends Annotation> A getAnnotation(Class<A> acls) Implements abstract tools. Implements tools. Doc from tools. Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property.
Note that this method should only be called for custom annotations;
access to standard Jackson annotations (or ones supported by
alternate
| |
| getCreatorIndex | back to summary |
|---|---|
| public int getCreatorIndex() Overrides tools. Doc from tools. Method for accessing index of the creator property: for other types of properties will simply return -1.
| |
| getMember | back to summary |
|---|---|
| public AnnotatedMember getMember() Implements abstract tools. Implements tools. Doc from tools. Method for accessing primary physical entity that represents the property; annotated field, method or constructor property.
| |
| set | back to summary |
|---|---|
| public void set(DeserializationContext ctxt, Object instance, Object value) throws JacksonException Implements abstract 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) throws JacksonException Implements abstract 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.
| |
| withName | back to summary |
|---|---|
| public SettableBeanProperty withName(PropertyName newName) Implements abstract tools. Doc from tools. Fluent factory method for constructing and returning a new instance with specified property name. Note that this method should NOT change configuration of this instance.
| |
| withNullProvider | back to summary |
|---|---|
| public SettableBeanProperty withNullProvider(NullValueProvider nva) Implements abstract tools.
| |
| withValueDeserializer | back to summary |
|---|---|
| public SettableBeanProperty withValueDeserializer(ValueDeserializer<?> deser) Implements abstract tools. Doc from tools. Fluent factory method for constructing and returning a new instance with specified value deserializer. Note that this method should NOT change configuration of this instance.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectIdReferenceProperty | |
| public final Object |
| Access | Constructor and Description |
|---|---|
| public | PropertyReferring(ObjectIdReferenceProperty parent, UnresolvedForwardReference ref, Class<?> type, Object ob)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | handleResolvedForwardReference(DeserializationContext ctxt, Object id, Object value)
Implements abstract tools.
|
| _parent | back to summary |
|---|---|
| private final ObjectIdReferenceProperty _parent | |
| _pojo | back to summary |
|---|---|
| public final Object _pojo | |
| PropertyReferring | back to summary |
|---|---|
| public PropertyReferring(ObjectIdReferenceProperty parent, UnresolvedForwardReference ref, Class<?> type, Object ob) | |
| handleResolvedForwardReference | back to summary |
|---|---|
| public void handleResolvedForwardReference(DeserializationContext ctxt, Object id, Object value) throws JacksonException Implements abstract tools.
| |