com.citygrid
Class CGBaseReview.Builder

java.lang.Object
  extended by com.citygrid.CGBaseReview.Builder
Enclosing class:
CGBaseReview

public static class CGBaseReview.Builder
extends Object


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.Builder()
           
 
Method Summary
 CGBaseReview.Builder attributionLogo(URI attributionLogo)
           
 CGBaseReview.Builder attributionSource(int attributionSource)
           
 CGBaseReview.Builder attributionText(String attributionText)
           
 CGBaseReview.Builder author(String author)
           
 CGBaseReview build()
           
 CGBaseReview.Builder cons(String cons)
           
 CGBaseReview.Builder date(Date date)
           
 CGBaseReview.Builder helpful(int helpful)
           
 CGBaseReview.Builder pros(String pros)
           
 CGBaseReview.Builder rating(int rating)
           
 CGBaseReview.Builder reviewId(String reviewId)
           
 CGBaseReview.Builder text(String text)
           
 CGBaseReview.Builder title(String title)
           
 CGBaseReview.Builder unhelpful(int unhelpful)
           
 CGBaseReview.Builder url(URI url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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.Builder

public CGBaseReview.Builder()
Method Detail

reviewId

public CGBaseReview.Builder reviewId(String reviewId)

url

public CGBaseReview.Builder url(URI url)

title

public CGBaseReview.Builder title(String title)

author

public CGBaseReview.Builder author(String author)

text

public CGBaseReview.Builder text(String text)

pros

public CGBaseReview.Builder pros(String pros)

cons

public CGBaseReview.Builder cons(String cons)

date

public CGBaseReview.Builder date(Date date)

rating

public CGBaseReview.Builder rating(int rating)

helpful

public CGBaseReview.Builder helpful(int helpful)

unhelpful

public CGBaseReview.Builder unhelpful(int unhelpful)

attributionText

public CGBaseReview.Builder attributionText(String attributionText)

attributionLogo

public CGBaseReview.Builder attributionLogo(URI attributionLogo)

attributionSource

public CGBaseReview.Builder attributionSource(int attributionSource)

build

public CGBaseReview build()


Copyright © 2011. All Rights Reserved.