MCPcopy Create free account
hub / github.com/androrm/androrm / putValue

Method putValue

src/src/com/orm/androrm/Model.java:506–520  ·  view source on GitHub ↗
(
			
			Object 			field, 
			String 			fieldName, 
			ContentValues 	values
			
	)

Source from the content-addressed store, hash-verified

504 }
505
506 private void putValue(
507
508 Object field,
509 String fieldName,
510 ContentValues values
511
512 ) {
513
514 if(field instanceof DataField
515 && !handledByPrimaryKey(field)) {
516
517 DataField<?> f = (DataField<?>) field;
518 f.putData(fieldName, values);
519 }
520 }
521
522 public boolean save(Context context) {
523 if(mId.isAutoincrement() || getId() != 0) {

Callers 1

collectDataMethod · 0.95

Calls 2

handledByPrimaryKeyMethod · 0.95
putDataMethod · 0.65

Tested by

no test coverage detected