com.konakart.appif
Interface ReviewIf


public interface ReviewIf

Describes a review for use within KonaKart.


Method Summary
 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.
 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.
 

Method Detail

getCustomerId

int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

void setCustomerId(int customerId)
Parameters:
customerId - The customerId to set.

getCustomerName

java.lang.String getCustomerName()
Returns:
Returns the customerName.

setCustomerName

void setCustomerName(java.lang.String customerName)
Parameters:
customerName - The customerName to set.

getId

int getId()
Returns:
Returns the id.

setId

void setId(int id)
Parameters:
id - The id to set.

getLanguageId

int getLanguageId()
Returns:
Returns the languageId.

setLanguageId

void setLanguageId(int languageId)
Parameters:
languageId - The languageId to set.

getLanguageName

java.lang.String getLanguageName()
Returns:
Returns the languageName.

setLanguageName

void setLanguageName(java.lang.String languageName)
Parameters:
languageName - The languageName to set.

getProductId

int getProductId()
Returns:
Returns the productId.

setProductId

void setProductId(int productId)
Parameters:
productId - The productId to set.

getRating

int getRating()
The rating is normally an integer in the range 1 to 5.

Returns:
Returns the rating.

setRating

void setRating(int rating)
The rating is normally an integer in the range 1 to 5.

Parameters:
rating - The rating to set.

getAverageRating

java.math.BigDecimal getAverageRating()
The average rating for a product based on all of its reviews.

Returns:
Returns the averageRating.

setAverageRating

void setAverageRating(java.math.BigDecimal averageRating)
The average rating for a product based on all of its reviews.

Parameters:
averageRating - The averageRating to set.

getReviewText

java.lang.String getReviewText()
Returns:
Returns the reviewText.

setReviewText

void setReviewText(java.lang.String reviewText)
Parameters:
reviewText - The reviewText to set.

getTimesRead

int getTimesRead()
How many times the review has been read.

Returns:
Returns the timesRead.

setTimesRead

void setTimesRead(int timesRead)
How many times the review has been read.

Parameters:
timesRead - The timesRead to set.

getDateAdded

java.util.Calendar getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

void setDateAdded(java.util.Calendar dateAdded)
Parameters:
dateAdded - The dateAdded to set.

getProduct

ProductIf getProduct()
Returns:
Returns the product.

setProduct

void setProduct(ProductIf product)
Parameters:
product - The product to set.

getCustom1

java.lang.String getCustom1()
Returns:
Returns the custom1.

setCustom1

void setCustom1(java.lang.String custom1)
Parameters:
custom1 - The custom1 to set.

getCustom2

java.lang.String getCustom2()
Returns:
Returns the custom2.

setCustom2

void setCustom2(java.lang.String custom2)
Parameters:
custom2 - The custom2 to set.

getCustom3

java.lang.String getCustom3()
Returns:
Returns the custom3.

setCustom3

void setCustom3(java.lang.String custom3)
Parameters:
custom3 - The custom3 to set.


Copyright © 2006 DS Data Systems UK Ltd.