Package org.opennms.netmgt.graph.api
Interface ImmutableGraph<V extends Vertex,E extends Edge>
-
- All Superinterfaces:
GraphInfo
- All Known Implementing Classes:
AbstractDomainGraph,ApplicationGraph,BusinessServiceGraph,CustomGraph,GenericGraph,LegacyGraph,SimpleDomainGraph
public interface ImmutableGraph<V extends Vertex,E extends Edge> extends GraphInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenericGraphasGenericGraph()Collection<E>getConnectingEdges(V eachVertex)FocusgetDefaultFocus()EgetEdge(String id)List<String>getEdgeIds()List<E>getEdges()Collection<V>getNeighbors(V eachVertex)VgetVertex(String id)List<String>getVertexIds()List<V>getVertices()ImmutableGraph<V,E>getView(Collection<V> verticesInFocus, int szl)List<E>resolveEdges(Collection<String> edgeIds)VresolveVertex(VertexRef vertexRef)List<V>resolveVertices(Collection<String> vertexIds)List<V>resolveVertices(NodeRef nodeRef)-
Methods inherited from interface org.opennms.netmgt.graph.api.info.GraphInfo
getDescription, getLabel, getNamespace
-
-
-
-
Method Detail
-
getView
ImmutableGraph<V,E> getView(Collection<V> verticesInFocus, int szl)
-
resolveVertices
List<V> resolveVertices(Collection<String> vertexIds)
-
resolveEdges
List<E> resolveEdges(Collection<String> edgeIds)
-
getNeighbors
Collection<V> getNeighbors(V eachVertex)
-
getConnectingEdges
Collection<E> getConnectingEdges(V eachVertex)
-
getDefaultFocus
Focus getDefaultFocus()
-
asGenericGraph
GenericGraph asGenericGraph()
-
-