public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof MappingViewCommonComponent)) return false; final MappingViewCommonComponent mappingViewCommonComponent = (MappingViewCommonComponent) o; if (linkEdge != null ? !linkEdge.equals(mappingViewCommonComponent.linkEdge) : mappingViewCommonComponent.linkEdge != null) return false; if (sourceCell != null ? !sourceCell.equals(mappingViewCommonComponent.sourceCell) : mappingViewCommonComponent.sourceCell != null) return false; if (sourceNode != null ? !sourceNode.equals(mappingViewCommonComponent.sourceNode) : mappingViewCommonComponent.sourceNode != null) return false; if (targetCell != null ? !targetCell.equals(mappingViewCommonComponent.targetCell) : mappingViewCommonComponent.targetCell != null) return false; if (targetNode != null ? !targetNode.equals(mappingViewCommonComponent.targetNode) : mappingViewCommonComponent.targetNode != null) return false; return true; }
public boolean isTargetNode(MappableNode aNode) { return targetNode.equals(aNode); }
public boolean isSourceNode(MappableNode aNode) { return sourceNode.equals(aNode); }