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(java.lang.Object obj)
GraphMLEdge
getEdgeById(java.lang.String id)
java.util.Collection<GraphMLEdge>
getEdges()
GraphMLNode
getNodeById(java.lang.String id)
java.util.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 java.util.Collection<GraphMLEdge> getEdges()
-
getNodes
public java.util.Collection<GraphMLNode> getNodes()
-
getNodeById
public GraphMLNode getNodeById(java.lang.String id)
-
getEdgeById
public GraphMLEdge getEdgeById(java.lang.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(java.lang.Object obj)
- Overrides:
equals
in classGraphMLElement
-
-