Class AbstractEdge
- java.lang.Object
-
- org.opennms.features.topology.api.topo.AbstractRef
-
- org.opennms.features.topology.api.topo.AbstractEdgeRef
-
- org.opennms.features.topology.api.topo.AbstractEdge
-
- Direct Known Subclasses:
BusinessServiceEdge
,GraphMLEdge
,LegacyEdge
,LinkdEdge
public class AbstractEdge extends AbstractEdgeRef implements Edge
-
-
Field Summary
-
Fields inherited from class org.opennms.features.topology.api.topo.AbstractRef
m_id
-
-
Constructor Summary
Constructors Modifier Constructor Description AbstractEdge(String namespace, String id, SimpleConnector source, SimpleConnector target)
AbstractEdge(String namespace, String id, VertexRef source, VertexRef target)
protected
AbstractEdge(AbstractEdge edgeToClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractEdge
clone()
com.vaadin.v7.data.Item
getItem()
String
getKey()
Deprecated.Use namespace/id tupleSimpleConnector
getSource()
String
getStyleName()
SimpleConnector
getTarget()
String
getTooltipText()
void
setId(String id)
Allow code to override the ID on cloned instances.void
setStyleName(String styleName)
void
setTooltipText(String tooltipText)
String
toString()
-
Methods inherited from class org.opennms.features.topology.api.topo.AbstractEdgeRef
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
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.opennms.features.topology.api.topo.Ref
getId, getNamespace
-
-
-
-
Constructor Detail
-
AbstractEdge
public AbstractEdge(String namespace, String id, SimpleConnector source, SimpleConnector target)
-
AbstractEdge
protected AbstractEdge(AbstractEdge edgeToClone)
-
-
Method Detail
-
clone
public AbstractEdge clone()
-
setId
public void setId(String id)
Description copied from interface:Edge
Allow code to override the ID on cloned instances.
-
getKey
public String getKey()
Deprecated.Use namespace/id tuple
-
getTooltipText
public String getTooltipText()
- Specified by:
getTooltipText
in interfaceEdge
-
getStyleName
public final String getStyleName()
- Specified by:
getStyleName
in interfaceEdge
-
setTooltipText
public final void setTooltipText(String tooltipText)
- Specified by:
setTooltipText
in interfaceEdge
-
setStyleName
public final void setStyleName(String styleName)
- Specified by:
setStyleName
in interfaceEdge
-
getSource
public final SimpleConnector getSource()
-
getTarget
public final SimpleConnector getTarget()
-
toString
public String toString()
- Overrides:
toString
in classAbstractEdgeRef
-
-