added some javadoc and a isEventType method to Event