org.jboss.seam.rest.examples.client.geo
Class SearchResult

java.lang.Object
  extended by org.jboss.seam.rest.examples.client.geo.SearchResult

public class SearchResult
extends Object

JAXB class used for parsing http://geonames.org XML response.

Author:
Jozef Hartinger

Nested Class Summary
static class SearchResult.Location
           
static class SearchResult.Status
           
 
Constructor Summary
SearchResult()
           
 
Method Summary
 List<SearchResult.Location> getLocations()
           
 Integer getResultCount()
           
 SearchResult.Status getStatus()
           
 void setLocations(List<SearchResult.Location> locations)
           
 void setResultCount(Integer resultCount)
           
 void setStatus(SearchResult.Status status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResult

public SearchResult()
Method Detail

getResultCount

public Integer getResultCount()

setResultCount

public void setResultCount(Integer resultCount)

getLocations

public List<SearchResult.Location> getLocations()

setLocations

public void setLocations(List<SearchResult.Location> locations)

getStatus

public SearchResult.Status getStatus()

setStatus

public void setStatus(SearchResult.Status status)


Copyright © 2011 Seam Framework. All Rights Reserved.