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 class
AbstractScenarioEvent.EventType
-
Field Summary
Fields Modifier and Type Field Description long
id
AbstractScenarioEvent.EventType
type
-
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 void
initialize(Scenario scenario)
abstract void
validate_post_init(error.OTMErrorLog errorLog)
void
validate_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)
-
-