Class GeonameEntry
- java.lang.Object
-
- org.apache.unomi.api.Item
-
- org.apache.unomi.geonames.services.GeonameEntry
-
- All Implemented Interfaces:
Serializable
public class GeonameEntry extends Item
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
admin1Code
protected String
admin2Code
protected String
admin3Code
protected String
admin4Code
protected List<String>
alternatenames
protected String
asciiname
protected List<String>
cc2
protected String
countryCode
protected String
dem
protected Integer
elevation
protected String
featureClass
protected String
featureCode
static String
ITEM_TYPE
protected Map<String,Double>
location
protected Date
modificationDate
protected String
name
protected Long
population
protected String
timezone
-
Constructor Summary
Constructors Constructor Description GeonameEntry()
GeonameEntry(String geonameId, String name, String asciiname, Double lat, Double lon, String featureClass, String featureCode, String countryCode, List<String> cc2, String admin1Code, String admin2Code, String admin3Code, String admin4Code, Long population, Integer elevation, String dem, String timezone, Date modificationDate)
-
Method Summary
-
Methods inherited from class org.apache.unomi.api.Item
equals, getItemId, getItemType, getItemType, getScope, getSystemMetadata, getVersion, hashCode, setItemId, setItemType, setScope, setSystemMetadata, setVersion
-
-
-
-
Field Detail
-
ITEM_TYPE
public static final String ITEM_TYPE
- See Also:
- Constant Field Values
-
name
protected String name
-
asciiname
protected String asciiname
-
featureClass
protected String featureClass
-
featureCode
protected String featureCode
-
countryCode
protected String countryCode
-
admin1Code
protected String admin1Code
-
admin2Code
protected String admin2Code
-
admin3Code
protected String admin3Code
-
admin4Code
protected String admin4Code
-
population
protected Long population
-
elevation
protected Integer elevation
-
dem
protected String dem
-
timezone
protected String timezone
-
modificationDate
protected Date modificationDate
-
-
Constructor Detail
-
GeonameEntry
public GeonameEntry()
-
GeonameEntry
public GeonameEntry(String geonameId, String name, String asciiname, Double lat, Double lon, String featureClass, String featureCode, String countryCode, List<String> cc2, String admin1Code, String admin2Code, String admin3Code, String admin4Code, Long population, Integer elevation, String dem, String timezone, Date modificationDate)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getAsciiname
public String getAsciiname()
-
setAsciiname
public void setAsciiname(String asciiname)
-
getFeatureClass
public String getFeatureClass()
-
setFeatureClass
public void setFeatureClass(String featureClass)
-
getFeatureCode
public String getFeatureCode()
-
setFeatureCode
public void setFeatureCode(String featureCode)
-
getCountryCode
public String getCountryCode()
-
setCountryCode
public void setCountryCode(String countryCode)
-
getAdmin1Code
public String getAdmin1Code()
-
setAdmin1Code
public void setAdmin1Code(String admin1Code)
-
getAdmin2Code
public String getAdmin2Code()
-
setAdmin2Code
public void setAdmin2Code(String admin2Code)
-
getAdmin3Code
public String getAdmin3Code()
-
setAdmin3Code
public void setAdmin3Code(String admin3Code)
-
getAdmin4Code
public String getAdmin4Code()
-
setAdmin4Code
public void setAdmin4Code(String admin4Code)
-
getPopulation
public Long getPopulation()
-
setPopulation
public void setPopulation(Long population)
-
getElevation
public Integer getElevation()
-
setElevation
public void setElevation(Integer elevation)
-
getDem
public String getDem()
-
setDem
public void setDem(String dem)
-
getTimezone
public String getTimezone()
-
setTimezone
public void setTimezone(String timezone)
-
getModificationDate
public Date getModificationDate()
-
setModificationDate
public void setModificationDate(Date modificationDate)
-
-