com.citygrid.content.reviews
Class CGReviewsSearchReview

java.lang.Object
  extended by com.citygrid.content.reviews.CGReviewsSearchReview
All Implemented Interfaces:
CGLocationDetailProvider, CGReview, HasLocationIdAndImpressionId

public class CGReviewsSearchReview
extends Object
implements CGReview, CGLocationDetailProvider, HasLocationIdAndImpressionId


Nested Class Summary
static class CGReviewsSearchReview.Builder
           
 
Field Summary
private  URI authorUrl
           
private  CGBaseReview baseReview
           
private  String businessName
           
private  CGLocationDetailProvider deatailProvider
           
private  String impressionId
           
private  int locationId
           
private  int referenceId
           
private  int sourceId
           
private  CGReviewType type
           
 
Constructor Summary
private CGReviewsSearchReview(CGReviewsSearchReview.Builder builder)
           
 
Method Summary
 boolean equals(Object o)
           
 URI getAttributionLogo()
           
 int getAttributionSource()
           
 String getAttributionText()
           
 String getAuthor()
           
 URI getAuthorUrl()
           
 String getBusinessName()
           
 String getCons()
           
 Date getDate()
           
 int getHelpful()
           
 String getImpressionId()
           
 int getLocationId()
           
 String getPros()
           
 int getRating()
           
 int getReferenceId()
           
 String getReviewId()
           
 int getSourceId()
           
 String getText()
           
 String getTitle()
           
 CGReviewType getType()
           
 int getUnhelpful()
           
 URI getUrl()
           
 int hashCode()
           
 CGPlacesDetail placesDetail()
          Convenience methods that returns a builder CGPlacesDetail for current location.
 CGPlacesDetailLocation placesDetailLocation()
          Convenience methods that returns details of current location.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

baseReview

private CGBaseReview baseReview

impressionId

private String impressionId

referenceId

private int referenceId

sourceId

private int sourceId

locationId

private int locationId

businessName

private String businessName

authorUrl

private URI authorUrl

type

private CGReviewType type

deatailProvider

private CGLocationDetailProvider deatailProvider
Constructor Detail

CGReviewsSearchReview

private CGReviewsSearchReview(CGReviewsSearchReview.Builder builder)
Method Detail

getImpressionId

public String getImpressionId()
Specified by:
getImpressionId in interface HasLocationIdAndImpressionId

getReferenceId

public int getReferenceId()

getSourceId

public int getSourceId()

getLocationId

public int getLocationId()
Specified by:
getLocationId in interface HasLocationIdAndImpressionId

getBusinessName

public String getBusinessName()

getAuthorUrl

public URI getAuthorUrl()

getType

public CGReviewType getType()

getReviewId

public String getReviewId()
Specified by:
getReviewId in interface CGReview

getUrl

public URI getUrl()
Specified by:
getUrl in interface CGReview

getTitle

public String getTitle()
Specified by:
getTitle in interface CGReview

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface CGReview

getText

public String getText()
Specified by:
getText in interface CGReview

getPros

public String getPros()
Specified by:
getPros in interface CGReview

getCons

public String getCons()
Specified by:
getCons in interface CGReview

getDate

public Date getDate()
Specified by:
getDate in interface CGReview

getRating

public int getRating()
Specified by:
getRating in interface CGReview

getHelpful

public int getHelpful()
Specified by:
getHelpful in interface CGReview

getUnhelpful

public int getUnhelpful()
Specified by:
getUnhelpful in interface CGReview

getAttributionText

public String getAttributionText()
Specified by:
getAttributionText in interface CGReview

getAttributionLogo

public URI getAttributionLogo()
Specified by:
getAttributionLogo in interface CGReview

getAttributionSource

public int getAttributionSource()
Specified by:
getAttributionSource in interface CGReview

placesDetail

public CGPlacesDetail placesDetail()
Description copied from interface: CGLocationDetailProvider
Convenience methods that returns a builder CGPlacesDetail for current location.

Specified by:
placesDetail in interface CGLocationDetailProvider
Returns:

placesDetailLocation

public CGPlacesDetailLocation placesDetailLocation()
                                            throws CGException
Description copied from interface: CGLocationDetailProvider
Convenience methods that returns details of current location.

Specified by:
placesDetailLocation in interface CGLocationDetailProvider
Returns:
Throws:
CGException

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.