Revision 1d5daa79
Added by Patrick Plitzner over 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenTransformer.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.cdm.io.redlist.gefaesspflanzen; |
12 | 12 |
|
13 |
import java.util.UUID; |
|
14 |
|
|
13 | 15 |
import org.apache.log4j.Logger; |
14 | 16 |
|
15 | 17 |
import eu.etaxonomy.cdm.io.common.mapping.InputTransformerBase; |
... | ... | |
30 | 32 |
@SuppressWarnings("unused") |
31 | 33 |
private static final Logger logger = Logger.getLogger(RedListGefaesspflanzenTransformer.class); |
32 | 34 |
|
35 |
@Override |
|
36 |
public UUID getRankUuid(String key) throws UndefinedTransformerMethodException { |
|
37 |
if (key == null){return null;} |
|
38 |
if (key.equals("SAM")){return RedListUtil.uuidRankCollectionSpecies;} |
|
39 |
return null; |
|
40 |
} |
|
41 |
|
|
33 | 42 |
@Override |
34 | 43 |
public Rank getRankByKey(String key) throws UndefinedTransformerMethodException { |
35 | 44 |
if (key == null){return null;} |
Also available in: Unified diff
#5448 Import rank "SAM"