private void putFieldsValueDependsOnSaveOrUpdate(DataSupport baseObj,Field field,ContentValues values) throws SecurityException, IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
  if (isUpdating()) {
    if (!isFieldWithDefaultValue(baseObj,field)) {
      putContentValues(baseObj,field,values);
    }
  }
 else   if (isSaving()) {
    Object value=takeGetMethodValueByField(baseObj,field);
    if (value != null) {
      putContentValues(baseObj,field,values);
    }
  }
}

private void putFieldsValueDependsOnSaveOrUpdate ( DataSupport baseObj , Field field , ContentValues values ) throws SecurityException , IllegalArgumentException , NoSuchMethodException , IllegalAccessException , InvocationTargetException { if ( isUpdating ( ) ) { if ( ! isFieldWithDefaultValue ( baseObj , field ) ) { putContentValues ( baseObj , field , values ) ; } } else if ( isSaving ( ) ) { Object value = takeGetMethodValueByField ( baseObj , field ) ; if ( value != null ) { putContentValues ( baseObj , field , values ) ; } } }
put the value of field into contentvalues if current action is saving . check the value of field is default value or not if current action is updating . if it ' s not default value , put it into contentvalues . otherwise ignore it .
