Class GraphMLGraph
- java.lang.Object
-
- org.opennms.features.graphml.model.GraphMLElement
-
- org.opennms.features.graphml.model.GraphMLGraph
-
public class GraphMLGraph extends GraphMLElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.features.graphml.model.GraphMLElement
GraphMLElement.GraphMLElementVisitor<T>
-
-
Field Summary
-
Fields inherited from class org.opennms.features.graphml.model.GraphMLElement
ID
-
-
Constructor Summary
Constructors Constructor Description GraphMLGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(GraphMLElement.GraphMLElementVisitor<T> visitor)
void
addEdge(GraphMLEdge edge)
void
addNode(GraphMLNode node)
boolean
equals(Object obj)
GraphMLEdge
getEdgeById(String id)
Collection<GraphMLEdge>
getEdges()
GraphMLNode
getNodeById(String id)
Collection<GraphMLNode>
getNodes()
int
hashCode()
-
Methods inherited from class org.opennms.features.graphml.model.GraphMLElement
getId, getProperties, getProperty, getProperty, setId, setProperty, toString
-
-
-
-
Method Detail
-
addEdge
public void addEdge(GraphMLEdge edge)
-
addNode
public void addNode(GraphMLNode node)
-
getEdges
public Collection<GraphMLEdge> getEdges()
-
getNodes
public Collection<GraphMLNode> getNodes()
-
getNodeById
public GraphMLNode getNodeById(String id)
-
getEdgeById
public GraphMLEdge getEdgeById(String id)
-
accept
public <T> T accept(GraphMLElement.GraphMLElementVisitor<T> visitor)
- Specified by:
accept
in classGraphMLElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGraphMLElement
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classGraphMLElement
-
-