| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | SettableBeanProperty.Delegating
Helper class that is designed to both make it easier to sub-class delegating subtypes and to reduce likelihood of breakage when new methods are added. |
| Modifier and Type | Field and Description |
|---|---|
| protected final transient Annotations | _contextAnnotations
Class that contains this property (either class that declares the property or one of its subclasses), class that is deserialized using deserializer that contains this property. |
| protected String | _managedReferenceName
If property represents a managed (forward) reference, we will need the name of reference for later linking. |
| protected final NullValueProvider | _nullProvider
Entity used for possible translation from `null` into non-null value of type of this property. |
| protected ObjectIdInfo | _objectIdInfo
This is the information for object identity associated with the property. |
| protected int | _propertyIndex
Index of property (within all property of a bean); assigned when all properties have been collected. |
| protected final PropertyName | _propName
Logical name of the property (often but not always derived from the setter method name) |
| protected final JavaType | _type
Base type for property; may be a supertype of actual value. |
| protected final JsonDeserializer | _valueDeserializer
Deserializer used for handling property value. |
| protected final TypeDeserializer | _valueTypeDeserializer
If value will contain type information (to support polymorphic handling), this is the type deserializer used to handle type resolution. |
| protected ViewMatcher | _viewMatcher
Helper object used for checking whether this property is to be included in the active view, if property is view-specific; null otherwise. |
| protected final PropertyName | |
| protected static final JsonDeserializer | MISSING_VALUE_DESERIALIZER
To avoid nasty NPEs, let's use a placeholder for _valueDeserializer, if real deserializer is not (yet) available. |
| Access | Constructor and Description |
|---|---|
| protected | SettableBeanProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations)
|
| protected | SettableBeanProperty(PropertyName propName, JavaType type, PropertyName wrapper, TypeDeserializer typeDeser, Annotations contextAnnotations, PropertyMetadata metadata)
|
| protected | SettableBeanProperty(PropertyName propName, JavaType type, PropertyMetadata metadata, JsonDeserializer<Object> valueDeser)
Constructor only used by |
| protected | |
| protected | SettableBeanProperty(SettableBeanProperty src, JsonDeserializer<?> deser, NullValueProvider nuller)
Copy-with-deserializer-change constructor for sub-classes to use. |
| protected | SettableBeanProperty(SettableBeanProperty src, PropertyName newName)
Copy-with-deserializer-change constructor for sub-classes to use. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | _throwAsIOE(JsonParser p, Exception e, Object value)
Method that takes in exception of any type, and casts or wraps it to an IOException or its subclass. |
| protected IOException | |
| protected IOException | |
| protected void | |
| public void | |
| public void | depositSchemaProperty(JsonObjectFormatVisitor
Visitor to used as the callback handler objectVisitor, SerializerProvider provider)Implements com. |
| public final Object | deserialize(JsonParser p, DeserializationContext ctxt)
This method is needed by some specialized bean deserializers,
and also called by some |
| public abstract void | deserializeAndSet(JsonParser p, DeserializationContext ctxt, Object instance)
Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism. |
| public abstract Object | deserializeSetAndReturn(JsonParser p, DeserializationContext ctxt, Object instance)
Alternative to |
| public final Object | |
| public void | fixAccess(DeserializationConfig config)
Method called to ensure that the mutator has proper access rights to be called, as per configuration. |
| public abstract <A extends Annotation> A | getAnnotation(Class<A> acls)
Redeclares com. |
| public <A extends Annotation> A | getContextAnnotation(Class<A> acls)
Implements com. |
| public int | getCreatorIndex()
Method for accessing index of the creator property: for other types of properties will simply return -1. |
| protected Class | |
| public PropertyName | getFullName()
Implements com. |
| public Object | getInjectableValueId()
Accessor for id of injectable value, if this bean property supports value injection. |
| public String | |
| public abstract AnnotatedMember | getMember()
Redeclares com. |
| public final String | getName()
Implements com. |
| public NullValueProvider | |
| public ObjectIdInfo | |
| public int | Returns: Index of this propertyMethod for accessing unique index of this property; indexes are
assigned once all properties of a |
| public JavaType | getType()
Implements com. |
| public JsonDeserializer | |
| public TypeDeserializer | |
| public PropertyName | getWrapperName()
Implements com. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: True if (and only if) property has injector that is also defined NOT to bind from input.Accessor for checking whether this property is injectable, and if so, ONLY injectable (will not bind from input). |
| public void | |
| public abstract void | |
| public abstract Object | setAndReturn(Object instance, Object value)
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 void | |
| public void | |
| public void | |
| public String | |
| public boolean | |
| public abstract SettableBeanProperty | Returns: Newly constructed instance, if property name differs from the one used for this instance; or 'this' if not.Name to use for the new instance. newName)Fluent factory method for constructing and returning a new instance with specified property name. |
| public abstract SettableBeanProperty | |
| public SettableBeanProperty | |
| public abstract SettableBeanProperty | Returns: Newly constructed instance, if value deserializer differs from the one used for this instance; or 'this' if not.Deserializer to assign to the new property instance deser)Fluent factory method for constructing and returning a new instance with specified value deserializer. |