Revision 892efc69
Added by Andreas Kohlbecker almost 14 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/mapping/DbImportTaxIncludedInMapper.java | ||
---|---|---|
25 | 25 |
import eu.etaxonomy.cdm.model.reference.ReferenceBase; |
26 | 26 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
27 | 27 |
import eu.etaxonomy.cdm.model.taxon.TaxonBase; |
28 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
|
29 |
import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType; |
|
28 | 30 |
import eu.etaxonomy.cdm.model.taxon.TaxonomicTree; |
29 | 31 |
|
30 | 32 |
/** |
... | ... | |
208 | 210 |
state.addRelatedObject(TAXONOMIC_TREE_NAMESPACE, treeKey, tree); |
209 | 211 |
} |
210 | 212 |
|
211 |
tree.addParentChild(parent, child, citation, microCitation); |
|
212 |
return true;
|
|
213 |
TaxonNode childNode = tree.addParentChild(parent, child, citation, microCitation);
|
|
214 |
return (childNode != null);
|
|
213 | 215 |
} |
214 | 216 |
|
215 | 217 |
// |
Also available in: Unified diff
merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk