Class OnmsTopology
- java.lang.Object
-
- org.opennms.netmgt.topologies.service.api.OnmsTopology
-
public class OnmsTopology extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringICON_KEYstatic StringLABELstatic StringNAMESPACEstatic StringNODE_IDstatic StringSOURCE_IFINDEXstatic StringTARGET_IFINDEXstatic StringTOOLTIP_TEXTstatic StringTOPOLOGY_NAMESPACE_LINKD
-
Constructor Summary
Constructors Constructor Description OnmsTopology()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEdge(OnmsTopologyEdge e)voidaddVertex(OnmsTopologyVertex v)OnmsTopologyclone()OnmsTopologyVertexgetDefaultVertex()OnmsTopologyEdgegetEdge(String id)Set<OnmsTopologyEdge>getEdges()OnmsTopologyVertexgetVertex(String id)Set<OnmsTopologyVertex>getVertices()booleanhasEdge(String id)booleanhasVertex(String id)voidsetDefaultVertex(OnmsTopologyVertex defaultVertex)voidsetEdges(Set<OnmsTopologyEdge> edges)voidsetVertices(Set<OnmsTopologyVertex> vertices)
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
ICON_KEY
public static final String ICON_KEY
- See Also:
- Constant Field Values
-
LABEL
public static final String LABEL
- See Also:
- Constant Field Values
-
NODE_ID
public static final String NODE_ID
- See Also:
- Constant Field Values
-
TOOLTIP_TEXT
public static final String TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
SOURCE_IFINDEX
public static final String SOURCE_IFINDEX
- See Also:
- Constant Field Values
-
TARGET_IFINDEX
public static final String TARGET_IFINDEX
- See Also:
- Constant Field Values
-
TOPOLOGY_NAMESPACE_LINKD
public static final String TOPOLOGY_NAMESPACE_LINKD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVertex
public OnmsTopologyVertex getVertex(String id)
-
getEdge
public OnmsTopologyEdge getEdge(String id)
-
getVertices
public Set<OnmsTopologyVertex> getVertices()
-
addVertex
public void addVertex(OnmsTopologyVertex v)
-
setVertices
public void setVertices(Set<OnmsTopologyVertex> vertices)
-
getEdges
public Set<OnmsTopologyEdge> getEdges()
-
addEdge
public void addEdge(OnmsTopologyEdge e)
-
setEdges
public void setEdges(Set<OnmsTopologyEdge> edges)
-
hasVertex
public boolean hasVertex(String id)
-
hasEdge
public boolean hasEdge(String id)
-
clone
public OnmsTopology clone()
-
getDefaultVertex
public OnmsTopologyVertex getDefaultVertex()
-
setDefaultVertex
public void setDefaultVertex(OnmsTopologyVertex defaultVertex)
-
-