Interface ZoningModifier
-
- All Superinterfaces:
EventProducer
,ZoningModifierEventProducer
- All Known Implementing Classes:
ZoningModifierImpl
public interface ZoningModifier extends ZoningModifierEventProducer
zoning modifier takes care of modifications that comprise multiple components across the zoning in an integrated fashion- Author:
- markr
-
-
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 connectoidsvoid
recreateManagedIdEntities()
Recreate all managed id entities owned by this zoningvoid
recreateTransferZoneGroupIds()
recreate all internal ids for all zones both od and transfer zonesvoid
recreateZoneIds()
recreate all internal ids fo all zones both od and transfer zonesvoid
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-
Methods inherited from interface org.goplanit.utils.zoning.modifier.event.ZoningModifierEventProducer
addListener, addListener, removeListener, removeListener
-
-
-
-
Method Detail
-
recreateConnectoidIds
void recreateConnectoidIds()
recreate all internal ids of all connectoids both od and transfer connectoidsfire #RecreatedZoningEntitiesManagedIdsEvent upon completion with those connectoids
-
recreateZoneIds
void recreateZoneIds()
recreate all internal ids fo all zones both od and transfer zonesfires #ModifiedZoneIdsEvent after completion
-
recreateTransferZoneGroupIds
void recreateTransferZoneGroupIds()
recreate all internal ids for all zones both od and transfer zonesfire #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 groupfires 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 groupfires 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 removedfire #RecreatedZoningEntitiesManagedIdsEvent upon completion with remaining connectoids
- Parameters:
serviceNetworkLayers
- to check againstrecreateManagedConnectoidIds
- when true recreate connectoid ids, when false do not
-
recreateManagedIdEntities
void recreateManagedIdEntities()
Recreate all managed id entities owned by this zoningfires #RecreatedZoningManagedIdsEvent after each managedIds container that is has updated
-
-