Class OnmsTopology
- java.lang.Object
-
- org.opennms.netmgt.topologies.service.api.OnmsTopology
-
public class OnmsTopology extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ICON_KEY
static java.lang.String
LABEL
static java.lang.String
NAMESPACE
static java.lang.String
NODE_ID
static java.lang.String
SOURCE_IFINDEX
static java.lang.String
TARGET_IFINDEX
static java.lang.String
TOOLTIP_TEXT
static java.lang.String
TOPOLOGY_NAMESPACE_LINKD
-
Constructor Summary
Constructors Constructor Description OnmsTopology()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEdge(OnmsTopologyEdge e)
void
addVertex(OnmsTopologyVertex v)
OnmsTopology
clone()
OnmsTopologyVertex
getDefaultVertex()
OnmsTopologyEdge
getEdge(java.lang.String id)
java.util.Set<OnmsTopologyEdge>
getEdges()
OnmsTopologyVertex
getVertex(java.lang.String id)
java.util.Set<OnmsTopologyVertex>
getVertices()
boolean
hasEdge(java.lang.String id)
boolean
hasVertex(java.lang.String id)
void
setDefaultVertex(OnmsTopologyVertex defaultVertex)
void
setEdges(java.util.Set<OnmsTopologyEdge> edges)
void
setVertices(java.util.Set<OnmsTopologyVertex> vertices)
-
-
-
Field Detail
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
ICON_KEY
public static final java.lang.String ICON_KEY
- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
-
NODE_ID
public static final java.lang.String NODE_ID
- See Also:
- Constant Field Values
-
TOOLTIP_TEXT
public static final java.lang.String TOOLTIP_TEXT
- See Also:
- Constant Field Values
-
SOURCE_IFINDEX
public static final java.lang.String SOURCE_IFINDEX
- See Also:
- Constant Field Values
-
TARGET_IFINDEX
public static final java.lang.String TARGET_IFINDEX
- See Also:
- Constant Field Values
-
TOPOLOGY_NAMESPACE_LINKD
public static final java.lang.String TOPOLOGY_NAMESPACE_LINKD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVertex
public OnmsTopologyVertex getVertex(java.lang.String id)
-
getEdge
public OnmsTopologyEdge getEdge(java.lang.String id)
-
getVertices
public java.util.Set<OnmsTopologyVertex> getVertices()
-
addVertex
public void addVertex(OnmsTopologyVertex v)
-
setVertices
public void setVertices(java.util.Set<OnmsTopologyVertex> vertices)
-
getEdges
public java.util.Set<OnmsTopologyEdge> getEdges()
-
addEdge
public void addEdge(OnmsTopologyEdge e)
-
setEdges
public void setEdges(java.util.Set<OnmsTopologyEdge> edges)
-
hasVertex
public boolean hasVertex(java.lang.String id)
-
hasEdge
public boolean hasEdge(java.lang.String id)
-
clone
public OnmsTopology clone()
- Overrides:
clone
in classjava.lang.Object
-
getDefaultVertex
public OnmsTopologyVertex getDefaultVertex()
-
setDefaultVertex
public void setDefaultVertex(OnmsTopologyVertex defaultVertex)
-
-