public static void invokeSetter(Object object, String setterName, Object arg)
            throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
        Object[] args = { arg };
        invokeSetter(object, setterName, args);
    }
public static void invokeSetter ( Object object , String setterName , Object arg ) throws NoSuchMethodException , IllegalAccessException , InvocationTargetException { Object [ ] args = { arg } ; invokeSetter ( object , setterName , args ) ; }
Sets the value of a bean property to an Object.

@param object the bean to change
@param setterName the property name or setter method name
@param arg use this argument
@throws NoSuchMethodException the no such method exception
@throws IllegalAccessException the illegal access exception
@throws InvocationTargetException the invocation target exception