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()
NamespaceAwaregetNamespace in interface NamespaceAwarepublic boolean contributesTo(String namespace)
NamespaceAwareNamespaceAware.getNamespace(), but is not a requirement.contributesTo in interface NamespaceAwarenamespace - 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 EdgeProviderpublic Edge getEdge(EdgeRef reference)
getEdge in interface EdgeProviderpublic List<Edge> getEdges(Criteria... criteria)
EdgeProvidergetEdges in interface EdgeProviderpublic List<Edge> getEdges(Collection<? extends EdgeRef> references)
EdgeProvidergetEdges in interface EdgeProviderpublic void addEdgeListener(EdgeListener listener)
addEdgeListener in interface EdgeProviderpublic void removeEdgeListener(EdgeListener listener)
removeEdgeListener in interface EdgeProviderpublic void clearEdges()
clearEdges in interface EdgeProviderpublic int getEdgeTotalCount()
getEdgeTotalCount in interface EdgeProviderCopyright © 2019. All rights reserved.