Revision f3e8dc28
Added by Andreas Müller about 1 year ago
app-import/src/main/java/eu/etaxonomy/cdm/io/mexico/MexicoBorhidiExcelImport.java | ||
---|---|---|
36 | 36 |
import eu.etaxonomy.cdm.model.taxon.Classification; |
37 | 37 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
38 | 38 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
39 |
import eu.etaxonomy.cdm.model.term.DefinedTerm;
|
|
39 |
import eu.etaxonomy.cdm.model.term.IdentifierType;
|
|
40 | 40 |
import eu.etaxonomy.cdm.model.term.TermVocabulary; |
41 | 41 |
import eu.etaxonomy.cdm.strategy.parser.TimePeriodParser; |
42 | 42 |
|
... | ... | |
224 | 224 |
String tropicosId = record.get("OutputNameID"); |
225 | 225 |
if (isNotBlank(tropicosId)){ |
226 | 226 |
String tropicosIdTypeLabel = "Tropicos Name Identifier"; |
227 |
UUID uuid = DefinedTerm.uuidTropicosNameIdentifier;
|
|
228 |
TermVocabulary<DefinedTerm> voc = null; //for now it goes to user defined voc
|
|
229 |
DefinedTerm identifierType = this.getIdentiferType(state, uuid, tropicosIdTypeLabel, tropicosIdTypeLabel, null, voc);
|
|
227 |
UUID uuid = IdentifierType.uuidTropicosNameIdentifier;
|
|
228 |
TermVocabulary<IdentifierType> voc = null; //for now it goes to user defined voc
|
|
229 |
IdentifierType identifierType = this.getIdentiferType(state, uuid, tropicosIdTypeLabel, tropicosIdTypeLabel, null, voc);
|
|
230 | 230 |
Identifier identifier = Identifier.NewInstance(tropicosId, identifierType); |
231 | 231 |
name.addIdentifier(identifier); |
232 | 232 |
} |
Also available in: Unified diff
ref #10260 change IdentifierType class in app-import