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(java.util.List<T> someRelations)
void
addVertex(VertexEntity vertexEntity)
FocusEntity
getDefaultFocus()
java.lang.String
getDescription()
EdgeEntity
getEdgeByProperty(java.lang.String key, java.lang.String value)
java.util.List<EdgeEntity>
getEdges()
java.lang.String
getLabel()
VertexEntity
getVertexByProperty(java.lang.String key, java.lang.String value)
VertexEntity
getVertexByVertexId(java.lang.String id)
java.util.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 java.lang.String getDescription()
-
getLabel
public java.lang.String getLabel()
-
getEdges
public java.util.List<EdgeEntity> getEdges()
-
getVertices
public java.util.List<VertexEntity> getVertices()
-
getDefaultFocus
public FocusEntity getDefaultFocus()
-
setDefaultFocus
public void setDefaultFocus(FocusEntity defaultFocus)
-
getVertexByVertexId
public VertexEntity getVertexByVertexId(java.lang.String id)
-
getEdgeByProperty
public EdgeEntity getEdgeByProperty(java.lang.String key, java.lang.String value)
-
getVertexByProperty
public VertexEntity getVertexByProperty(java.lang.String key, java.lang.String value)
-
addRelations
public <T extends AbstractGraphEntity> void addRelations(java.util.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)
-
-