Class RemoveSubGraphEdgeEvent
- java.lang.Object
-
- org.goplanit.utils.id.IdAbleImpl
-
- org.goplanit.utils.event.EventImpl
-
- org.goplanit.graph.modifier.event.RemoveSubGraphEdgeEvent
-
- All Implemented Interfaces:
Comparable<IdAble>
,Event
,GraphModificationEvent
,IdAble
public class RemoveSubGraphEdgeEvent extends EventImpl implements GraphModificationEvent
Event for when an edge has been removed from a (sub) graph- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static GraphModifierEventType
EVENT_TYPE
event type fired off when sub graph edge has been removed
-
Constructor Summary
Constructors Constructor Description RemoveSubGraphEdgeEvent(GraphModifier<?,?> source, Edge removedEdge)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Edge
getRemovedEdge()
The removed edge-
Methods inherited from class org.goplanit.utils.event.EventImpl
deepClone, getContent, getSource, getType, shallowClone, toString
-
Methods inherited from class org.goplanit.utils.id.IdAbleImpl
equals, generateAndSetId, generateId, getId, hashCode, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.id.IdAble
compareTo, deepClone, getId, idEquals, idHashCode, shallowClone
-
-
-
-
Field Detail
-
EVENT_TYPE
public static final GraphModifierEventType EVENT_TYPE
event type fired off when sub graph edge has been removed
-
-
Constructor Detail
-
RemoveSubGraphEdgeEvent
public RemoveSubGraphEdgeEvent(GraphModifier<?,?> source, Edge removedEdge)
Constructor- Parameters:
source
- graph modifier firing the eventremovedEdge
- edge that is removed
-
-
Method Detail
-
getRemovedEdge
public Edge getRemovedEdge()
The removed edge- Returns:
- removed edge
-
-