com.konakart.rmi.app
Class S_Review

java.lang.Object
  extended by com.konakart.rmi.app.S_Review
All Implemented Interfaces:
java.io.Serializable

public class S_Review
extends java.lang.Object
implements java.io.Serializable

Describes a review for use within KonaKart.

See Also:
Serialized Form

Constructor Summary
S_Review()
           
 
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()
           
 S_Product 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(S_Product _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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S_Review

public S_Review()
Method Detail

getCustomerId

public int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

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

getCustomerName

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

setCustomerName

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

getId

public int getId()
Returns:
Returns the id.

setId

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

getLanguageId

public int getLanguageId()
Returns:
Returns the languageId.

setLanguageId

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

getLanguageName

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

setLanguageName

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

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

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

getRating

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

Returns:
Returns the rating.

setRating

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

Parameters:
_rating - The rating to set.

getAverageRating

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

Returns:
Returns the averageRating.

setAverageRating

public 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

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

setReviewText

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

getTimesRead

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

Returns:
Returns the timesRead.

setTimesRead

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

Parameters:
_timesRead - The timesRead to set.

getDateAdded

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

setDateAdded

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

getProduct

public S_Product getProduct()
Returns:
Returns the product.

setProduct

public void setProduct(S_Product _product)
Parameters:
_product - The product to set.

getCustom1

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

setCustom1

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

getCustom2

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

setCustom2

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

getCustom3

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

setCustom3

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


Copyright © 2011 DS Data Systems UK Ltd.