code: private static void setFieldValue(Object entity, Field member, Object retVal)
      {
          if (member != null && retVal != null && entity != null)
          {
              PropertyAccessorHelper.set(entity, member, retVal);
          }
      }
docs: Sets the field value.
  
  @param entity
  the entity
  @param member
  the member
  @param retVal
  the ret val