Revision 4c575756
Added by Andreas Müller over 4 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/erms/ErmsReferenceImport.java | ||
---|---|---|
95 | 95 |
|
96 | 96 |
//not yet implemented |
97 | 97 |
|
98 |
mapping.addMapper(DbIgnoreMapper.NewInstance("source_type", "Handled by ObjectCreateMapper - but mapping not yet fully correct. See comments there."));
|
|
98 |
mapping.addMapper(DbIgnoreMapper.NewInstance("source_type", "Handled by ObjectCreateMapper")); |
|
99 | 99 |
mapping.addMapper(DbIgnoreMapper.NewInstance("source_orig_fn", "Currently not needed. Holds information about pdf files.")); |
100 | 100 |
mapping.addMapper(DbIgnoreMapper.NewInstance("source_openaccess", "Currently not needed. Holds information about open access of the source.")); |
101 | 101 |
|
... | ... | |
105 | 105 |
|
106 | 106 |
@Override |
107 | 107 |
public Reference createObject(ResultSet rs, ErmsImportState state) throws SQLException { |
108 |
// int id = rs.getInt("id"); |
|
109 | 108 |
String type = rs.getString("source_type"); |
110 | 109 |
Reference ref; |
111 | 110 |
if (type.equalsIgnoreCase("p")){ |
Also available in: Unified diff
ref #1444 minor changes and cleanup