private Edge getSubEdge() { if (this.subEdge == null) { this.subEdge = this.multiAtlas().subEdge(this.identifier); } return this.subEdge; }
public SubNodeList getSubNodes() { if (this.subNodes == null) { this.subNodes = multiAtlas().subNodes(this.identifier); } return this.subNodes; }
@Override public List<Relation> allRelationsWithSameOsmIdentifier() { return multiAtlas().relationAllRelationsWithSameOsmIdentifier(this.identifier); }
@Override public Set<Relation> relations() { return multiAtlas().multifyRelations(getSubEdge()); }
@Override public SortedSet<Edge> inEdges() { return attachedEdgesFromOverlappingNodes(node -> node.inEdges(), multiAtlas().getNodeIdentifiersToRemovedInEdges()); }
public SubLineList getSubLines() { if (this.subLineList == null) { this.subLineList = multiAtlas().subLines(this.identifier); } return this.subLineList; }
public SubAreaList getSubAreas() { if (this.subAreaList == null) { this.subAreaList = multiAtlas().subAreas(this.identifier); } return this.subAreaList; }
private SubRelationList getSubRelations() { if (this.subRelations == null) { this.subRelations = this.multiAtlas().subRelations(this.identifier); } return this.subRelations; }
public SubPointList getSubPoints() { if (this.subPoints == null) { this.subPoints = multiAtlas().subPoints(this.identifier); } return this.subPoints; }
@Override public String toString() { return "[TemporaryOrderedLocation: " + this.getLocation() + "), offset = " + this.offset + ", occurrence = " + this.occurrenceIndex + "]"; } }
private MultiAtlas multiAtlas() { return (MultiAtlas) this.getAtlas(); } }
private MultiAtlas multiAtlas() { return (MultiAtlas) this.getAtlas(); } }
/** * In case there is a master node overlapping this node, get the master node. * * @param identifier * The node identifier to query * @return The identifier of the master node that has the exact same location */ protected Optional<Long> masterNode(final Long identifier) { return this.nodesFixer.masterNode(identifier); }
/** * In case this node is a master, get all the overlapping nodes. * * @param identifier * The node identifier to query * @return The identifiers of the overlapping nodes that has the exact same location */ protected Set<Long> overlappingNodes(final Long identifier) { return this.nodesFixer.overlappingNodes(identifier); }
private MultiAtlas multiAtlas() { return (MultiAtlas) this.getAtlas(); } }
private MultiAtlas multiAtlas() { return (MultiAtlas) this.getAtlas(); } }
private MultiAtlas multiAtlas() { return (MultiAtlas) this.getAtlas(); } }
private MultiAtlas multiAtlas() { return (MultiAtlas) this.getAtlas(); } }
@Override public boolean equals(final Object other) { if (other instanceof TemporaryRelation) { final TemporaryRelation that = (TemporaryRelation) other; return this.getIdentifier() == that.getIdentifier(); } return false; }
public Atlas getAtlas() { if (this.multi == null) { setup(); } return this.multi; }