Class NullAwareBeanUtilsBean


  • public class NullAwareBeanUtilsBean
    extends org.apache.commons.beanutils.BeanUtilsBean
    Credits go to http://stackoverflow.com/a/3521314
    Author:
    Nils Bühner
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copyProperty​(java.lang.Object dest, java.lang.String name, java.lang.Object value)  
      • Methods inherited from class org.apache.commons.beanutils.BeanUtilsBean

        cloneBean, convert, copyProperties, describe, getArrayProperty, getConvertUtils, getIndexedProperty, getIndexedProperty, getInstance, getMappedProperty, getMappedProperty, getNestedProperty, getProperty, getPropertyUtils, getSimpleProperty, initCause, populate, setInstance, setProperty
      • Methods inherited from class java.lang.Object

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

      • NullAwareBeanUtilsBean

        public NullAwareBeanUtilsBean()
    • Method Detail

      • copyProperty

        public void copyProperty​(java.lang.Object dest,
                                 java.lang.String name,
                                 java.lang.Object value)
                          throws java.lang.IllegalAccessException,
                                 java.lang.reflect.InvocationTargetException
        Overrides:
        copyProperty in class org.apache.commons.beanutils.BeanUtilsBean
        Throws:
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException