Package org.onosproject.ui.model.topo
Class UiEdgeLink
- java.lang.Object
- 
- org.onosproject.ui.model.topo.UiElement
- 
- org.onosproject.ui.model.topo.UiLink
- 
- org.onosproject.ui.model.topo.UiEdgeLink
 
 
 
- 
 public class UiEdgeLink extends UiLink Designates a link between a device and a host; that is, an edge link.
- 
- 
Constructor SummaryConstructors Constructor Description UiEdgeLink(UiTopology topology, UiLinkId id)Creates a UI link.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceIddeviceId()Returns the edge device identifier.StringendPointA()Returns the identifier of end-point A in string form.StringendPointB()Returns the identifier of end-point B in string form.StringendPortB()Returns the port number (as a string) for end-point B, if applicable.HostIdhostId()Returns the host identifier.PortNumberportNumber()Returns the edge port number.
 
- 
- 
- 
Constructor Detail- 
UiEdgeLinkpublic UiEdgeLink(UiTopology topology, UiLinkId id) Creates a UI link.- Parameters:
- topology- parent topology
- id- canonicalized link identifier
 
 
- 
 - 
Method Detail- 
endPointApublic String endPointA() Description copied from class:UiLinkReturns the identifier of end-point A in string form.
 - 
endPointBpublic String endPointB() Description copied from class:UiLinkReturns the identifier of end-point B in string form.
 - 
endPortBpublic String endPortB() Description copied from class:UiLinkReturns the port number (as a string) for end-point B, if applicable. This default implementation returns null, indicating not-applicable. Subclasses only need to override this method if end-point B has an associated port.
 - 
hostIdpublic HostId hostId() Returns the host identifier.- Returns:
- host identifier
 
 - 
deviceIdpublic DeviceId deviceId() Returns the edge device identifier.- Returns:
- device identifier
 
 - 
portNumberpublic PortNumber portNumber() Returns the edge port number.- Returns:
- edge port number
 
 
- 
 
-