org.eclipse.ohf.stem.internal.data
Class ModelRecord.FullCountryModelRecord
java.lang.Object
org.eclipse.ohf.stem.internal.data.IdentifiableRecord
org.eclipse.ohf.stem.internal.data.ModelRecord
org.eclipse.ohf.stem.internal.data.ModelRecord.CountryModelRecord
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"
NodeLabel
s such as PopulationLabel
s and Edge
s
with EdgeLabel
s such as TransportRelationshipLabel
.
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 |
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 |
ModelRecord.FullCountryModelRecord
public ModelRecord.FullCountryModelRecord(ISOKey isoKey,
java.lang.String[] populationIds)
- Parameters:
isoKey
- the ISO 3166-1 alpha3 key of the country being modeledpopulationIds
- 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.
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