Interface ZoningModifier

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void recreateConnectoidIds()
      recreate all internal ids of all connectoids both od and transfer connectoids
      void recreateManagedIdEntities()
      Recreate all managed id entities owned by this zoning
      void recreateTransferZoneGroupIds()
      recreate all internal ids for all zones both od and transfer zones
      void recreateZoneIds()
      recreate all internal ids fo all zones both od and transfer zones
      void removeDanglingOdZones​(boolean recreateIds)
      a Method that scans the od zones and removes any that are not associated with any connectoids, i.e., are not connected to any physical network layer and therefore are considered dangling.
      void removeDanglingTransferZoneGroups()
      a Method that scans the transfer zone groups and removes any groups that are empty, i.e., have no transfer zones and are therefore considered dangling.
      void removeDanglingTransferZones​(boolean recreateIds)
      a Method that scans the transfer zones and removes any transfer zones that are not associated with any directed connectoids, i.e., are not connected to any physical network layer and therefore are considered dangling.
      void removeDanglingZones()
      a Method that scans the zones and removes any zones that are not associated with any connectoids, i.e., are not connected to any physical network layer and therefore are considered dangling.
      void removeUnusedTransferConnectoids​(ServiceNetworkLayers serviceNetworkLayers, boolean recreateManagedConnectoidIds)
      Remove all directed connectoids for which no service nodes' physical nodes on any of the given layers match its access nodes, i.e., the directed connectoid has no routed services that visit it, and therefore they are not explicitly, but implicitly dangling and are removed
    • Method Detail

      • recreateConnectoidIds

        void recreateConnectoidIds()
        recreate all internal ids of all connectoids both od and transfer connectoids

        fire #RecreatedZoningEntitiesManagedIdsEvent upon completion with those connectoids

      • recreateZoneIds

        void recreateZoneIds()
        recreate all internal ids fo all zones both od and transfer zones

        fires #ModifiedZoneIdsEvent after completion

      • recreateTransferZoneGroupIds

        void recreateTransferZoneGroupIds()
        recreate all internal ids for all zones both od and transfer zones

        fire #RecreatedZoningEntitiesManagedIdsEvent upon completion with those transfer zone groups

      • removeDanglingTransferZones

        void removeDanglingTransferZones​(boolean recreateIds)
        a Method that scans the transfer zones and removes any transfer zones that are not associated with any directed connectoids, i.e., are not connected to any physical network layer and therefore are considered dangling. If a transfer zone is removed and this zone belongs to a transfer zone group, it is also removed from this group

        fires two #RecreatedZoningEntitiesManagedIdsEvent upon completion for transfer zones

        Parameters:
        recreateIds - when true recreate all zone ids, false do not
      • removeDanglingOdZones

        void removeDanglingOdZones​(boolean recreateIds)
        a Method that scans the od zones and removes any that are not associated with any connectoids, i.e., are not connected to any physical network layer and therefore are considered dangling.

        fires two #RecreatedZoningEntitiesManagedIdsEvent upon completion for od zones

        Parameters:
        recreateIds - when true recreate all zone ids, false do not
      • removeDanglingZones

        void removeDanglingZones()
        a Method that scans the zones and removes any zones that are not associated with any connectoids, i.e., are not connected to any physical network layer and therefore are considered dangling. If a transfer zone is removed and this zone belongs to a transfer zone group, it is also removed from this group

        fires two #RecreatedZoningEntitiesManagedIdsEvent upon completion one for od and one for transfer zones

      • removeDanglingTransferZoneGroups

        void removeDanglingTransferZoneGroups()
        a Method that scans the transfer zone groups and removes any groups that are empty, i.e., have no transfer zones and are therefore considered dangling.

        fire #RecreatedZoningEntitiesManagedIdsEvent upon completion with those transfer zone groups

      • removeUnusedTransferConnectoids

        void removeUnusedTransferConnectoids​(ServiceNetworkLayers serviceNetworkLayers,
                                             boolean recreateManagedConnectoidIds)
        Remove all directed connectoids for which no service nodes' physical nodes on any of the given layers match its access nodes, i.e., the directed connectoid has no routed services that visit it, and therefore they are not explicitly, but implicitly dangling and are removed

        fire #RecreatedZoningEntitiesManagedIdsEvent upon completion with remaining connectoids

        Parameters:
        serviceNetworkLayers - to check against
        recreateManagedConnectoidIds - when true recreate connectoid ids, when false do not
      • recreateManagedIdEntities

        void recreateManagedIdEntities()
        Recreate all managed id entities owned by this zoning

        fires #RecreatedZoningManagedIdsEvent after each managedIds container that is has updated