String treeType = atree.getTypeDescription();
atree.setTreeType(getPhyloTreeHome().findTypeByDescription(treeType));
String treeKind = atree.getKindDescription();
atree.setTreeKind(getPhyloTreeHome().findKindByDescription(treeKind));
String treeQuality = atree.getQualityDescription();
TreeQuality quality = getPhyloTreeHome().findQualityByDescription(treeQuality);
atree.setTreeQuality(quality);
}
getPhyloTreeService().updateCollection(phyloTrees);
}
}