Class SyncXmlIdToIdDirectedGraphEntitiesHandler
- java.lang.Object
-
- org.goplanit.event.handler.SyncXmlIdToIdHandler
-
- org.goplanit.graph.modifier.event.handler.SyncXmlIdToIdGraphEntitiesHandler
-
- org.goplanit.graph.directed.modifier.event.handler.SyncXmlIdToIdDirectedGraphEntitiesHandler
-
- All Implemented Interfaces:
EventListener
,DemandsModifierListener
,EventListener
,DirectedGraphModifierListener
,GraphModifierListener
,RoutedServicesModifierListener
public class SyncXmlIdToIdDirectedGraphEntitiesHandler extends SyncXmlIdToIdGraphEntitiesHandler implements DirectedGraphModifierListener
Sync the directed graph entities' (including edges and vertices) XML id in the container to the internal id. Listens to #RecreatedGraphEntitiesManagedIdsEvent and #RecreatedDirectedGraphEntitiesManagedIdsEvent
-
-
Constructor Summary
Constructors Constructor Description SyncXmlIdToIdDirectedGraphEntitiesHandler()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDirectedGraphModificationEvent(DirectedGraphModificationEvent event)
Notify method for directed graph modification eventsvoid
onGraphModificationEvent(GraphModificationEvent event)
Notify method for graph modification events-
Methods inherited from class org.goplanit.event.handler.SyncXmlIdToIdHandler
getKnownSupportedEventTypes, onDemandsModificationEvent, onEvent, onRoutedServicesModifierEvent, syncXmlIdToInternalId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.event.EventListener
getKnownSupportedEventTypes, hasKnownSupportedEventTypes
-
-
-
-
Method Detail
-
onGraphModificationEvent
public void onGraphModificationEvent(GraphModificationEvent event)
Notify method for graph modification events- Specified by:
onGraphModificationEvent
in interfaceGraphModifierListener
- Overrides:
onGraphModificationEvent
in classSyncXmlIdToIdGraphEntitiesHandler
- Parameters:
event
- representing the graph modification event at hand
-
onDirectedGraphModificationEvent
public void onDirectedGraphModificationEvent(DirectedGraphModificationEvent event)
Notify method for directed graph modification events- Specified by:
onDirectedGraphModificationEvent
in interfaceDirectedGraphModifierListener
- Overrides:
onDirectedGraphModificationEvent
in classSyncXmlIdToIdHandler
- Parameters:
event
- representing the directed graph modification event at hand
-
-