com.citygrid.content.reviews
Class CGReviewsSearchReview
java.lang.Object
com.citygrid.content.reviews.CGReviewsSearchReview
- All Implemented Interfaces:
- CGLocationDetailProvider, CGReview, HasLocationIdAndImpressionId
public class CGReviewsSearchReview
- extends Object
- implements CGReview, CGLocationDetailProvider, HasLocationIdAndImpressionId
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
CGReviewsSearchReview
private CGReviewsSearchReview(CGReviewsSearchReview.Builder builder)
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.