Package org.goplanit.utils.event
Class EventType
- java.lang.Object
-
- org.goplanit.utils.event.EventType
-
- Direct Known Subclasses:
DemandsModifierEventType
,GraphModifierEventType
,PlanitComponentEventType
,RoutedServicesModifierEventType
,ZoningModifierEventType
public class EventType extends Object
Event type wraps a String representing the unique name identifier for an event. It is used as a quick way to identify listeners and events when dealing with events in a type safe manner. It should be uique across all available events. Each derived event implementation should make their type publicly available and each event producer should list the event types it triggers.- Author:
- markr
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getName()
int
hashCode()
Hash code based on nameString
toString()
-