@Entity public class ReviewDetailImpl extends Object implements ReviewDetail
| Modifier and Type | Field and Description |
|---|---|
protected Customer |
customer |
protected Integer |
helpfulCount |
protected Integer |
notHelpfulCount |
protected RatingDetail |
ratingDetail |
protected RatingSummary |
ratingSummary |
protected Date |
reivewSubmittedDate |
protected List<ReviewFeedback> |
reviewFeedback |
protected String |
reviewStatus |
protected String |
reviewText |
| Constructor and Description |
|---|
ReviewDetailImpl() |
ReviewDetailImpl(Customer customer,
Date reivewSubmittedDate,
RatingDetail ratingDetail,
String reviewText,
RatingSummary ratingSummary) |
| Modifier and Type | Method and Description |
|---|---|
Customer |
getCustomer() |
Long |
getId() |
RatingDetail |
getRatingDetail() |
RatingSummary |
getRatingSummary() |
List<ReviewFeedback> |
getReviewFeedback() |
Date |
getReviewSubmittedDate() |
String |
getReviewText() |
ReviewStatusType |
getStatus() |
Integer |
helpfulCount() |
Integer |
notHelpfulCount() |
void |
setReviewText(String reviewText) |
protected Customer customer
protected Date reivewSubmittedDate
protected String reviewText
protected String reviewStatus
protected Integer helpfulCount
protected Integer notHelpfulCount
protected RatingSummary ratingSummary
protected List<ReviewFeedback> reviewFeedback
protected RatingDetail ratingDetail
public ReviewDetailImpl()
public ReviewDetailImpl(Customer customer, Date reivewSubmittedDate, RatingDetail ratingDetail, String reviewText, RatingSummary ratingSummary)
public Date getReviewSubmittedDate()
getReviewSubmittedDate in interface ReviewDetailpublic Long getId()
getId in interface ReviewDetailpublic String getReviewText()
getReviewText in interface ReviewDetailpublic void setReviewText(String reviewText)
setReviewText in interface ReviewDetailpublic ReviewStatusType getStatus()
getStatus in interface ReviewDetailpublic Customer getCustomer()
getCustomer in interface ReviewDetailpublic Integer helpfulCount()
helpfulCount in interface ReviewDetailpublic Integer notHelpfulCount()
notHelpfulCount in interface ReviewDetailpublic RatingSummary getRatingSummary()
getRatingSummary in interface ReviewDetailpublic RatingDetail getRatingDetail()
getRatingDetail in interface ReviewDetailpublic List<ReviewFeedback> getReviewFeedback()
getReviewFeedback in interface ReviewDetailCopyright © 2020. All rights reserved.