Class SyncXmlIdToIdDemandsEntitiesHandler
- java.lang.Object
-
- org.goplanit.event.handler.SyncXmlIdToIdHandler
-
- org.goplanit.demands.modifier.event.handler.SyncXmlIdToIdDemandsEntitiesHandler
-
- All Implemented Interfaces:
EventListener
,DemandsModifierListener
,EventListener
,DirectedGraphModifierListener
,GraphModifierListener
,RoutedServicesModifierListener
public class SyncXmlIdToIdDemandsEntitiesHandler extends SyncXmlIdToIdHandler implements DemandsModifierListener
Sync the Demands entities' XML id in the container to the internal id. Listens to #RecreatedDemandsEntitiesManagedIdsEvent
-
-
Constructor Summary
Constructors Modifier Constructor Description SyncXmlIdToIdDemandsEntitiesHandler()
Default constructorprotected
SyncXmlIdToIdDemandsEntitiesHandler(EventType superEventType)
Allow super classes to add additional event types to support
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDemandsModificationEvent(DemandsModificationEvent event)
Notify method for graph modification events-
Methods inherited from class org.goplanit.event.handler.SyncXmlIdToIdHandler
getKnownSupportedEventTypes, onDirectedGraphModificationEvent, onEvent, onGraphModificationEvent, 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
-
-
-
-
Constructor Detail
-
SyncXmlIdToIdDemandsEntitiesHandler
protected SyncXmlIdToIdDemandsEntitiesHandler(EventType superEventType)
Allow super classes to add additional event types to support- Parameters:
superEventType
- to also support
-
SyncXmlIdToIdDemandsEntitiesHandler
public SyncXmlIdToIdDemandsEntitiesHandler()
Default constructor
-
-
Method Detail
-
onDemandsModificationEvent
public void onDemandsModificationEvent(DemandsModificationEvent event)
Notify method for graph modification events- Specified by:
onDemandsModificationEvent
in interfaceDemandsModifierListener
- Overrides:
onDemandsModificationEvent
in classSyncXmlIdToIdHandler
- Parameters:
event
- representing the graph modification event at hand
-
-