it.vige.cities.result.geonames.Geonode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cities-generator Show documentation
Show all versions of cities-generator Show documentation
Generate a file with the cities of your country
package it.vige.cities.result.geonames;
import java.util.List;
import java.util.Map;
/**
*
* @author lucastancapiano
*
* The node according the scheme of geonames
*/
public class Geonode {
private String adminCode1;
private double lng;
private int geonameId;
private String toponymName;
private int countryId;
private String fcl;
private int population;
private String countryCode;
private String name;
private String fclName;
private Map adminCodes1;
private String countryName;
private String fcodeName;
private String adminName1;
private double lat;
private String fcode;
private List geonames;
/**
*
* @return the admin code 1
*/
public String getAdminCode1() {
return adminCode1;
}
/**
*
* @param adminCode1 the admin code 1
*/
public void setAdminCode1(String adminCode1) {
this.adminCode1 = adminCode1;
}
/**
*
* @return the lng
*/
public double getLng() {
return lng;
}
/**
*
* @param lng the lng
*/
public void setLng(double lng) {
this.lng = lng;
}
/**
*
* @return the geoname id
*/
public int getGeonameId() {
return geonameId;
}
/**
*
* @param geonameId the geoname id
*/
public void setGeonameId(int geonameId) {
this.geonameId = geonameId;
}
/**
*
* @return the toponomy name
*/
public String getToponymName() {
return toponymName;
}
/**
*
* @param toponymName the toponomy name
*/
public void setToponymName(String toponymName) {
this.toponymName = toponymName;
}
/**
*
* @return the country id
*/
public int getCountryId() {
return countryId;
}
/**
*
* @param countryId the country id
*/
public void setCountryId(int countryId) {
this.countryId = countryId;
}
/**
*
* @return the fcl
*/
public String getFcl() {
return fcl;
}
/**
*
* @param fcl the fcl
*/
public void setFcl(String fcl) {
this.fcl = fcl;
}
/**
*
* @return the population
*/
public int getPopulation() {
return population;
}
/**
*
* @param population the population
*/
public void setPopulation(int population) {
this.population = population;
}
/**
*
* @return the country code
*/
public String getCountryCode() {
return countryCode;
}
/**
*
* @param countryCode the country code
*/
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
/**
*
* @return the name
*/
public String getName() {
return name;
}
/**
*
* @param name the name
*/
public void setName(String name) {
this.name = name;
}
/**
*
* @return the fcl name
*/
public String getFclName() {
return fclName;
}
/**
*
* @param fclName the fcl name
*/
public void setFclName(String fclName) {
this.fclName = fclName;
}
/**
*
* @return the admin codes 1
*/
public Map getAdminCodes1() {
return adminCodes1;
}
/**
*
* @param adminCodes1 the admin codes 1
*/
public void setAdminCodes1(Map adminCodes1) {
this.adminCodes1 = adminCodes1;
}
/**
*
* @return the country name
*/
public String getCountryName() {
return countryName;
}
/**
*
* @param countryName the country name
*/
public void setCountryName(String countryName) {
this.countryName = countryName;
}
/**
*
* @return the fcode name
*/
public String getFcodeName() {
return fcodeName;
}
/**
*
* @param fcodeName the fcode name
*/
public void setFcodeName(String fcodeName) {
this.fcodeName = fcodeName;
}
/**
*
* @return the admin name 1
*/
public String getAdminName1() {
return adminName1;
}
/**
*
* @param adminName1 the admin name 1
*/
public void setAdminName1(String adminName1) {
this.adminName1 = adminName1;
}
/**
*
* @return the lat
*/
public double getLat() {
return lat;
}
/**
*
* @param lat the lat
*/
public void setLat(double lat) {
this.lat = lat;
}
/**
*
* @return the fcode
*/
public String getFcode() {
return fcode;
}
/**
*
* @param fcode the fcode
*/
public void setFcode(String fcode) {
this.fcode = fcode;
}
/**
*
* @return the geonames list
*/
public List getGeonames() {
return geonames;
}
/**
*
* @param geonames the geonames list
*/
public void setGeonames(List geonames) {
this.geonames = geonames;
}
}