com.citygrid
Class CGBaseReview

java.lang.Object
  extended by com.citygrid.CGBaseReview
All Implemented Interfaces:
CGReview, Serializable

public class CGBaseReview
extends Object
implements CGReview, Serializable

See Also:
Serialized Form

Nested Class Summary
static class CGBaseReview.Builder
           
 
Field Summary
private  URI attributionLogo
           
private  int attributionSource
           
private  String attributionText
           
private  String author
           
private  String cons
           
private  Date date
           
private  int helpful
           
private  String pros
           
private  int rating
           
private  String reviewId
           
private  String text
           
private  String title
           
private  int unhelpful
           
private  URI url
           
 
Constructor Summary
CGBaseReview(CGBaseReview.Builder builder)
           
 
Method Summary
 boolean equals(Object o)
           
 URI getAttributionLogo()
           
 int getAttributionSource()
           
 String getAttributionText()
           
 String getAuthor()
           
 String getCons()
           
 Date getDate()
           
 int getHelpful()
           
 String getPros()
           
 int getRating()
           
 String getReviewId()
           
 String getText()
           
 String getTitle()
           
 int getUnhelpful()
           
 URI getUrl()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

reviewId

private String reviewId

url

private URI url

title

private String title

author

private String author

text

private String text

pros

private String pros

cons

private String cons

date

private Date date

rating

private int rating

helpful

private int helpful

unhelpful

private int unhelpful

attributionText

private String attributionText

attributionLogo

private URI attributionLogo

attributionSource

private int attributionSource
Constructor Detail

CGBaseReview

public CGBaseReview(CGBaseReview.Builder builder)
Method Detail

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

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.