Revision b2ce7834
Added by Andreas Müller almost 8 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/mexico/MexicoBorhidiExcelImport.java | ||
---|---|---|
88 | 88 |
String tropicosId = record.get("OutputNameID"); |
89 | 89 |
if (isNotBlank(tropicosId)){ |
90 | 90 |
String tropicosIdTypeLabel = "Tropicos Name Identifier"; |
91 |
UUID uuid = MexicoBorhidiTransformer.uuidTropicosNameIdentifier;
|
|
91 |
UUID uuid = MexicoConabioTransformer.uuidTropicosNameIdentifier;
|
|
92 | 92 |
TermVocabulary<DefinedTerm> voc = null; //for now it goes to user defined voc |
93 | 93 |
DefinedTerm identifierType = this.getIdentiferType(state, uuid, tropicosIdTypeLabel, tropicosIdTypeLabel, null, voc); |
94 | 94 |
Identifier<Taxon> identifier = Identifier.NewInstance(tropicosId, identifierType); |
... | ... | |
159 | 159 |
// volume = volume + "(" + issue + ")"; |
160 | 160 |
// } |
161 | 161 |
volume = volumeDetail[0]; |
162 |
String detail = volumeDetail.length > 1 ? volumeDetail[1] : null; |
|
162 |
String detail = volumeDetail.length > 1 ? volumeDetail[1].trim() : null;
|
|
163 | 163 |
|
164 | 164 |
// String detail = page; |
165 | 165 |
name.setNomenclaturalMicroReference(detail); |
Also available in: Unified diff
Update to mexico import #5822 / #5892