+\r
+ /* (non-Javadoc)\r
+ * @see eu.etaxonomy.cdm.model.taxon.ITreeNode#addChildNode(eu.etaxonomy.cdm.model.taxon.TaxonNode, eu.etaxonomy.cdm.model.reference.ReferenceBase, java.lang.String, eu.etaxonomy.cdm.model.taxon.Synonym)\r
+ */\r
+ public TaxonNode addChildNode(TaxonNode childNode, ReferenceBase citation,\r
+ String microCitation, Synonym synonymToBeUsed) {\r
+ \r
+ rootNodes.add(childNode);\r
+ childNode.setParent(null);\r
+ childNode.setTaxonomicTree(this);\r
+ childNode.setReference(citation);\r
+ childNode.setMicroReference(microCitation);\r
+ childNode.setSynonymToBeUsed(synonymToBeUsed);\r
+ \r
+ return childNode;\r
+ }\r
+\r
+ /* (non-Javadoc)\r
+ * @see eu.etaxonomy.cdm.model.taxon.ITreeNode#addChildTaxon(eu.etaxonomy.cdm.model.taxon.Taxon, eu.etaxonomy.cdm.model.reference.ReferenceBase, java.lang.String, eu.etaxonomy.cdm.model.taxon.Synonym)\r
+ */\r
+ public TaxonNode addChildTaxon(Taxon taxon, ReferenceBase citation,\r
+ String microCitation, Synonym synonymToBeUsed) {\r
+ return addChildNode(new TaxonNode(taxon), citation, microCitation, synonymToBeUsed);\r
+ }\r