Class OnmsTopologyEdge
- java.lang.Object
-
- org.opennms.netmgt.topologies.service.api.OnmsTopologyAbstractRef
-
- org.opennms.netmgt.topologies.service.api.OnmsTopologyEdge
-
- All Implemented Interfaces:
OnmsTopologyRef
public class OnmsTopologyEdge extends OnmsTopologyAbstractRef implements OnmsTopologyRef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(TopologyVisitor v)
static OnmsTopologyEdge
create(java.lang.String id, OnmsTopologyPort source, OnmsTopologyPort target)
OnmsTopologyPort
getPort(java.lang.String id)
java.util.List<OnmsTopologyPort>
getPorts()
OnmsTopologyPort
getSource()
OnmsTopologyPort
getTarget()
boolean
hasPort(java.lang.String id)
-
Methods inherited from class org.opennms.netmgt.topologies.service.api.OnmsTopologyAbstractRef
equals, getId, getToolTipText, hashCode, setToolTipText
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.topologies.service.api.OnmsTopologyRef
getId, getToolTipText
-
-
-
-
Method Detail
-
create
public static OnmsTopologyEdge create(java.lang.String id, OnmsTopologyPort source, OnmsTopologyPort target)
-
getSource
public OnmsTopologyPort getSource()
-
getTarget
public OnmsTopologyPort getTarget()
-
getPort
public OnmsTopologyPort getPort(java.lang.String id)
-
hasPort
public boolean hasPort(java.lang.String id)
-
getPorts
public java.util.List<OnmsTopologyPort> getPorts()
-
accept
public void accept(TopologyVisitor v)
- Specified by:
accept
in interfaceOnmsTopologyRef
- Specified by:
accept
in classOnmsTopologyAbstractRef
-
-