private ResearchNode updateReference(ResearchMap map) { if (map.hasNode(name)) { return map.getNode(name); } return null; }
void setMap(ResearchMap map) { if (Objects.equals(mapName, map.getName())) { return; } if (locked) { throw new IllegalStateException("Cannot re-assign map of locked node " + name); } mapName = map.getName(); }