public void setValue ( Object toEntity , Object newValue ) throws IllegalAccessException , InvocationTargetException { Object propertyValue = getter . invoke ( toEntity ) ; if ( propertyValue != null ) nestedWriter . setValue ( propertyValue , newValue ) ; }
Set the value on the source entity . If at any point the chaining results in a null value . The chaining should end .