public class NCSPathEdgeProvider extends Object implements EdgeProvider
Modifier and Type | Class and Description |
---|---|
static class |
NCSPathEdgeProvider.NCSPathEdge |
static class |
NCSPathEdgeProvider.NCSServicePathCriteria |
Modifier and Type | Field and Description |
---|---|
static String |
PATH_NAMESPACE |
Constructor and Description |
---|
NCSPathEdgeProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addEdgeListener(EdgeListener listener) |
void |
clearEdges() |
boolean |
contributesTo(String namespace)
Defines if the current implementation contributes to the given namespace.
|
Edge |
getEdge(EdgeRef reference) |
Edge |
getEdge(String namespace,
String id) |
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.
|
int |
getEdgeTotalCount() |
String |
getNamespace()
A string used to identify references belonging to this provider
May only contain characters that make for a reasonable Java identifier
such as letters digits and underscore (no colons, periods, commas etc.)
|
void |
removeEdgeListener(EdgeListener listener) |
public static final String PATH_NAMESPACE
public String getNamespace()
NamespaceAware
getNamespace
in interface NamespaceAware
public boolean contributesTo(String namespace)
NamespaceAware
NamespaceAware.getNamespace()
, but is not a requirement.contributesTo
in interface NamespaceAware
namespace
- the namespace to contribute totrue
, if the current implementation contributes to the given namespace, otherwise false
.public Edge getEdge(String namespace, String id)
getEdge
in interface EdgeProvider
public Edge getEdge(EdgeRef reference)
getEdge
in interface EdgeProvider
public List<Edge> getEdges(Criteria... criteria)
EdgeProvider
getEdges
in interface EdgeProvider
public List<Edge> getEdges(Collection<? extends EdgeRef> references)
EdgeProvider
getEdges
in interface EdgeProvider
public void addEdgeListener(EdgeListener listener)
addEdgeListener
in interface EdgeProvider
public void removeEdgeListener(EdgeListener listener)
removeEdgeListener
in interface EdgeProvider
public void clearEdges()
clearEdges
in interface EdgeProvider
public int getEdgeTotalCount()
getEdgeTotalCount
in interface EdgeProvider
Copyright © 2018. All rights reserved.