Class RemoveSubGraphVertexEvent
- java.lang.Object
-
- org.goplanit.utils.id.IdAbleImpl
-
- org.goplanit.utils.event.EventImpl
-
- org.goplanit.graph.modifier.event.RemoveSubGraphVertexEvent
-
- All Implemented Interfaces:
Cloneable
,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
clone, getContent, getSource, getType, toString
-
Methods inherited from class org.goplanit.utils.id.IdAbleImpl
equals, generateAndSetId, generateId, getId, hashCode, setId
-
-
-
-
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
-
-