Package org.onosproject.ui.model.topo
Class UiSynthLink
- java.lang.Object
-
- org.onosproject.ui.model.topo.UiSynthLink
-
public class UiSynthLink extends java.lang.Object
A synthetic link that encapsulates a UiLink instance and the region to which it belongs.
-
-
Constructor Summary
Constructors Constructor Description UiSynthLink(RegionId regionId, UiLink link, UiLink original)
Constructs a synthetic link with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UiLink
link()
Returns the link.UiLink
original()
Returns the original link from which this was derived.RegionId
regionId()
Returns the region identifier.java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
regionId
public RegionId regionId()
Returns the region identifier.- Returns:
- the region ID
-
link
public UiLink link()
Returns the link.- Returns:
- the link
-
original
public UiLink original()
Returns the original link from which this was derived.- Returns:
- the original link
-
-