Class BeanPropertyMutator

  • Direct Known Subclasses:
    DelegatingPropertyMutator

    public abstract class BeanPropertyMutator
    extends java.lang.Object
    Abstract class that defines interface for implementations that can be used proxy-like to change values of properties, without using Reflection.
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanPropertyMutator()
      Default constructor used for creating a "blueprint" instance, from which per-field/per-method instances specialize.
    • 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
    • Constructor Detail

      • BeanPropertyMutator

        public BeanPropertyMutator()
        Default constructor used for creating a "blueprint" instance, from which per-field/per-method instances specialize.
    • Method Detail

      • intSetter

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

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

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

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

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

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

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

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

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

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