org.eclipse.ohf.stem.internal.data
Class ScenarioRecordFactory
java.lang.Object
org.eclipse.ohf.stem.internal.data.ScenarioRecordFactory
public class ScenarioRecordFactory
- extends java.lang.Object
This class is a factory that creates ScenarioRecord
s.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final ScenarioRecordFactory INSTANCE
- A static instance of the factory.
ScenarioRecordFactory
public ScenarioRecordFactory()
createDiseaseScenarioRecord
public ScenarioRecord.DiseaseScenarioRecord createDiseaseScenarioRecord(java.lang.String scenarioName,
ModelRecord.CountryModelRecord modelRecord,
DecoratorRecord infectorDecorator,
long timeIncrement,
SequencerRecord sequencerRecord,
java.lang.String catagory)
- Parameters:
scenarioName
- the name of the Scenario
modelRecord
- the ModelRecord
containing the Scenario
's
Model
infectorDecorator
- the infectorDecoratortimeIncrement
- the number of milliseconds in each simulation cyclesequencerRecord
- the SequencerRecord for the Scenariocatagory
-
- Returns:
- a
ScenarioRecord.DiseaseScenarioRecord
instance