org.eclipse.ohf.stem.internal.data
Class ModelRecordHolder
java.lang.Object
org.eclipse.ohf.stem.internal.data.ModelRecordHolder
public class ModelRecordHolder
- extends java.lang.Object
This class maintains the collection of ModelRecord
s
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelRecordHolder
public ModelRecordHolder()
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
Model
s
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