BeanProperty, Named, Serializablepublic final class InnerClassProperty extends SettableBeanProperty.Delegating
BeanProperty.Bogus, BeanProperty.StdSettableBeanProperty.Delegating| Modifier and Type | Field | Description |
|---|---|---|
protected AnnotatedConstructor |
_annotated |
Serializable version of single-arg constructor we use for value instantiation.
|
protected Constructor<?> |
_creator |
Constructor used when deserializing this property.
|
EMPTY_FORMAT, EMPTY_INCLUDE_aliases, _metadata, _propertyFormat_contextAnnotations, _managedReferenceName, _nullProvider, _objectIdInfo, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer, _viewMatcher, _wrapperName, MISSING_VALUE_DESERIALIZERdelegate| Modifier | Constructor | Description |
|---|---|---|
protected |
InnerClassProperty(SettableBeanProperty src,
AnnotatedConstructor ann) |
Constructor used with JDK Serialization; needed to handle transient
Constructor, wrap/unwrap in/out-of Annotated variant.
|
|
InnerClassProperty(SettableBeanProperty delegate,
Constructor<?> ctor) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
deserializeAndSet(com.fasterxml.jackson.core.JsonParser p,
DeserializationContext ctxt,
Object bean) |
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
Object |
deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p,
DeserializationContext ctxt,
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. |
protected SettableBeanProperty |
withDelegate(SettableBeanProperty d) |
Method sub-classes must implement, to construct a new instance
with given delegate.
|
findAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getMetadata, isRequired, isVirtualclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait_throwAsIOE, _throwAsIOE, _throwAsIOE, _throwAsIOE, depositSchemaProperty, deserialize, deserializeWith, getContextAnnotation, getFullName, getName, getNullValueProvider, getType, getWrapperName, isIgnorable, markAsIgnorable, setManagedReferenceName, setObjectIdInfo, setViews, toString, withSimpleName_with, assignIndex, fixAccess, getAnnotation, getCreatorIndex, getDeclaringClass, getDelegate, getInjectableValueId, getManagedReferenceName, getMember, getObjectIdInfo, getPropertyIndex, getValueDeserializer, getValueTypeDeserializer, hasValueDeserializer, hasValueTypeDeserializer, hasViews, set, setAndReturn, visibleInView, withName, withNullProvider, withValueDeserializerprotected final transient Constructor<?> _creator
protected AnnotatedConstructor _annotated
public InnerClassProperty(SettableBeanProperty delegate, Constructor<?> ctor)
protected InnerClassProperty(SettableBeanProperty src, AnnotatedConstructor ann)
protected SettableBeanProperty withDelegate(SettableBeanProperty d)
SettableBeanProperty.DelegatingwithDelegate in class SettableBeanProperty.Delegatingpublic void deserializeAndSet(com.fasterxml.jackson.core.JsonParser p,
DeserializationContext ctxt,
Object bean)
throws IOException
SettableBeanPropertydeserializeAndSet in class SettableBeanProperty.DelegatingIOExceptionpublic Object deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Object instance) throws 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.DelegatingIOExceptionCopyright © 2008–2018. All rights reserved.