question: private void putFieldsToDefaultValue ( DataSupport baseObj , ContentValues values ) { String fieldName = null ; try { DataSupport emptyModel = getEmptyModel ( baseObj ) ; Class < ? > emptyModelClass = emptyModel . getClass ( ) ; for ( String name : baseObj . getFieldsToSetToDefault ( ) ) { if ( ! isIdColumn ( name ) ) { fieldName = name ; Field field = emptyModelClass . getDeclaredField ( fieldName ) ; putContentValues ( emptyModel , field , values ) ; } } } catch ( NoSuchFieldException e ) { throw new DataSupportException ( DataSupportException . noSuchFieldExceptioin ( baseObj . getClassName ( ) , fieldName ) ) ; } catch ( Exception e ) { throw new DataSupportException ( e . getMessage ( ) ) ; } }
target:  Iterate all the fields that need to set to default value. If the field is id, ignore it. Or put the default value of field into ContentValues.