org.broadleafcommerce.core.rating.domain
Class RatingDetailImpl
java.lang.Object
org.broadleafcommerce.core.rating.domain.RatingDetailImpl
- All Implemented Interfaces:
- RatingDetail
@Entity
public class RatingDetailImpl
- extends Object
- implements RatingDetail
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rating
protected Double rating
ratingSubmittedDate
protected Date ratingSubmittedDate
customer
protected Customer customer
ratingSummary
protected RatingSummary ratingSummary
RatingDetailImpl
public RatingDetailImpl()
RatingDetailImpl
public RatingDetailImpl(RatingSummary ratingSummary,
Double rating,
Date ratingSubmittedDate,
Customer customer)
getId
public Long getId()
- Specified by:
getId in interface RatingDetail
getRating
public Double getRating()
- Specified by:
getRating in interface RatingDetail
getRatingSubmittedDate
public Date getRatingSubmittedDate()
- Specified by:
getRatingSubmittedDate in interface RatingDetail
getCustomer
public Customer getCustomer()
- Specified by:
getCustomer in interface RatingDetail
setRating
public void setRating(Double newRating)
- Specified by:
setRating in interface RatingDetail
getRatingSummary
public RatingSummary getRatingSummary()
- Specified by:
getRatingSummary in interface RatingDetail
Copyright © 2012. All Rights Reserved.