public void visit(HierarchyNode hierarchyNode) {
com.projectlibre.core.nodes.Node node=hierarchyNode.getNode();
if (!(node instanceof Task)) //ignore assignments present in task hierarchy
return;
Task task=(Task)node;
HierarchyNode parentHierarchyNode=hierarchyNode.getParent();
Task parentTask=null;
if (!parentHierarchyNode.isRoot())
parentTask=(Task)parentHierarchyNode.getNode();
//openproj task conversion
NormalTask openprojTask=project.newNormalTaskInstance(false);
openprojTask.setOwningProject(project);
openprojTask.setProjectId(project.getUniqueId());