|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CountryMap.DataField> com.askgeo.dbl.naturalearth.CountryMap.DataField
public static enum CountryMap.DataField
Enumerates the metadata associated with each shape in the map.
Enum Constant Summary | |
---|---|
Abbreviation
Long form abbreviation, for example, Berm., Rep. |
|
AbbreviationPostal
One or two letter postal abbreviation (has gaps) |
|
EntityType
Entity type: 'Country', 'Sovereign country', 'Dependency', 'Disputed', 'Indeterminate', or 'Lease' (no gaps) |
|
IsNotSovereign
Indicates if this entity has its own sovereignty, 0: false, 1: true (no gaps) |
|
Iso3166A2
ISO-3166-2 two-letter country code (has gaps, missing values: -99) |
|
Iso3166A3
ISO-3166-3 three-letter country code (has gaps, missing values: -99) |
|
MapColorCode
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) |
|
NameAdministrative
Administrative name (probably the most useful name all around, no gaps) |
|
NameFormal
Formal name (has gaps) |
|
NameShort
Short form name of entity, including common abbreviations, for example, 'Island' becomes 'Is.' (has gaps) |
|
NameSortable
Name suitable for sorting (no gaps) |
|
NameSovereignty
Name of the Country that has sovereignty over this entity (no gaps) |
|
NaturalEarthCode
Internal Natural Earth entity code similar to ISO-3166-3 but without gaps |
|
Notes
Notes indicating sovereignty relationships, etc. |
|
TotalGdp2009Estimate
Estimate total GDP in millions of dollars (2009, from World Bank and other sources, has gaps, missing values: -99) |
|
TotalPopulation2009Estimate
Estimated total population (2009, from UN and other sources, has gaps, missing values: -99) |
Method Summary | |
---|---|
java.lang.String |
description()
Returns a human-readable description of the data field. |
FieldUnit |
fieldUnit()
Specifies the FieldUnit of the field. |
java.lang.String |
originalCode()
|
static CountryMap.DataField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CountryMap.DataField[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.askgeo.dbl.base.DataFieldInterface |
---|
name, ordinal |
Enum Constant Detail |
---|
public static final CountryMap.DataField NaturalEarthCode
public static final CountryMap.DataField NameSovereignty
public static final CountryMap.DataField IsNotSovereign
public static final CountryMap.DataField EntityType
public static final CountryMap.DataField NameAdministrative
public static final CountryMap.DataField NameShort
public static final CountryMap.DataField Abbreviation
public static final CountryMap.DataField AbbreviationPostal
public static final CountryMap.DataField NameFormal
public static final CountryMap.DataField Notes
public static final CountryMap.DataField NameSortable
public static final CountryMap.DataField MapColorCode
public static final CountryMap.DataField TotalPopulation2009Estimate
public static final CountryMap.DataField TotalGdp2009Estimate
public static final CountryMap.DataField Iso3166A2
public static final CountryMap.DataField Iso3166A3
Method Detail |
---|
public static CountryMap.DataField[] values()
for (CountryMap.DataField c : CountryMap.DataField.values()) System.out.println(c);
public static CountryMap.DataField valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String originalCode()
public java.lang.String description()
DataFieldInterface
description
in interface DataFieldInterface
public FieldUnit fieldUnit()
DataFieldInterface
fieldUnit
in interface DataFieldInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |