Package events
Class AbstractScenarioEvent
- java.lang.Object
-
- dispatch.AbstractEvent
-
- events.AbstractScenarioEvent
-
- All Implemented Interfaces:
dispatch.InterfaceEvent,Comparable<dispatch.AbstractEvent>
public abstract class AbstractScenarioEvent extends dispatch.AbstractEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractScenarioEvent.EventType
-
Field Summary
Fields Modifier and Type Field Description longidAbstractScenarioEvent.EventTypetype
-
Constructor Summary
Constructors Constructor Description AbstractScenarioEvent(long id, AbstractScenarioEvent.EventType type, float timestamp)AbstractScenarioEvent(jaxb.Event jev)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidinitialize(Scenario scenario)abstract voidvalidate_post_init(error.OTMErrorLog errorLog)voidvalidate_pre_init(error.OTMErrorLog errorLog)
-
-
-
Field Detail
-
id
public final long id
-
type
public final AbstractScenarioEvent.EventType type
-
-
Constructor Detail
-
AbstractScenarioEvent
public AbstractScenarioEvent(long id, AbstractScenarioEvent.EventType type, float timestamp)
-
AbstractScenarioEvent
public AbstractScenarioEvent(jaxb.Event jev)
-
-
Method Detail
-
validate_pre_init
public void validate_pre_init(error.OTMErrorLog errorLog)
-
initialize
public void initialize(Scenario scenario) throws error.OTMException
- Throws:
error.OTMException
-
validate_post_init
public abstract void validate_post_init(error.OTMErrorLog errorLog)
-
-