com.gisgraphy.domain.valueobject
Class SolrResponseDto
java.lang.Object
com.gisgraphy.domain.valueobject.SolrResponseDto
public class SolrResponseDto
- extends java.lang.Object
Java Dto for a solr fulltext response. it is used by
FulltextResultsDto
- Author:
- David Masclet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrResponseDto
public SolrResponseDto(org.apache.solr.common.SolrDocument solrDocument)
- Create a
SolrResponseDto
from a SolrDocument
getName
public java.lang.String getName()
- Returns:
- the name
getName_alternates
public java.util.List<java.lang.String> getName_alternates()
- Returns:
- the name_alternates
getName_alternates_localized
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getName_alternates_localized()
- Returns:
- the name_alternates_localized
getFeature_id
public java.lang.Long getFeature_id()
- Returns:
- the feature_id
getFeature_class
public java.lang.String getFeature_class()
- Returns:
- the feature_class
getFeature_code
public java.lang.String getFeature_code()
- Returns:
- the feature_code
getName_ascii
public java.lang.String getName_ascii()
- Returns:
- the name_ascii
getElevation
public java.lang.Integer getElevation()
- Returns:
- the elevation
getGtopo30
public java.lang.Integer getGtopo30()
- Returns:
- the gtopo30
getTimezone
public java.lang.String getTimezone()
- Returns:
- the timezone
getFully_qualified_name
public java.lang.String getFully_qualified_name()
- Returns:
- the fully_qualified_name
getPlacetype
public java.lang.String getPlacetype()
- Returns:
- the placetype
getPopulation
public java.lang.Integer getPopulation()
- Returns:
- the population
getLat
public java.lang.Double getLat()
- Returns:
- the lat
getLng
public java.lang.Double getLng()
- Returns:
- the lng
getAdm1_code
public java.lang.String getAdm1_code()
- Returns:
- the adm1_code
getAdm2_code
public java.lang.String getAdm2_code()
- Returns:
- the adm2_code
getAdm3_code
public java.lang.String getAdm3_code()
- Returns:
- the adm3_code
getAdm4_code
public java.lang.String getAdm4_code()
- Returns:
- the adm4_code
getAdm1_name
public java.lang.String getAdm1_name()
- Returns:
- the adm1_name
getAdm1_names_alternate
public java.util.List<java.lang.String> getAdm1_names_alternate()
- Returns:
- the adm1_names_alternate
getAdm1_names_alternate_localized
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAdm1_names_alternate_localized()
- Returns:
- the adm1_names_alternate_localized
getAdm2_name
public java.lang.String getAdm2_name()
- Returns:
- the adm2_name
getAdm2_names_alternate
public java.util.List<java.lang.String> getAdm2_names_alternate()
- Returns:
- the adm2_names_alternate
getAdm2_names_alternate_localized
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAdm2_names_alternate_localized()
- Returns:
- the adm2_names_alternate_localized
getAdm3_name
public java.lang.String getAdm3_name()
- Returns:
- the adm3_name
getAdm4_name
public java.lang.String getAdm4_name()
- Returns:
- the adm4_name
getZipcodes
public java.util.List<java.lang.String> getZipcodes()
- Returns:
- the zipcode
getCountry_code
public java.lang.String getCountry_code()
- Returns:
- the country_code
getCountry_name
public java.lang.String getCountry_name()
- Returns:
- the country_name
getCountry_names_alternate
public java.util.List<java.lang.String> getCountry_names_alternate()
- Returns:
- the country_names_alternate
getCountry_names_alternate_localized
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getCountry_names_alternate_localized()
- Returns:
- the country_names_alternate_localized
getCountry_flag_url
public java.lang.String getCountry_flag_url()
- Returns:
- the country_flag_url
getGoogle_map_url
public java.lang.String getGoogle_map_url()
- Returns:
- the google_map_url
getYahoo_map_url
public java.lang.String getYahoo_map_url()
- Returns:
- the yahoo_map_url
getContinent
public java.lang.String getContinent()
- Returns:
- the continent
getCurrency_code
public java.lang.String getCurrency_code()
- Returns:
- the currency_code
getCurrency_name
public java.lang.String getCurrency_name()
- Returns:
- the currency_name
getFips_code
public java.lang.String getFips_code()
- Returns:
- the fips_code
getIsoalpha2_country_code
public java.lang.String getIsoalpha2_country_code()
- Returns:
- the isoalpha2_country_code
getIsoalpha3_country_code
public java.lang.String getIsoalpha3_country_code()
- Returns:
- the isoalpha3_country_code
getPostal_code_mask
public java.lang.String getPostal_code_mask()
- Returns:
- the postal_code_mask
getPostal_code_regex
public java.lang.String getPostal_code_regex()
- Returns:
- the postal_code_regex
getPhone_prefix
public java.lang.String getPhone_prefix()
- Returns:
- the phone_prefix
getSpoken_languages
public java.util.List<java.lang.String> getSpoken_languages()
- Returns:
- the spoken_languages
getTld
public java.lang.String getTld()
- Returns:
- the tld
getCapital_name
public java.lang.String getCapital_name()
- Returns:
- the capital_name
getArea
public java.lang.Double getArea()
- Returns:
- the area
getLevel
public java.lang.Integer getLevel()
Copyright © 2010. All Rights Reserved.