org.broadleafcommerce.core.rating.domain
Class RatingDetailImpl

java.lang.Object
  extended by org.broadleafcommerce.core.rating.domain.RatingDetailImpl
All Implemented Interfaces:
RatingDetail

@Entity
public class RatingDetailImpl
extends java.lang.Object
implements RatingDetail


Field Summary
protected  Customer customer
           
protected  java.lang.Double rating
           
protected  java.util.Date ratingSubmittedDate
           
protected  RatingSummary ratingSummary
           
 
Constructor Summary
RatingDetailImpl()
           
RatingDetailImpl(RatingSummary ratingSummary, java.lang.Double rating, java.util.Date ratingSubmittedDate, Customer customer)
           
 
Method Summary
 Customer getCustomer()
           
 java.lang.Long getId()
           
 java.lang.Double getRating()
           
 java.util.Date getRatingSubmittedDate()
           
 RatingSummary getRatingSummary()
           
 void setRating(java.lang.Double newRating)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rating

protected java.lang.Double rating

ratingSubmittedDate

protected java.util.Date ratingSubmittedDate

customer

protected Customer customer

ratingSummary

protected RatingSummary ratingSummary
Constructor Detail

RatingDetailImpl

public RatingDetailImpl()

RatingDetailImpl

public RatingDetailImpl(RatingSummary ratingSummary,
                        java.lang.Double rating,
                        java.util.Date ratingSubmittedDate,
                        Customer customer)
Method Detail

getId

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

getRating

public java.lang.Double getRating()
Specified by:
getRating in interface RatingDetail

getRatingSubmittedDate

public java.util.Date getRatingSubmittedDate()
Specified by:
getRatingSubmittedDate in interface RatingDetail

getCustomer

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

setRating

public void setRating(java.lang.Double newRating)
Specified by:
setRating in interface RatingDetail

getRatingSummary

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


Copyright © 2012. All Rights Reserved.