Class ReductionKeyVertex
- 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
-
- org.opennms.features.topology.plugins.topo.bsm.ReductionKeyVertex
-
- All Implemented Interfaces:
java.lang.Comparable<Ref>
,LevelAware
,Ref
,Vertex
,VertexRef
public class ReductionKeyVertex extends AbstractBusinessServiceVertex
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_LABEL_LENGTH
-
Fields inherited from class org.opennms.features.topology.api.topo.AbstractRef
m_id
-
-
Constructor Summary
Constructors Constructor Description ReductionKeyVertex(java.lang.String reductionKey, int level)
ReductionKeyVertex(GraphVertex graphVertex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(BusinessServiceVertexVisitor<T> visitor)
protected static java.lang.String
getLabelFromReductionKey(java.lang.String reductionKey)
java.lang.String
getReductionKey()
java.util.Set<java.lang.String>
getReductionKeys()
org.opennms.features.topology.plugins.topo.bsm.AbstractBusinessServiceVertex.Type
getType()
boolean
isLeaf()
-
Methods inherited from class org.opennms.features.topology.plugins.topo.bsm.AbstractBusinessServiceVertex
getLevel
-
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
-
-
-
-
Field Detail
-
MAX_LABEL_LENGTH
public static final int MAX_LABEL_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReductionKeyVertex
public ReductionKeyVertex(GraphVertex graphVertex)
-
ReductionKeyVertex
public ReductionKeyVertex(java.lang.String reductionKey, int level)
-
-
Method Detail
-
getLabelFromReductionKey
protected static java.lang.String getLabelFromReductionKey(java.lang.String reductionKey)
-
getReductionKey
public java.lang.String getReductionKey()
-
getType
public org.opennms.features.topology.plugins.topo.bsm.AbstractBusinessServiceVertex.Type getType()
- Specified by:
getType
in classAbstractBusinessServiceVertex
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in classAbstractBusinessServiceVertex
-
getReductionKeys
public java.util.Set<java.lang.String> getReductionKeys()
- Specified by:
getReductionKeys
in classAbstractBusinessServiceVertex
-
accept
public <T> T accept(BusinessServiceVertexVisitor<T> visitor)
- Specified by:
accept
in classAbstractBusinessServiceVertex
-
-