Revision 81893fcc
Added by Katja Luther over 14 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/faunaEuropaea/FaunaEuropaeaTaxonNameImport.java | ||
---|---|---|
768 | 768 |
int rank = fauEuTaxon.getRankId(); |
769 | 769 |
|
770 | 770 |
String originalGenusString; |
771 |
//rank is subgenus and the taxon is accepted -> the genusepithet is the parentName |
|
771 | 772 |
if (rank == R_SUBGENUS && fauEuTaxon.isValid()){ |
772 | 773 |
originalGenusString = fauEuTaxon.getParentName(); |
774 |
|
|
773 | 775 |
} else if (rank == R_SUBGENUS && !fauEuTaxon.isValid()){ |
776 |
//the rank is subgenus and not accepted -> the parent is the accepted taxon and the grandparent name is the genusepithet |
|
774 | 777 |
originalGenusString = fauEuTaxon.getGrandParentName(); |
775 | 778 |
}else{ |
776 | 779 |
originalGenusString = fauEuTaxon.getOriginalGenusName(); |
Also available in: Unified diff