com.citygrid.content.places.search
Class CGPlacesSearchResults

java.lang.Object
  extended by com.citygrid.content.places.search.CGPlacesSearchResults
All Implemented Interfaces:
Serializable

public class CGPlacesSearchResults
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class CGPlacesSearchResults.Builder
           
 
Field Summary
private  String didYouMean
           
private  int firstHit
           
private  CGHistogram[] histograms
           
private  int lastHit
           
private  CGPlacesSearchLocation[] locations
           
private  int page
           
private  CGRegion[] regions
           
private  int resultsPerPage
           
private  int totalHits
           
private  URI uri
           
 
Constructor Summary
private CGPlacesSearchResults(CGPlacesSearchResults.Builder builder)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDidYouMean()
           
 int getFirstHit()
           
 CGHistogram[] getHistograms()
           
 int getLastHit()
           
 CGPlacesSearchLocation[] getLocations()
           
 int getPage()
           
 CGRegion[] getRegions()
           
 int getResultsPerPage()
           
 int getTotalHits()
           
 URI getUri()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

firstHit

private int firstHit

lastHit

private int lastHit

totalHits

private int totalHits

page

private int page

resultsPerPage

private int resultsPerPage

uri

private URI uri

didYouMean

private String didYouMean

regions

private CGRegion[] regions

locations

private CGPlacesSearchLocation[] locations

histograms

private CGHistogram[] histograms
Constructor Detail

CGPlacesSearchResults

private CGPlacesSearchResults(CGPlacesSearchResults.Builder builder)
Method Detail

getFirstHit

public int getFirstHit()

getLastHit

public int getLastHit()

getTotalHits

public int getTotalHits()

getPage

public int getPage()

getResultsPerPage

public int getResultsPerPage()

getUri

public URI getUri()

getDidYouMean

public String getDidYouMean()

getRegions

public CGRegion[] getRegions()

getLocations

public CGPlacesSearchLocation[] getLocations()

getHistograms

public CGHistogram[] getHistograms()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.