Package org.opennms.netmgt.graph
Class GraphEntity
- java.lang.Object
-
- org.opennms.netmgt.graph.AbstractGraphEntity
-
- org.opennms.netmgt.graph.GraphEntity
-
@Entity public class GraphEntity extends AbstractGraphEntity
-
-
Constructor Summary
Constructors Constructor Description GraphEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEdge(EdgeEntity edgeEntity)
<T extends AbstractGraphEntity>
voidaddRelations(List<T> someRelations)
void
addVertex(VertexEntity vertexEntity)
FocusEntity
getDefaultFocus()
String
getDescription()
EdgeEntity
getEdgeByProperty(String key, String value)
List<EdgeEntity>
getEdges()
String
getLabel()
VertexEntity
getVertexByProperty(String key, String value)
VertexEntity
getVertexByVertexId(String id)
List<VertexEntity>
getVertices()
void
removeEdge(EdgeEntity edgeEntity)
void
removeVertex(VertexEntity vertexEntity)
void
setDefaultFocus(FocusEntity defaultFocus)
-
Methods inherited from class org.opennms.netmgt.graph.AbstractGraphEntity
getNamespace, getProperties, getProperty, getPropertyValue, mergeProperties, setNamespace, setProperties, setProperty
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
-
getLabel
public String getLabel()
-
getEdges
public List<EdgeEntity> getEdges()
-
getVertices
public List<VertexEntity> getVertices()
-
getDefaultFocus
public FocusEntity getDefaultFocus()
-
setDefaultFocus
public void setDefaultFocus(FocusEntity defaultFocus)
-
getVertexByVertexId
public VertexEntity getVertexByVertexId(String id)
-
getEdgeByProperty
public EdgeEntity getEdgeByProperty(String key, String value)
-
getVertexByProperty
public VertexEntity getVertexByProperty(String key, String value)
-
addRelations
public <T extends AbstractGraphEntity> void addRelations(List<T> someRelations)
-
addVertex
public void addVertex(VertexEntity vertexEntity)
-
removeVertex
public void removeVertex(VertexEntity vertexEntity)
-
addEdge
public void addEdge(EdgeEntity edgeEntity)
-
removeEdge
public void removeEdge(EdgeEntity edgeEntity)
-
-