com.askgeo.flt.naturalearth
Class CountryResult

java.lang.Object
  extended by com.askgeo.flt.base.ResultBase
      extended by com.askgeo.flt.naturalearth.CountryResult

public class CountryResult
extends ResultBase

Embodies the result of a findResult query on an instance of the CountryMap class.


Method Summary
 java.lang.String getAbbreviation()
          Long form abbreviation, for example, Berm., Rep.
 java.lang.String getAbbreviationPostal()
          One, two, or three letter postal abbreviation (has gaps)
 java.lang.String getEntityType()
          Entity type: 'Country', 'Sovereign country', 'Dependency', 'Disputed', 'Indeterminate', or 'Lease' (no gaps)
 int getIsNotSovereign()
          Indicates if this entity has its own sovereignty, 0: false, 1: true (no gaps)
 java.lang.String getIso3166A2()
          ISO-3166-2 two-letter country code (has gaps, missing values: -99)
 java.lang.String getIso3166A3()
          ISO-3166-3 three-letter country code (has gaps, missing values: -99)
 int getMapColorCode()
          Color index from US State Department political world map where no neighboring country has the same color, but all territories of a sovereign country share the same color (no gaps)
 java.lang.String getNameAdministrative()
          Administrative name (probably the most useful name all around, no gaps)
 java.lang.String getNameFormal()
          Formal name (has gaps)
 java.lang.String getNameShort()
          Short form name of entity, including common abbreviations, for example, 'Island' becomes 'Is.' (has gaps)
 java.lang.String getNameSortable()
          Name suitable for sorting (no gaps)
 java.lang.String getNameSovereignty()
          Name of the Country that has sovereignty over this entity (no gaps)
 java.lang.String getNaturalEarthCode()
          Internal Natural Earth entity code similar to ISO-3166-3 but without gaps
 java.lang.String getNotes()
          Notes indicating sovereignty relationships, etc.
 float getTotalGdp2009Estimate()
          Estimate total GDP in millions of dollars (2009, from World Bank and other sources, has gaps, missing values: -99)
 float getTotalPopulation2009Estimate()
          Estimated total population (2009, from UN and other sources, has gaps, missing values: -99)
 
Methods inherited from class com.askgeo.flt.base.ResultBase
getAskGeoId, getDataField, getIsInside, getMinDistanceKm, getPolygonData, getResultField, parseFloatOrNan, parseIntOrElse, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getNaturalEarthCode

public java.lang.String getNaturalEarthCode()
Internal Natural Earth entity code similar to ISO-3166-3 but without gaps


getNameSovereignty

public java.lang.String getNameSovereignty()
Name of the Country that has sovereignty over this entity (no gaps)


getIsNotSovereign

public int getIsNotSovereign()
Indicates if this entity has its own sovereignty, 0: false, 1: true (no gaps)


getEntityType

public java.lang.String getEntityType()
Entity type: 'Country', 'Sovereign country', 'Dependency', 'Disputed', 'Indeterminate', or 'Lease' (no gaps)


getNameAdministrative

public java.lang.String getNameAdministrative()
Administrative name (probably the most useful name all around, no gaps)


getNameShort

public java.lang.String getNameShort()
Short form name of entity, including common abbreviations, for example, 'Island' becomes 'Is.' (has gaps)


getAbbreviation

public java.lang.String getAbbreviation()
Long form abbreviation, for example, Berm., Rep. Congo, Cz. Rep. (has gaps)


getAbbreviationPostal

public java.lang.String getAbbreviationPostal()
One, two, or three letter postal abbreviation (has gaps)


getNameFormal

public java.lang.String getNameFormal()
Formal name (has gaps)


getNotes

public java.lang.String getNotes()
Notes indicating sovereignty relationships, etc. (mostly blank)


getNameSortable

public java.lang.String getNameSortable()
Name suitable for sorting (no gaps)


getMapColorCode

public int getMapColorCode()
Color index from US State Department political world map where no neighboring country has the same color, but all territories of a sovereign country share the same color (no gaps)


getTotalPopulation2009Estimate

public float getTotalPopulation2009Estimate()
Estimated total population (2009, from UN and other sources, has gaps, missing values: -99)


getTotalGdp2009Estimate

public float getTotalGdp2009Estimate()
Estimate total GDP in millions of dollars (2009, from World Bank and other sources, has gaps, missing values: -99)


getIso3166A2

public java.lang.String getIso3166A2()
ISO-3166-2 two-letter country code (has gaps, missing values: -99)


getIso3166A3

public java.lang.String getIso3166A3()
ISO-3166-3 three-letter country code (has gaps, missing values: -99)



Copyright © 2012 Vector Magic, Inc.