Class AbstractBusinessServiceVertex
- java.lang.Object
-
- org.opennms.features.topology.api.topo.AbstractRef
-
- org.opennms.features.topology.api.topo.DefaultVertexRef
-
- org.opennms.features.topology.api.topo.AbstractVertex
-
- org.opennms.features.topology.api.topo.AbstractLevelAwareVertex
-
- org.opennms.features.topology.plugins.topo.bsm.AbstractBusinessServiceVertex
-
- All Implemented Interfaces:
java.lang.Comparable<Ref>
,LevelAware
,Ref
,Vertex
,VertexRef
- Direct Known Subclasses:
ApplicationVertex
,BusinessServiceVertex
,IpServiceVertex
,ReductionKeyVertex
public abstract class AbstractBusinessServiceVertex extends AbstractLevelAwareVertex implements LevelAware
-
-
Field Summary
-
Fields inherited from class org.opennms.features.topology.api.topo.AbstractRef
m_id
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBusinessServiceVertex(java.lang.String id, java.lang.String label, int level)
Creates a newAbstractBusinessServiceVertex
.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract <T> T
accept(BusinessServiceVertexVisitor<T> visitor)
int
getLevel()
abstract java.util.Set<java.lang.String>
getReductionKeys()
abstract org.opennms.features.topology.plugins.topo.bsm.AbstractBusinessServiceVertex.Type
getType()
abstract boolean
isLeaf()
-
Methods inherited from class org.opennms.features.topology.api.topo.AbstractLevelAwareVertex
addChildren, getChildren, getParent, setParent
-
Methods inherited from class org.opennms.features.topology.api.topo.AbstractVertex
getEdgePathOffset, getIconKey, getIpAddress, getItem, getKey, getNodeID, getStyleName, getTooltipText, getX, getY, isLocked, isSelected, setEdgePathOffset, setIconKey, setIpAddress, setLocked, setNodeID, setSelected, setStyleName, setTooltipText, setX, setY, toString
-
Methods inherited from class org.opennms.features.topology.api.topo.DefaultVertexRef
equals
-
Methods inherited from class org.opennms.features.topology.api.topo.AbstractRef
compareTo, getId, getLabel, getNamespace, hashCode, setLabel
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opennms.features.topology.api.topo.Ref
getId, getNamespace
-
-
-
-
Constructor Detail
-
AbstractBusinessServiceVertex
protected AbstractBusinessServiceVertex(java.lang.String id, java.lang.String label, int level)
Creates a newAbstractBusinessServiceVertex
.- Parameters:
id
- the unique id of this vertex. Must be unique overall the namespace.label
- a human readable labellevel
- the level of the vertex in the Business Service Hierarchy. The root element is level 0.
-
-
Method Detail
-
getLevel
public int getLevel()
- Specified by:
getLevel
in interfaceLevelAware
-
isLeaf
public abstract boolean isLeaf()
-
getType
public abstract org.opennms.features.topology.plugins.topo.bsm.AbstractBusinessServiceVertex.Type getType()
-
getReductionKeys
public abstract java.util.Set<java.lang.String> getReductionKeys()
-
accept
public abstract <T> T accept(BusinessServiceVertexVisitor<T> visitor)
-
-