org.geonames
Class ToponymSearchResult

java.lang.Object
  extended by org.geonames.ToponymSearchResult

public class ToponymSearchResult
extends Object

a toponym search result as returned by the geonames webservice.

Author:
marc@geonames

Constructor Summary
ToponymSearchResult()
           
 
Method Summary
 Style getStyle()
           
 List<Toponym> getToponyms()
           
 int getTotalResultsCount()
           
 void setStyle(Style style)
           
 void setToponyms(List<Toponym> toponyms)
           
 void setTotalResultsCount(int totalResultsCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToponymSearchResult

public ToponymSearchResult()
Method Detail

getToponyms

public List<Toponym> getToponyms()
Returns:
Returns the toponyms.

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