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 GenericGraph
asGenericGraph()
java.util.Collection<E>
getConnectingEdges(V eachVertex)
Focus
getDefaultFocus()
E
getEdge(java.lang.String id)
java.util.List<java.lang.String>
getEdgeIds()
java.util.List<E>
getEdges()
java.util.Collection<V>
getNeighbors(V eachVertex)
V
getVertex(java.lang.String id)
java.util.List<java.lang.String>
getVertexIds()
java.util.List<V>
getVertices()
ImmutableGraph<V,E>
getView(java.util.Collection<V> verticesInFocus, int szl)
java.util.List<E>
resolveEdges(java.util.Collection<java.lang.String> edgeIds)
V
resolveVertex(VertexRef vertexRef)
java.util.List<V>
resolveVertices(java.util.Collection<java.lang.String> vertexIds)
java.util.List<V>
resolveVertices(NodeRef nodeRef)
-
Methods inherited from interface org.opennms.netmgt.graph.api.info.GraphInfo
getDescription, getLabel, getNamespace
-
-
-
-
Method Detail
-
getVertices
java.util.List<V> getVertices()
-
getEdges
java.util.List<E> getEdges()
-
getVertex
V getVertex(java.lang.String id)
-
getEdge
E getEdge(java.lang.String id)
-
getVertexIds
java.util.List<java.lang.String> getVertexIds()
-
getEdgeIds
java.util.List<java.lang.String> getEdgeIds()
-
getView
ImmutableGraph<V,E> getView(java.util.Collection<V> verticesInFocus, int szl)
-
resolveVertices
java.util.List<V> resolveVertices(java.util.Collection<java.lang.String> vertexIds)
-
resolveEdges
java.util.List<E> resolveEdges(java.util.Collection<java.lang.String> edgeIds)
-
getDefaultFocus
Focus getDefaultFocus()
-
asGenericGraph
GenericGraph asGenericGraph()
-
-