if (alignmentColumnNodes == null)
return hNodeIdToDomainNodeMap;
for (Node cNode : alignmentColumnNodes) {
Set<LabeledLink> incomingLinks = alignment.getCurrentIncomingLinksToNode(cNode.getId());
if (incomingLinks != null && !incomingLinks.isEmpty()) {
LabeledLink incomingLink = alignment.getCurrentIncomingLinksToNode(cNode.getId()).iterator().next();
if (incomingLink!= null && incomingLink.getSource() instanceof InternalNode) {
hNodeIdToDomainNodeMap.put(((ColumnNode)cNode).getHNodeId()
, (InternalNode)incomingLink.getSource());
}
}
}
return hNodeIdToDomainNodeMap;