public class EdgeProviderMapImpl extends Object implements EdgeProvider
Constructor and Description |
---|
EdgeProviderMapImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addEdgeListener(EdgeListener edgeListener) |
void |
clearEdges() |
boolean |
contributesTo(String namespace)
This boolean returns true if the edges in this provider are intended
to contribute to or overlay another namespace
|
Edge |
getEdge(EdgeRef reference) |
Edge |
getEdge(String namespace,
String id) |
String |
getEdgeNamespace()
A string used to identify references belonging to this provider
May only container characters that make for a reasonable java identifier
such as letters digits and underscore (no colons, periods, commans etc.)
|
List<Edge> |
getEdges(Collection<? extends EdgeRef> references)
Return an immutable list of all edges that match this set of references.
|
List<Edge> |
getEdges(Criteria... criteria)
Return an immutable list of edges that match the criteria.
|
void |
removeEdgeListener(EdgeListener vertexListener) |
public void addEdgeListener(EdgeListener edgeListener)
addEdgeListener
in interface EdgeProvider
public Edge getEdge(String namespace, String id)
getEdge
in interface EdgeProvider
public Edge getEdge(EdgeRef reference)
getEdge
in interface EdgeProvider
public List<Edge> getEdges(Collection<? extends EdgeRef> references)
EdgeProvider
getEdges
in interface EdgeProvider
public String getEdgeNamespace()
EdgeProvider
getEdgeNamespace
in interface EdgeProvider
public boolean contributesTo(String namespace)
EdgeProvider
contributesTo
in interface EdgeProvider
namespace
- the namespace of a providerpublic void removeEdgeListener(EdgeListener vertexListener)
removeEdgeListener
in interface EdgeProvider
public List<Edge> getEdges(Criteria... criteria)
EdgeProvider
getEdges
in interface EdgeProvider
public void clearEdges()
clearEdges
in interface EdgeProvider
Copyright © 2017. All rights reserved.