org.eclipse.ohf.stem.internal.data
Class CountryGraphData.PopulationData

java.lang.Object
  extended by org.eclipse.ohf.stem.internal.data.DataSetRecord.DataSetData
      extended by org.eclipse.ohf.stem.internal.data.GraphRecord.GraphData
          extended by org.eclipse.ohf.stem.internal.data.CountryGraphData
              extended by org.eclipse.ohf.stem.internal.data.CountryGraphData.PopulationData
Enclosing class:
CountryGraphData

public static class CountryGraphData.PopulationData
extends CountryGraphData

This class represents the number of population members of a particular type who occupy a specific node. It also, includes an optional specification of the area that the population lives in. This is intended to provide better population density values when a population lives in a small area (e.g., a city) compared to the total area of the node.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ohf.stem.internal.data.CountryGraphData
CountryGraphData.AreaData, CountryGraphData.NodeData, CountryGraphData.PopulationData
 
Constructor Summary
CountryGraphData.PopulationData(ISOKey nodeKey, java.lang.String dataString)
           
 
Method Summary
 java.lang.String getCount()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.CountryGraphData
getNodeKey, setNodeKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountryGraphData.PopulationData

public CountryGraphData.PopulationData(ISOKey nodeKey,
                                       java.lang.String dataString)
Parameters:
nodeKey - the ISOKey nodeKey of the node
dataString - the string that contains the population count and optional area extent
Method Detail

getCount

public final java.lang.String getCount()
Returns:
the count

toString

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