Class ValueInjector

  • All Implemented Interfaces:
    BeanProperty, Named, java.io.Serializable

    public class ValueInjector
    extends BeanProperty.Std
    Class that encapsulates details of value injection that occurs before deserialization of a POJO. Details include information needed to find injectable value (logical id) as well as method used for assigning value (setter or field)
    See Also:
    Serialized Form
    • Field Detail

      • _valueId

        protected final java.lang.Object _valueId
        Identifier used for looking up value to inject
      • _optional

        protected final java.lang.Boolean _optional
        Flag used for configuring the behavior when the value to inject is not found.
        Since:
        2.20
      • _useInput

        protected final java.lang.Boolean _useInput
        Flag used for configuring the behavior when the input value should be preferred over the value to inject.
        Since:
        2.20
    • Constructor Detail

      • ValueInjector

        public ValueInjector​(PropertyName propName,
                             JavaType type,
                             AnnotatedMember mutator,
                             java.lang.Object valueId,
                             java.lang.Boolean optional,
                             java.lang.Boolean useInput)
        Since:
        2.20
      • ValueInjector

        @Deprecated
        public ValueInjector​(PropertyName propName,
                             JavaType type,
                             AnnotatedMember mutator,
                             java.lang.Object valueId)
        Deprecated.
        in 2.20 (remove from 3.0)