Class DelegatingPropertyMutator


  • public final class DelegatingPropertyMutator
    extends BeanPropertyMutator
    Fallback mutator used as replacement in case a "broken" mutator (failure via couple of well-known indicators of broken generated mutator) is encountered
    Since:
    2.9
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.fasterxml.jackson.databind.deser.SettableBeanProperty _fallback  
    • Constructor Summary

      Constructors 
      Constructor Description
      DelegatingPropertyMutator​(com.fasterxml.jackson.databind.deser.SettableBeanProperty prop)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void booleanField​(java.lang.Object bean, int propertyIndex, boolean value)  
      void booleanSetter​(java.lang.Object bean, int propertyIndex, boolean value)  
      void intField​(java.lang.Object bean, int propertyIndex, int value)  
      void intSetter​(java.lang.Object bean, int propertyIndex, int value)  
      void longField​(java.lang.Object bean, int propertyIndex, long value)  
      void longSetter​(java.lang.Object bean, int propertyIndex, long value)  
      void objectField​(java.lang.Object bean, int propertyIndex, java.lang.Object value)  
      void objectSetter​(java.lang.Object bean, int propertyIndex, java.lang.Object value)  
      void stringField​(java.lang.Object bean, int propertyIndex, java.lang.String value)  
      void stringSetter​(java.lang.Object bean, int propertyIndex, java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _fallback

        protected final com.fasterxml.jackson.databind.deser.SettableBeanProperty _fallback
    • Constructor Detail

      • DelegatingPropertyMutator

        public DelegatingPropertyMutator​(com.fasterxml.jackson.databind.deser.SettableBeanProperty prop)
    • Method Detail

      • intSetter

        public void intSetter​(java.lang.Object bean,
                              int propertyIndex,
                              int value)
                       throws java.io.IOException
        Overrides:
        intSetter in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • longSetter

        public void longSetter​(java.lang.Object bean,
                               int propertyIndex,
                               long value)
                        throws java.io.IOException
        Overrides:
        longSetter in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • booleanSetter

        public void booleanSetter​(java.lang.Object bean,
                                  int propertyIndex,
                                  boolean value)
                           throws java.io.IOException
        Overrides:
        booleanSetter in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • stringSetter

        public void stringSetter​(java.lang.Object bean,
                                 int propertyIndex,
                                 java.lang.String value)
                          throws java.io.IOException
        Overrides:
        stringSetter in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • objectSetter

        public void objectSetter​(java.lang.Object bean,
                                 int propertyIndex,
                                 java.lang.Object value)
                          throws java.io.IOException
        Overrides:
        objectSetter in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • intField

        public void intField​(java.lang.Object bean,
                             int propertyIndex,
                             int value)
                      throws java.io.IOException
        Overrides:
        intField in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • longField

        public void longField​(java.lang.Object bean,
                              int propertyIndex,
                              long value)
                       throws java.io.IOException
        Overrides:
        longField in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • booleanField

        public void booleanField​(java.lang.Object bean,
                                 int propertyIndex,
                                 boolean value)
                          throws java.io.IOException
        Overrides:
        booleanField in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • stringField

        public void stringField​(java.lang.Object bean,
                                int propertyIndex,
                                java.lang.String value)
                         throws java.io.IOException
        Overrides:
        stringField in class BeanPropertyMutator
        Throws:
        java.io.IOException
      • objectField

        public void objectField​(java.lang.Object bean,
                                int propertyIndex,
                                java.lang.Object value)
                         throws java.io.IOException
        Overrides:
        objectField in class BeanPropertyMutator
        Throws:
        java.io.IOException