Class RemoveSubGraphVertexEvent
- java.lang.Object
-
- org.goplanit.utils.id.IdAbleImpl
-
- org.goplanit.utils.event.EventImpl
-
- org.goplanit.graph.modifier.event.RemoveSubGraphVertexEvent
-
- All Implemented Interfaces:
Comparable<IdAble>
,Event
,GraphModificationEvent
,IdAble
public class RemoveSubGraphVertexEvent extends EventImpl implements GraphModificationEvent
Event for when a vertex 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 vertex has been removed
-
Constructor Summary
Constructors Constructor Description RemoveSubGraphVertexEvent(GraphModifier<?,?> source, Vertex removedVertex)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vertex
getRemovedVertex()
The removed vertex-
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 vertex has been removed
-
-
Constructor Detail
-
RemoveSubGraphVertexEvent
public RemoveSubGraphVertexEvent(GraphModifier<?,?> source, Vertex removedVertex)
Constructor- Parameters:
source
- graph modifier firing the eventremovedVertex
- vertex that is removed
-
-
Method Detail
-
getRemovedVertex
public Vertex getRemovedVertex()
The removed vertex- Returns:
- removed vertex
-
-