public static class ItineraryReview.Builder extends Review.Builder
Constructor and Description |
---|
Builder(User author,
Itinerary reviewedItinerary)
Builder's constructor.
|
Modifier and Type | Method and Description |
---|---|
ItineraryReview |
build()
Build the review.
|
ItineraryReview.Builder |
setDescription(java.lang.String description)
Set the review's description.
|
ItineraryReview.Builder |
setFeedback(int feedback)
Set the review's feedback.
|
public ItineraryReview.Builder setFeedback(int feedback)
Review.Builder
setFeedback
in class Review.Builder
feedback
- The feedback.Review.Builder.setFeedback(int)
public ItineraryReview.Builder setDescription(java.lang.String description)
Review.Builder
setDescription
in class Review.Builder
description
- The description.Review.Builder.setDescription(String)
public ItineraryReview build()
Review.Builder
build
in class Review.Builder
Review.Builder.build()