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

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

public class ModelRecordHolder
extends java.lang.Object

This class maintains the collection of ModelRecords


Constructor Summary
ModelRecordHolder()
           
 
Method Summary
 void addCountryModelRecords(java.util.List<ModelRecord.CountryModelRecord> countryModelRecords)
           
 void addEarthModel(ModelRecord.CountryModelRecord earthModel)
           
 void addFullCountryAggregatingDiseaseModels(java.util.List<ModelRecord.FullCountryDiseaseModelRecord> fullEarthAggregatingDiseaseModelRecords)
           
 void addFullCountryDiseaseModels(java.util.List<ModelRecord.FullCountryDiseaseModelRecord> fullEarthDiseaseModelRecords)
           
 void addFullCountryModelRecords(java.util.List<ModelRecord.FullCountryModelRecord> fullCountryModelRecords)
           
 void addFullEarthModel(ModelRecord.FullCountryModelRecord fullEarth)
           
 void addGeneralModels(java.util.List<ModelRecord.GeneralModelRecord> models)
           
 void addGeographicCountryModelRecords(java.util.List<ModelRecord.GeographicCountryModelRecord> geographicCountryModelRecords)
           
 java.util.List<ModelRecord> getAllModelRecords()
           
 java.util.List<ModelRecord.CountryModelRecord> getCountryModelRecords()
           
 ModelRecord.CountryModelRecord getEarthModel()
           
 java.util.List<ModelRecord.FullCountryDiseaseModelRecord> getFullCountryAggregatingDiseaseModelRecords()
           
 java.util.List<ModelRecord.FullCountryDiseaseModelRecord> getFullCountryDiseaseModelRecords()
           
 java.util.List<ModelRecord.FullCountryModelRecord> getFullCountryModelRecords()
           
 java.util.List<ModelRecord.FullCountryModelRecord> getFullEarthModels()
           
 java.util.List<ModelRecord.GeneralModelRecord> getGeneralModels()
           
 java.util.List<ModelRecord.GeographicCountryModelRecord> getGeographicCountryModelRecords()
           
 void serialize(java.lang.String rootSerializationDirectory)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelRecordHolder

public ModelRecordHolder()
Method Detail

addFullEarthModel

public void addFullEarthModel(ModelRecord.FullCountryModelRecord fullEarth)
Parameters:
fullEarth - a full earth model to add

getCountryModelRecords

public java.util.List<ModelRecord.CountryModelRecord> getCountryModelRecords()
Returns:
the country model records

getGeographicCountryModelRecords

public final java.util.List<ModelRecord.GeographicCountryModelRecord> getGeographicCountryModelRecords()
Returns:
the geographicCountryModelRecords

getFullCountryModelRecords

public final java.util.List<ModelRecord.FullCountryModelRecord> getFullCountryModelRecords()
Returns:
the fullCountryModelRecords

getEarthModel

public final ModelRecord.CountryModelRecord getEarthModel()
Returns:
the earthModel

getFullEarthModels

public final java.util.List<ModelRecord.FullCountryModelRecord> getFullEarthModels()
Returns:
the fullEarthModels

getFullCountryDiseaseModelRecords

public final java.util.List<ModelRecord.FullCountryDiseaseModelRecord> getFullCountryDiseaseModelRecords()
Returns:
the fullCountryDiseaseModelRecords

getFullCountryAggregatingDiseaseModelRecords

public final java.util.List<ModelRecord.FullCountryDiseaseModelRecord> getFullCountryAggregatingDiseaseModelRecords()
Returns:
the fullCountryAggregatingDiseaseModelRecords

getGeneralModels

public java.util.List<ModelRecord.GeneralModelRecord> getGeneralModels()
Returns:
the general models

size

public int size()
Returns:
the number of Models

serialize

public void serialize(java.lang.String rootSerializationDirectory)
Parameters:
rootSerializationDirectory -

addCountryModelRecords

public void addCountryModelRecords(java.util.List<ModelRecord.CountryModelRecord> countryModelRecords)
Parameters:
countryModelRecords -

addGeographicCountryModelRecords

public void addGeographicCountryModelRecords(java.util.List<ModelRecord.GeographicCountryModelRecord> geographicCountryModelRecords)
Parameters:
geographicCountryModelRecords -

addFullCountryModelRecords

public void addFullCountryModelRecords(java.util.List<ModelRecord.FullCountryModelRecord> fullCountryModelRecords)
Parameters:
fullCountryModelRecords -

addEarthModel

public void addEarthModel(ModelRecord.CountryModelRecord earthModel)
Parameters:
earthModel -

addFullCountryDiseaseModels

public void addFullCountryDiseaseModels(java.util.List<ModelRecord.FullCountryDiseaseModelRecord> fullEarthDiseaseModelRecords)
Parameters:
fullEarthDiseaseModelRecords -

addFullCountryAggregatingDiseaseModels

public void addFullCountryAggregatingDiseaseModels(java.util.List<ModelRecord.FullCountryDiseaseModelRecord> fullEarthAggregatingDiseaseModelRecords)
Parameters:
fullEarthAggregatingDiseaseModelRecords -

addGeneralModels

public void addGeneralModels(java.util.List<ModelRecord.GeneralModelRecord> models)
Parameters:
models -

getAllModelRecords

public java.util.List<ModelRecord> getAllModelRecords()
Returns:
all of the models