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 String
ICON_KEY
static String
LABEL
static String
NAMESPACE
static String
NODE_ID
static String
SOURCE_IFINDEX
static String
TARGET_IFINDEX
static String
TOOLTIP_TEXT
static 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(String id)
Set<OnmsTopologyEdge>
getEdges()
OnmsTopologyVertex
getVertex(String id)
Set<OnmsTopologyVertex>
getVertices()
boolean
hasEdge(String id)
boolean
hasVertex(String id)
void
setDefaultVertex(OnmsTopologyVertex defaultVertex)
void
setEdges(Set<OnmsTopologyEdge> edges)
void
setVertices(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)
-
-