}
private Results<Node> foreignKeyReference(GraphDatabaseService db, EORelationship rel, Collection<? extends Number> nodeIds) {
Results<Node> referencedNodesProvider = new NodesWithIds(db, nodeIds);
return new NodesRelatedTo(referencedNodesProvider, rel);
}