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

java.lang.Object
  extended by org.eclipse.ohf.stem.internal.data.IdentifiableRecord
      extended by org.eclipse.ohf.stem.internal.data.DataSetRecord
          extended by org.eclipse.ohf.stem.internal.data.GraphRecord
              extended by org.eclipse.ohf.stem.internal.data.CountryGraphRecord
All Implemented Interfaces:
java.lang.Comparable<IdentifiableRecord>
Direct Known Subclasses:
CountryGraphRecord.CountryLabelGraphRecord, CountryGraphRecord.CountryNodeGraphRecord

public abstract class CountryGraphRecord
extends GraphRecord

This class represents a Graph specific to a single country.


Nested Class Summary
static class CountryGraphRecord.CountryAreaLabelGraphRecord
          This class represents a Graph containing AreaLabels of Nodes specific to a country.
static class CountryGraphRecord.CountryLabelGraphRecord
          This class represents a Graph containing Labels of Nodes specific to a country.
static class CountryGraphRecord.CountryNodeGraphRecord
          This class represents a Graph containing Nodes of a specific country.
static class CountryGraphRecord.CountryPopulationLabelGraphRecord
          This class represents a Graph containing PopulationLabels of Nodes specific to a country.
 
Nested classes/interfaces inherited from class org.eclipse.ohf.stem.internal.data.GraphRecord
GraphRecord.GraphData
 
Nested classes/interfaces inherited from class org.eclipse.ohf.stem.internal.data.DataSetRecord
DataSetRecord.DataSetData
 
Nested classes/interfaces inherited from class org.eclipse.ohf.stem.internal.data.IdentifiableRecord
IdentifiableRecord.AdminLevel
 
Field Summary
static java.lang.String ADMIN_LEVEL_PROPERTY
          This is the property in a data file that specifies the administration level the data applies to.
static java.lang.String COUNTRY_DIR
          This is the name of the directory under which country Graphs are serialized.
static java.lang.String ISOKEY_PROPERTY
          This isthe property that specifies the ISO-3166-1 alpha3 key of the Graph's country.
 
Fields inherited from class org.eclipse.ohf.stem.internal.data.GraphRecord
GRAPH_RECORD_TYPE_NAME
 
Fields inherited from class org.eclipse.ohf.stem.internal.data.DataSetRecord
RECORD_CLASSNAME_PROPERTY
 
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
 
Method Summary
 ISOKey getCountryKey()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.GraphRecord
getGraph
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.DataSetRecord
getNumEdges, getNumLabels, getNumModelDecorators, getNumNodes, getNumScenarioDecorators, initializeDataSet
 
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
 

Field Detail

ADMIN_LEVEL_PROPERTY

public static final java.lang.String ADMIN_LEVEL_PROPERTY
This is the property in a data file that specifies the administration level the data applies to.

See Also:
Constant Field Values

ISOKEY_PROPERTY

public static final java.lang.String ISOKEY_PROPERTY
This isthe property that specifies the ISO-3166-1 alpha3 key of the Graph's country.

See Also:
Constant Field Values

COUNTRY_DIR

public static final java.lang.String COUNTRY_DIR
This is the name of the directory under which country Graphs are serialized.

See Also:
Constant Field Values
Method Detail

getCountryKey

public final ISOKey getCountryKey()
Returns:
the countryKey

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()