| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | SettableBeanProperty.
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 ValueDeserializer | _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 ValueDeserializer | 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, ValueDeserializer<Object> valueDeser)
Constructor only used by |
| protected | |
| protected | SettableBeanProperty(SettableBeanProperty src, ValueDeserializer<?> 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. |
| protected | SettableBeanProperty(SettableBeanProperty src, TypeDeserializer typeDeser)
Copy-with-type-deserializer-change constructor for sub-classes to use. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public void | |
| public void | depositSchemaProperty(JsonObjectFormatVisitor objectVisitor, SerializationContext provider)
Implements tools. Method that can be called to visit the type structure that this property is part of. |
| 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 tools. Method for finding annotation associated with this property; meaning annotation associated with one of entities used to access property. |
| public <A extends Annotation> A | getContextAnnotation(Class<A> acls)
Implements tools. Method for finding annotation associated with context of this property; usually class in which member is declared (or its subtype if processing subtype). |
| public int | getCreatorIndex()
Method for accessing index of the creator property: for other types of properties will simply return -1. |
| public Class | |
| public PropertyName | |
| public Object | getInjectableValueId()
Accessor for id of injectable value, if this bean property supports value injection. |
| public String | |
| public abstract AnnotatedMember | getMember()
Redeclares tools. Method for accessing primary physical entity that represents the property; annotated field, method or constructor property. |
| public final String | |
| 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 tools. Method to get declared type of the property. |
| public ValueDeserializer | |
| public TypeDeserializer | |
| public PropertyName | getWrapperName()
Implements tools. If property is indicated to be wrapped, name of wrapper element to use. |
| 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 boolean | |
| public void | |
| public abstract void | set(DeserializationContext ctxt, Object instance, Object value)
Method called to assign given value to this property, on specified Object. |
| public abstract Object | setAndReturn(DeserializationContext ctxt, 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 SettableBeanProperty | unwrapped(DeserializationContext ctxt, NameTransformer xf)
Returns a copy of this property, unwrapped using given |
| 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. |