Package org.geonames
Class ToponymSearchResult
- java.lang.Object
-
- org.geonames.ToponymSearchResult
-
public class ToponymSearchResult extends Object
a toponym search result as returned by the geonames webservice.- Author:
- marc@geonames
-
-
Constructor Summary
Constructors Constructor Description ToponymSearchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StylegetStyle()List<Toponym>getToponyms()intgetTotalResultsCount()voidsetStyle(Style style)voidsetToponyms(List<Toponym> toponyms)voidsetTotalResultsCount(int totalResultsCount)
-
-
-
Method Detail
-
setToponyms
public void setToponyms(List<Toponym> toponyms)
- Parameters:
toponyms- The toponyms to set.
-
getTotalResultsCount
public int getTotalResultsCount()
- Returns:
- Returns the totalResultsCount.
-
setTotalResultsCount
public void setTotalResultsCount(int totalResultsCount)
- Parameters:
totalResultsCount- The totalResultsCount to set.
-
getStyle
public Style getStyle()
- Returns:
- the style
-
setStyle
public void setStyle(Style style)
- Parameters:
style- the style to set
-
-