org.eclipse.ohf.stem.internal.data
Class ScenarioRecordFactory

java.lang.Object
  extended by org.eclipse.ohf.stem.internal.data.ScenarioRecordFactory

public class ScenarioRecordFactory
extends java.lang.Object

This class is a factory that creates ScenarioRecords.


Field Summary
static ScenarioRecordFactory INSTANCE
          A static instance of the factory.
 
Constructor Summary
ScenarioRecordFactory()
           
 
Method Summary
 ScenarioRecord.DiseaseScenarioRecord createDiseaseScenarioRecord(java.lang.String scenarioName, ModelRecord.CountryModelRecord modelRecord, DecoratorRecord infectorDecorator, long timeIncrement, SequencerRecord sequencerRecord, java.lang.String catagory)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ScenarioRecordFactory INSTANCE
A static instance of the factory.

Constructor Detail

ScenarioRecordFactory

public ScenarioRecordFactory()
Method Detail

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 infectorDecorator
timeIncrement - the number of milliseconds in each simulation cycle
sequencerRecord - the SequencerRecord for the Scenario
catagory -
Returns:
a ScenarioRecord.DiseaseScenarioRecord instance