- Timestamp:
- Oct 26, 2010, 2:36:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/dbnp/importer/ImporterService.groovy
r897 r993 338 338 } 339 339 340 try { 341 340 342 // which entity does the current cell (field) belong to? 341 343 switch (mc.entity) { 342 344 case Study: (record.any {it.getClass() == mc.entity}) ? 0 : record.add(study) 343 345 study.setFieldValue(mc.property, value) … … 357 359 case Object: // don't import 358 360 break 359 } // end switch 361 } // end switch 362 } catch (IllegalArgumentException iae) { 363 // leave the field empty and let the user choose the ontology manually in a later step 364 365 } 360 366 } // end 361 367 } // end for
Note: See TracChangeset
for help on using the changeset viewer.