Class BeanPropertyWriterDelegate

  • All Implemented Interfaces:
    BeanProperty, Named, Serializable

    public class BeanPropertyWriterDelegate
    extends BeanPropertyWriter
    Variant of BeanPropertyWriter which prevents property values present in the AnnotatedMember anyGetter to be serialized twice.

    Any property that's present in the anyGetter is ignored upon serialization. The values present in the anyGetter take precedence over those stored in the Bean's fields.

    This BeanPropertyWriter implementation is intended to be used in combination with the SettableBeanPropertyDelegating to allow the propagation of deserialized properties that don't match the target field types.

    See Also:
    Serialized Form