org.broadleafcommerce.core.rating.domain
Class ReviewDetailImpl

java.lang.Object
  extended by org.broadleafcommerce.core.rating.domain.ReviewDetailImpl
All Implemented Interfaces:
ReviewDetail

@Entity
public class ReviewDetailImpl
extends java.lang.Object
implements ReviewDetail


Field Summary
protected  Customer customer
           
protected  java.lang.Integer helpfulCount
           
protected  java.lang.Integer notHelpfulCount
           
protected  RatingDetail ratingDetail
           
protected  RatingSummary ratingSummary
           
protected  java.util.Date reivewSubmittedDate
           
protected  java.util.List<ReviewFeedback> reviewFeedback
           
protected  java.lang.String reviewStatus
           
protected  java.lang.String reviewText
           
 
Constructor Summary
ReviewDetailImpl()
           
ReviewDetailImpl(Customer customer, java.util.Date reivewSubmittedDate, RatingDetail ratingDetail, java.lang.String reviewText, RatingSummary ratingSummary)
           
 
Method Summary
 Customer getCustomer()
           
 java.lang.Long getId()
           
 RatingDetail getRatingDetail()
           
 RatingSummary getRatingSummary()
           
 java.util.List<ReviewFeedback> getReviewFeedback()
           
 java.util.Date getReviewSubmittedDate()
           
 java.lang.String getReviewText()
           
 ReviewStatusType getStatus()
           
 java.lang.Integer helpfulCount()
           
 java.lang.Integer notHelpfulCount()
           
 void setReviewText(java.lang.String reviewText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customer

protected Customer customer

reivewSubmittedDate

protected java.util.Date reivewSubmittedDate

reviewText

protected java.lang.String reviewText

reviewStatus

protected java.lang.String reviewStatus

helpfulCount

protected java.lang.Integer helpfulCount

notHelpfulCount

protected java.lang.Integer notHelpfulCount

ratingSummary

protected RatingSummary ratingSummary

reviewFeedback

protected java.util.List<ReviewFeedback> reviewFeedback

ratingDetail

protected RatingDetail ratingDetail
Constructor Detail

ReviewDetailImpl

public ReviewDetailImpl()

ReviewDetailImpl

public ReviewDetailImpl(Customer customer,
                        java.util.Date reivewSubmittedDate,
                        RatingDetail ratingDetail,
                        java.lang.String reviewText,
                        RatingSummary ratingSummary)
Method Detail

getReviewSubmittedDate

public java.util.Date getReviewSubmittedDate()
Specified by:
getReviewSubmittedDate in interface ReviewDetail

getId

public java.lang.Long getId()
Specified by:
getId in interface ReviewDetail

getReviewText

public java.lang.String getReviewText()
Specified by:
getReviewText in interface ReviewDetail

setReviewText

public void setReviewText(java.lang.String reviewText)
Specified by:
setReviewText in interface ReviewDetail

getStatus

public ReviewStatusType getStatus()
Specified by:
getStatus in interface ReviewDetail

getCustomer

public Customer getCustomer()
Specified by:
getCustomer in interface ReviewDetail

helpfulCount

public java.lang.Integer helpfulCount()
Specified by:
helpfulCount in interface ReviewDetail

notHelpfulCount

public java.lang.Integer notHelpfulCount()
Specified by:
notHelpfulCount in interface ReviewDetail

getRatingSummary

public RatingSummary getRatingSummary()
Specified by:
getRatingSummary in interface ReviewDetail

getRatingDetail

public RatingDetail getRatingDetail()
Specified by:
getRatingDetail in interface ReviewDetail

getReviewFeedback

public java.util.List<ReviewFeedback> getReviewFeedback()
Specified by:
getReviewFeedback in interface ReviewDetail


Copyright © 2012. All Rights Reserved.