Revision 9d0d3e98
Added by Patrick Plitzner about 8 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportNames.java | ||
---|---|---|
123 | 123 |
//add author |
124 | 124 |
TeamOrPersonBase authorKomb = HibernateProxyHelper.deproxy(getAgentService().load(state.getAuthorMap().get(authorKombString)), TeamOrPersonBase.class); |
125 | 125 |
name.setCombinationAuthorship(authorKomb); |
126 |
TeamOrPersonBase authorBasi = HibernateProxyHelper.deproxy(getAgentService().load(state.getAuthorMap().get(authorBasiString)), TeamOrPersonBase.class); |
|
127 |
name.setBasionymAuthorship(authorBasi); |
|
128 |
|
|
129 |
//check authorship consistency |
|
130 |
String authorString = rs.getString("AUTOR"); |
|
131 |
if(!authorString.equals(name.getAuthorshipCache())){ |
|
132 |
logger.warn("Authorship inconsisten! Name-AuthorhshipCache: +"+name.getAuthorshipCache()+" Column AUTOR: "+authorString); |
|
133 |
} |
|
126 | 134 |
|
127 | 135 |
//id |
128 | 136 |
ImportHelper.setOriginalSource(name, state.getTransactionalSourceReference(), id, NAME_NAMESPACE); |
Also available in: Unified diff
Import basionym author