Class UiRegionLink


  • public class UiRegionLink
    extends UiLink
    Designates a link between two region nodes.
    • Constructor Detail

      • UiRegionLink

        public UiRegionLink​(UiTopology topology,
                            UiLinkId id)
        Creates a region to region UI link. Note that it is expected that the link identifier is one that has region IDs as source and destination.
        Parameters:
        topology - parent topology
        id - canonicalized link ID
        Throws:
        IllegalArgumentException - if the link ID is not region-region
    • Method Detail

      • endPointA

        public String endPointA()
        Description copied from class: UiLink
        Returns the identifier of end-point A in string form.
        Specified by:
        endPointA in class UiLink
        Returns:
        end point A identifier
      • endPointB

        public String endPointB()
        Description copied from class: UiLink
        Returns the identifier of end-point B in string form.
        Specified by:
        endPointB in class UiLink
        Returns:
        end point B identifier
      • regionA

        public RegionId regionA()
        Returns the identity of the first region.
        Returns:
        first region ID
      • regionB

        public RegionId regionB()
        Returns the identity of the second region.
        Returns:
        second region ID