@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 ReviewDetail
public Long getId()
getId
in interface ReviewDetail
public String getReviewText()
getReviewText
in interface ReviewDetail
public void setReviewText(String reviewText)
setReviewText
in interface ReviewDetail
public ReviewStatusType getStatus()
getStatus
in interface ReviewDetail
public Customer getCustomer()
getCustomer
in interface ReviewDetail
public Integer helpfulCount()
helpfulCount
in interface ReviewDetail
public Integer notHelpfulCount()
notHelpfulCount
in interface ReviewDetail
public RatingSummary getRatingSummary()
getRatingSummary
in interface ReviewDetail
public RatingDetail getRatingDetail()
getRatingDetail
in interface ReviewDetail
public List<ReviewFeedback> getReviewFeedback()
getReviewFeedback
in interface ReviewDetail
Copyright © 2020. All rights reserved.