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(java.lang.String namespace, java.lang.String id, SimpleConnector source, SimpleConnector target)
AbstractEdge(java.lang.String namespace, java.lang.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()
java.lang.String
getKey()
Deprecated.Use namespace/id tupleSimpleConnector
getSource()
java.lang.String
getStyleName()
SimpleConnector
getTarget()
java.lang.String
getTooltipText()
void
setId(java.lang.String id)
Allow code to override the ID on cloned instances.void
setStyleName(java.lang.String styleName)
void
setTooltipText(java.lang.String tooltipText)
java.lang.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 org.opennms.features.topology.api.topo.Ref
getId, getNamespace
-
-
-
-
Constructor Detail
-
AbstractEdge
public AbstractEdge(java.lang.String namespace, java.lang.String id, VertexRef source, VertexRef target)
-
AbstractEdge
public AbstractEdge(java.lang.String namespace, java.lang.String id, SimpleConnector source, SimpleConnector target)
-
AbstractEdge
protected AbstractEdge(AbstractEdge edgeToClone)
-
-
Method Detail
-
clone
public AbstractEdge clone()
-
setId
public void setId(java.lang.String id)
Description copied from interface:Edge
Allow code to override the ID on cloned instances.
-
getKey
public java.lang.String getKey()
Deprecated.Use namespace/id tuple
-
getTooltipText
public java.lang.String getTooltipText()
- Specified by:
getTooltipText
in interfaceEdge
-
getStyleName
public final java.lang.String getStyleName()
- Specified by:
getStyleName
in interfaceEdge
-
setTooltipText
public final void setTooltipText(java.lang.String tooltipText)
- Specified by:
setTooltipText
in interfaceEdge
-
setStyleName
public final void setStyleName(java.lang.String styleName)
- Specified by:
setStyleName
in interfaceEdge
-
getSource
public final SimpleConnector getSource()
-
getTarget
public final SimpleConnector getTarget()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractEdgeRef
-
-