Class LegacyApplicationVertex
- 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.application.LegacyApplicationVertex
-
- All Implemented Interfaces:
java.lang.Comparable<Ref>
,LevelAware
,Ref
,Vertex
,VertexRef
public class LegacyApplicationVertex extends AbstractLevelAwareVertex implements LevelAware
-
-
Field Summary
-
Fields inherited from class org.opennms.features.topology.api.topo.AbstractRef
m_id
-
-
Constructor Summary
Constructors Constructor Description LegacyApplicationVertex(java.lang.String id, java.lang.String label)
Creates a newApplicationVertex
.LegacyApplicationVertex(ApplicationVertex vertex)
LegacyApplicationVertex(OnmsApplication application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLevel()
LegacyApplicationVertex
getRoot()
java.lang.Integer
getServiceTypeId()
boolean
isLeaf()
boolean
isPartOf(java.lang.String applicationId)
boolean
isRoot()
void
setServiceTypeId(java.lang.Integer serviceTypeId)
-
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
-
LegacyApplicationVertex
public LegacyApplicationVertex(ApplicationVertex vertex)
-
LegacyApplicationVertex
public LegacyApplicationVertex(OnmsApplication application)
-
LegacyApplicationVertex
public LegacyApplicationVertex(java.lang.String id, java.lang.String label)
Creates a newApplicationVertex
.- Parameters:
id
- the unique id of this vertex. Must be unique overall the namespace.
-
-
Method Detail
-
setServiceTypeId
public void setServiceTypeId(java.lang.Integer serviceTypeId)
-
isRoot
public boolean isRoot()
-
isLeaf
public boolean isLeaf()
-
getServiceTypeId
public java.lang.Integer getServiceTypeId()
-
isPartOf
public boolean isPartOf(java.lang.String applicationId)
-
getRoot
public LegacyApplicationVertex getRoot()
-
getLevel
public int getLevel()
- Specified by:
getLevel
in interfaceLevelAware
-
-