org.eclipse.ohf.stem.internal.data
Class DataSetRecordHolder
java.lang.Object
org.eclipse.ohf.stem.internal.data.DataSetRecordHolder
public class DataSetRecordHolder
- extends java.lang.Object
This class maintains a structured collection of DataSetRecord
s
Method Summary |
void |
add(DataSetRecord dataSetRecord)
|
void |
add(DiseaseModelDecoratorRecord decoratorRecord)
|
void |
add(GraphRecord graphRecord)
|
void |
add(InfectorDecoratorRecord decoratorRecord)
|
void |
add(ModelDatasetRecord dataSetRecord)
|
void |
add(ScenarioDatasetRecord dataSetRecord)
|
void |
add(SequencerRecord decoratorRecord)
|
java.util.List<DecoratorRecord> |
getAllDecoratorRecords()
|
java.util.List<GraphRecord> |
getAllGraphRecords()
|
java.util.List<DiseaseModelDecoratorRecord> |
getDiseaseModelDecoratorRecords()
|
java.util.Map<java.lang.String,java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,RelationshipGraphRecord>>>>> |
getEdgeGraphRecords()
|
java.util.List<InfectorDecoratorRecord> |
getInfectorDecorators()
|
java.util.Map<java.lang.String,java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,CountryGraphRecord.CountryLabelGraphRecord>>> |
getLabelGraphRecords()
|
java.util.List<ModelDatasetRecord> |
getModelDatasetRecords()
|
java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,CountryGraphRecord>> |
getNodeGraphRecords()
|
int |
getNumDecorators()
|
int |
getNumEdgeGraphRecords()
|
int |
getNumGraphRecords()
|
int |
getNumLabelGraphRecords()
|
int |
getNumModelRecords()
|
int |
getNumNodeGraphRecords()
|
int |
getNumScenarioRecords()
|
int |
getNumSequencers()
|
int |
getNumSpecialGraphRecords()
|
java.util.List<ScenarioDatasetRecord> |
getScenarioDatasetRecords()
|
java.util.List<SequencerRecord> |
getSequencerRecords()
|
java.util.Map<ISOKey,CountryGraphRecord> |
getSpecialNodeGraphRecords()
|
void |
serialize(java.lang.String rootSerializationDirectory)
|
int |
size()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSetRecordHolder
public DataSetRecordHolder()
add
public void add(DataSetRecord dataSetRecord)
- Parameters:
dataSetRecord
-
add
public void add(DiseaseModelDecoratorRecord decoratorRecord)
- Parameters:
decoratorRecord
-
add
public void add(InfectorDecoratorRecord decoratorRecord)
- Parameters:
decoratorRecord
-
add
public void add(SequencerRecord decoratorRecord)
- Parameters:
decoratorRecord
-
add
public void add(ScenarioDatasetRecord dataSetRecord)
- Parameters:
dataSetRecord
-
add
public void add(ModelDatasetRecord dataSetRecord)
- Parameters:
dataSetRecord
-
add
public void add(GraphRecord graphRecord)
- Parameters:
graphRecord
-
serialize
public void serialize(java.lang.String rootSerializationDirectory)
- Parameters:
rootSerializationDirectory
-
size
public int size()
- Returns:
- the total number of graph records in the collection.
getNumSequencers
public int getNumSequencers()
- Returns:
- the number of
Decorator
s in the collection
getNumDecorators
public int getNumDecorators()
- Returns:
- the number of
Decorator
s in the collection
getNumGraphRecords
public int getNumGraphRecords()
- Returns:
- the number of
GraphRecord
s in the collection.
getNumNodeGraphRecords
public int getNumNodeGraphRecords()
- Returns:
- the number of "node"
GraphRecord
s in in the map.
getNumEdgeGraphRecords
public int getNumEdgeGraphRecords()
- Returns:
- the number of "edge"
GraphRecord
s in in the map.
getNumLabelGraphRecords
public int getNumLabelGraphRecords()
- Returns:
- the number of "label"
GraphRecord
s in the map.
getNumSpecialGraphRecords
public int getNumSpecialGraphRecords()
- Returns:
- the number of special
GraphRecord
s
getNumScenarioRecords
public int getNumScenarioRecords()
- Returns:
- the number of scenario records.
getNumModelRecords
public int getNumModelRecords()
- Returns:
- the number of model records.
getSequencerRecords
public final java.util.List<SequencerRecord> getSequencerRecords()
- Returns:
- the sequencerRecords
getSpecialNodeGraphRecords
public final java.util.Map<ISOKey,CountryGraphRecord> getSpecialNodeGraphRecords()
- Returns:
- the specialNodeGraphRecords
getDiseaseModelDecoratorRecords
public final java.util.List<DiseaseModelDecoratorRecord> getDiseaseModelDecoratorRecords()
- Returns:
- the decorators
getEdgeGraphRecords
public final java.util.Map<java.lang.String,java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,RelationshipGraphRecord>>>>> getEdgeGraphRecords()
- Returns:
- the edgeGraphRecords
getLabelGraphRecords
public final java.util.Map<java.lang.String,java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,CountryGraphRecord.CountryLabelGraphRecord>>> getLabelGraphRecords()
- Returns:
- the labelGraphRecords
getNodeGraphRecords
public final java.util.Map<ISOKey,java.util.Map<IdentifiableRecord.AdminLevel,CountryGraphRecord>> getNodeGraphRecords()
- Returns:
- the nodeGraphRecords
getInfectorDecorators
public java.util.List<InfectorDecoratorRecord> getInfectorDecorators()
- Returns:
- the infectorDecorators
getScenarioDatasetRecords
public java.util.List<ScenarioDatasetRecord> getScenarioDatasetRecords()
- Returns:
- the scenarioRecords
getModelDatasetRecords
public java.util.List<ModelDatasetRecord> getModelDatasetRecords()
- Returns:
- the modelRecords
getAllDecoratorRecords
public java.util.List<DecoratorRecord> getAllDecoratorRecords()
- Returns:
- all of the decotrators
getAllGraphRecords
public java.util.List<GraphRecord> getAllGraphRecords()
- Returns:
- all of the graph records