Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UiSynthLink

        public UiSynthLink​(RegionId regionId,
                           UiLink link,
                           UiLink original)
        Constructs a synthetic link with the given parameters.
        Parameters:
        regionId - the region to which the link belongs
        link - the link instance
        original - the original link (device or edge) from which this was derived
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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