org.eclipse.ohf.stem.internal.data
Class ModelRecord.FullCountryModelRecord

java.lang.Object
  extended by org.eclipse.ohf.stem.internal.data.IdentifiableRecord
      extended by org.eclipse.ohf.stem.internal.data.ModelRecord
          extended by org.eclipse.ohf.stem.internal.data.ModelRecord.CountryModelRecord
              extended by org.eclipse.ohf.stem.internal.data.ModelRecord.FullCountryModelRecord
All Implemented Interfaces:
java.lang.Comparable<IdentifiableRecord>
Direct Known Subclasses:
ModelRecord.FullCountryDiseaseModelRecord
Enclosing class:
ModelRecord

public static class ModelRecord.FullCountryModelRecord
extends ModelRecord.CountryModelRecord

This class represents a ModelRecord.CountryModelRecord that includes a ModelRecord.GeographicCountryModelRecord plus additional "dated" NodeLabels such as PopulationLabels and Edges with EdgeLabels such as TransportRelationshipLabel.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ohf.stem.internal.data.ModelRecord
ModelRecord.CountryModelRecord, ModelRecord.FullCountryDiseaseModelRecord, ModelRecord.FullCountryModelRecord, ModelRecord.GeneralModelRecord, ModelRecord.GeographicCountryModelRecord
 
Nested classes/interfaces inherited from class org.eclipse.ohf.stem.internal.data.IdentifiableRecord
IdentifiableRecord.AdminLevel
 
Field Summary
 
Fields inherited from class org.eclipse.ohf.stem.internal.data.ModelRecord
MODEL_RECORD_TYPE_NAME
 
Fields inherited from class org.eclipse.ohf.stem.internal.data.IdentifiableRecord
BIBLIOGRAPHIC_CITATION_PROPERTY, CONTRIBUTOR_PROPERTY, COVERAGE_PROPERTY, CREATED_PROPERTY, CREATOR_PROPERTY, DATE_PROPERTY, DESCRIPTION_PROPERTY, FORMAT_PROPERTY, identifiableURIPrefix, IDENTIFIER_PROPERTY, LANGUAGE_PROPERTY, LICENSE_PROPERTY, PUBLISHER_PROPERTY, RELATION_PROPERTY, REQUIRED_PROPERTY, RIGHTS_PROPERTY, SERIALIZATION_DATE_RANGE_FORMAT_1_DATE, SERIALIZATION_DATE_RANGE_FORMAT_1_DATE_YEAR, SERIALIZATION_DATE_RANGE_FORMAT_2_DATES, SOURCE_PROPERTY, SPATIAL_PROPERTY, SUBJECT_PROPERTY, TITLE_PROPERTY, TYPE_PROPERTY, VALID_PROPERTY
 
Constructor Summary
ModelRecord.FullCountryModelRecord(ISOKey isoKey, java.lang.String[] populationIds)
           
ModelRecord.FullCountryModelRecord(ModelRecord.CountryModelRecord countryModelRecord, java.lang.String[] populationIds)
           
 
Method Summary
 void addModelRecord(ModelRecord modelRecord)
           
 boolean hasPopulations(java.lang.String[] populationIds2)
           
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.ModelRecord.CountryModelRecord
getIsoKey, setIsoKey
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.ModelRecord
addDecorator, addDecorators, addGraphRecord, addGraphRecords, addModelRecords, addModelRecordWithoutDateRangeUpdate, getModel, getNumEdges, getNumLabels, getNumModelDecorators, getNumNodes, getNumScenarioDecorators, toString
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.IdentifiableRecord
addAdminLevel, addAdminLevel, addAdminLevels, compareTo, getAdminLevels, getAdminLevelsAsString, getAdminLevelsMaxToMin, getDublinCore, getEndDate, getIdentifiable, getMaxAdminLevel, getMinAdminLevel, getNumAdminLevels, getStartDate, inDateRange, isYounger, serialize, serializeIdentifiable, setDublinCore, setEndDate, setIdentifiable, setStartDate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModelRecord.FullCountryModelRecord

public ModelRecord.FullCountryModelRecord(ISOKey isoKey,
                                          java.lang.String[] populationIds)
Parameters:
isoKey - the ISO 3166-1 alpha3 key of the country being modeled
populationIds - The identifiers of the population labels specified to be in the model.

ModelRecord.FullCountryModelRecord

public ModelRecord.FullCountryModelRecord(ModelRecord.CountryModelRecord countryModelRecord,
                                          java.lang.String[] populationIds)
Parameters:
countryModelRecord - the ModelRecord.GeographicCountryModelRecord that represents the geography of the country.
populationIds - The identifiers of the population labels specified to be in the model.
Method Detail

addModelRecord

public void addModelRecord(ModelRecord modelRecord)
Overrides:
addModelRecord in class ModelRecord
Parameters:
modelRecord - the ModelRecord to add to the ModelRecord
See Also:
ModelRecord.addModelRecord(org.eclipse.ohf.stem.internal.data.ModelRecord)

hasPopulations

public boolean hasPopulations(java.lang.String[] populationIds2)
Parameters:
populationIds2 -
Returns:
true if all of the population id's are represented in this model, false otherwise