public interface ReviewIf
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getAverageRating()
The average rating for a product based on all of its reviews.
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
int |
getCustomerId() |
java.lang.String |
getCustomerName() |
java.util.Calendar |
getDateAdded() |
int |
getId() |
int |
getLanguageId() |
java.lang.String |
getLanguageName() |
ProductIf |
getProduct() |
int |
getProductId() |
int |
getRating()
The rating is normally an integer in the range 1 to 5.
|
java.lang.String |
getReviewText() |
int |
getTimesRead()
How many times the review has been read.
|
int |
getVendorId() |
void |
setAverageRating(java.math.BigDecimal averageRating)
The average rating for a product based on all of its reviews.
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustomerId(int customerId) |
void |
setCustomerName(java.lang.String customerName) |
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setId(int id) |
void |
setLanguageId(int languageId) |
void |
setLanguageName(java.lang.String languageName) |
void |
setProduct(ProductIf product) |
void |
setProductId(int productId) |
void |
setRating(int rating)
The rating is normally an integer in the range 1 to 5.
|
void |
setReviewText(java.lang.String reviewText) |
void |
setTimesRead(int timesRead)
How many times the review has been read.
|
void |
setVendorId(int vendorId) |
int getCustomerId()
void setCustomerId(int customerId)
customerId
- The customerId to set.java.lang.String getCustomerName()
void setCustomerName(java.lang.String customerName)
customerName
- The customerName to set.int getId()
void setId(int id)
id
- The id to set.int getLanguageId()
void setLanguageId(int languageId)
languageId
- The languageId to set.java.lang.String getLanguageName()
void setLanguageName(java.lang.String languageName)
languageName
- The languageName to set.int getProductId()
void setProductId(int productId)
productId
- The productId to set.int getRating()
void setRating(int rating)
rating
- The rating to set.java.math.BigDecimal getAverageRating()
void setAverageRating(java.math.BigDecimal averageRating)
averageRating
- The averageRating to set.java.lang.String getReviewText()
void setReviewText(java.lang.String reviewText)
reviewText
- The reviewText to set.int getTimesRead()
void setTimesRead(int timesRead)
timesRead
- The timesRead to set.java.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded
- The dateAdded to set.ProductIf getProduct()
void setProduct(ProductIf product)
product
- The product to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.int getVendorId()
void setVendorId(int vendorId)
vendorId
- the vendorId to setCopyright © 2018 DS Data Systems UK Ltd.