Class SettableBeanProperty

java.lang.Object
org.codehaus.jackson.map.deser.SettableBeanProperty
All Implemented Interfaces:
BeanProperty, Named
Direct Known Subclasses:
CreatorProperty, SettableBeanProperty.FieldProperty, SettableBeanProperty.InnerClassProperty, SettableBeanProperty.ManagedReferenceProperty, SettableBeanProperty.MethodProperty, SettableBeanProperty.SetterlessProperty

public abstract class SettableBeanProperty extends Object implements BeanProperty
Base class for settable properties of a bean: contains both type and name definitions, and reflection-based set functionality. Concrete sub-classes implement details, so that both field- and setter-backed properties can be handled
  • Field Details

    • _propName

      protected final String _propName
      Logical name of the property (often but not always derived from the setter method name)
    • _type

      protected final JavaType _type
      Base type for property; may be a supertype of actual value.
    • _contextAnnotations

      protected final 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.
    • _valueDeserializer

      protected JsonDeserializer<Object> _valueDeserializer
      Deserializer used for handling property value.
    • _valueTypeDeserializer

      protected TypeDeserializer _valueTypeDeserializer
      If value will contain type information (to support polymorphic handling), this is the type deserializer used to handle type resolution.
    • _nullProvider

      protected SettableBeanProperty.NullProvider _nullProvider
      Object used to figure out value to be used when 'null' literal is encountered in JSON. For most types simply Java null, but for primitive types must be a non-null value (like Integer.valueOf(0) for int).
      Since:
      1.7
    • _managedReferenceName

      protected String _managedReferenceName
      If property represents a managed (forward) reference (see [JACKSON-235]), we will need name of reference for later linking.
    • _propertyIndex

      protected int _propertyIndex
      Index of property (within all property of a bean); assigned when all properties have been collected. Order of entries is arbitrary, but once indexes are assigned they are not changed.
      Since:
      1.7
  • Constructor Details

  • Method Details