Revision d56af3e2
Added by Patrick Plitzner about 8 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/gefaesspflanzen/RedListGefaesspflanzenImportNames.java | ||
---|---|---|
127 | 127 |
logger.error("NAMNR: "+id+" EPI1 is empty!"); |
128 | 128 |
} |
129 | 129 |
name.setGenusOrUninomial(ep1String); |
130 |
// if(CdmUtils.isBlank(ep2String)){ |
|
131 |
// name.setSpecificEpithet(ep2String); |
|
132 |
// } |
|
133 |
// if(CdmUtils.isBlank(ep3String)){ |
|
134 |
// } |
|
135 |
if(rank.isSpecies()){ |
|
136 |
if(!CdmUtils.isBlank(ep2String)){ |
|
137 |
name.setSpecificEpithet(ep2String); |
|
138 |
} |
|
130 |
if(!CdmUtils.isBlank(ep2String)){ |
|
131 |
name.setSpecificEpithet(ep2String); |
|
139 | 132 |
} |
140 |
else if(rank.isLower(Rank.SPECIES())){ |
|
141 |
if(!CdmUtils.isBlank(ep3String)){ |
|
142 |
name.setSpecificEpithet(ep3String); |
|
133 |
if(!CdmUtils.isBlank(ep3String)){ |
|
134 |
if(rank==Rank.SUBSPECIES() || |
|
135 |
rank==Rank.VARIETY()){ |
|
136 |
name.setInfraSpecificEpithet(ep3String); |
|
143 | 137 |
} |
144 | 138 |
} |
145 | 139 |
|
Also available in: Unified diff
Set infraspecific epithet