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