Class BusinessServiceGraphImpl
- java.lang.Object
-
- edu.uci.ics.jung.graph.AbstractGraph<V,E>
-
- edu.uci.ics.jung.graph.AbstractTypedGraph<V,E>
-
- edu.uci.ics.jung.graph.DirectedSparseMultigraph<GraphVertex,GraphEdge>
-
- org.opennms.netmgt.bsm.service.model.graph.internal.BusinessServiceGraphImpl
-
- All Implemented Interfaces:
edu.uci.ics.jung.graph.DirectedGraph<GraphVertex,GraphEdge>
,edu.uci.ics.jung.graph.Graph<GraphVertex,GraphEdge>
,edu.uci.ics.jung.graph.Hypergraph<GraphVertex,GraphEdge>
,edu.uci.ics.jung.graph.MultiGraph<GraphVertex,GraphEdge>
,Serializable
,BusinessServiceGraph
public class BusinessServiceGraphImpl extends edu.uci.ics.jung.graph.DirectedSparseMultigraph<GraphVertex,GraphEdge> implements BusinessServiceGraph
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BusinessServiceGraphImpl(List<? extends BusinessService> businessServices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphEdge
getGraphEdgeByEdgeId(Long id)
Set<String>
getReductionKeys()
GraphVertex
getVertexByApplicationId(Integer id)
GraphVertex
getVertexByBusinessServiceId(Long id)
GraphVertex
getVertexByEdgeId(Long id)
GraphVertex
getVertexByIpServiceId(Integer id)
GraphVertex
getVertexByReductionKey(String reductionKey)
Set<GraphVertex>
getVerticesByLevel(int level)
-
Methods inherited from class edu.uci.ics.jung.graph.DirectedSparseMultigraph
addEdge, addVertex, containsEdge, containsVertex, findEdge, getDest, getEdgeCount, getEdges, getEndpoints, getFactory, getIncidentEdges, getIncoming_internal, getInEdges, getNeighbors, getOutEdges, getOutgoing_internal, getPredecessors, getSource, getSuccessors, getVertexCount, getVertices, isDest, isSource, removeEdge, removeVertex
-
Methods inherited from class edu.uci.ics.jung.graph.AbstractTypedGraph
getDefaultEdgeType, getEdgeCount, getEdges, getEdgeType, hasEqualEdgeType, validateEdgeType
-
Methods inherited from class edu.uci.ics.jung.graph.AbstractGraph
addEdge, addEdge, addEdge, addEdge, addEdge, degree, findEdgeSet, getIncidentCount, getIncidentVertices, getNeighborCount, getOpposite, getPredecessorCount, getSuccessorCount, getValidatedEndpoints, inDegree, isIncident, isNeighbor, isPredecessor, isSuccessor, outDegree, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface edu.uci.ics.jung.graph.Graph
addEdge, addEdge, getDest, getEndpoints, getInEdges, getOpposite, getOutEdges, getPredecessorCount, getPredecessors, getSource, getSuccessorCount, getSuccessors, inDegree, isDest, isPredecessor, isSource, isSuccessor, outDegree
-
Methods inherited from interface edu.uci.ics.jung.graph.Hypergraph
addEdge, addEdge, addVertex, containsEdge, containsVertex, degree, findEdge, findEdgeSet, getDefaultEdgeType, getEdgeCount, getEdgeCount, getEdges, getEdges, getEdgeType, getIncidentCount, getIncidentEdges, getIncidentVertices, getNeighborCount, getNeighbors, getVertexCount, getVertices, isIncident, isNeighbor, removeEdge, removeVertex
-
-
-
-
Constructor Detail
-
BusinessServiceGraphImpl
public BusinessServiceGraphImpl(List<? extends BusinessService> businessServices)
-
-
Method Detail
-
getVertexByBusinessServiceId
public GraphVertex getVertexByBusinessServiceId(Long id)
- Specified by:
getVertexByBusinessServiceId
in interfaceBusinessServiceGraph
-
getVertexByIpServiceId
public GraphVertex getVertexByIpServiceId(Integer id)
- Specified by:
getVertexByIpServiceId
in interfaceBusinessServiceGraph
-
getVertexByApplicationId
public GraphVertex getVertexByApplicationId(Integer id)
- Specified by:
getVertexByApplicationId
in interfaceBusinessServiceGraph
-
getVertexByReductionKey
public GraphVertex getVertexByReductionKey(String reductionKey)
- Specified by:
getVertexByReductionKey
in interfaceBusinessServiceGraph
-
getVertexByEdgeId
public GraphVertex getVertexByEdgeId(Long id)
- Specified by:
getVertexByEdgeId
in interfaceBusinessServiceGraph
-
getGraphEdgeByEdgeId
public GraphEdge getGraphEdgeByEdgeId(Long id)
- Specified by:
getGraphEdgeByEdgeId
in interfaceBusinessServiceGraph
-
getReductionKeys
public Set<String> getReductionKeys()
- Specified by:
getReductionKeys
in interfaceBusinessServiceGraph
-
getVerticesByLevel
public Set<GraphVertex> getVerticesByLevel(int level)
- Specified by:
getVerticesByLevel
in interfaceBusinessServiceGraph
-
-