|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.Review
public class Review
| Constructor Summary | |
|---|---|
Review()
Constructor |
|
Review(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Review object from a Record object |
|
| 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. |
java.lang.String |
toString()
|
java.lang.String |
toStringBrief()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Review()
public Review(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column names
com.workingdogs.village.DataSetException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public int getCustomerId()
getCustomerId in interface ReviewIfpublic void setCustomerId(int customerId)
setCustomerId in interface ReviewIfcustomerId - The customerId to set.public java.lang.String getCustomerName()
getCustomerName in interface ReviewIfpublic void setCustomerName(java.lang.String customerName)
setCustomerName in interface ReviewIfcustomerName - The customerName to set.public int getId()
getId in interface ReviewIfpublic void setId(int id)
setId in interface ReviewIfid - The id to set.public int getLanguageId()
getLanguageId in interface ReviewIfpublic void setLanguageId(int languageId)
setLanguageId in interface ReviewIflanguageId - The languageId to set.public java.lang.String getLanguageName()
getLanguageName in interface ReviewIfpublic void setLanguageName(java.lang.String languageName)
setLanguageName in interface ReviewIflanguageName - The languageName to set.public int getProductId()
getProductId in interface ReviewIfpublic void setProductId(int productId)
setProductId in interface ReviewIfproductId - The productId to set.public int getRating()
ReviewIf
getRating in interface ReviewIfpublic void setRating(int rating)
ReviewIf
setRating in interface ReviewIfrating - The rating to set.public java.math.BigDecimal getAverageRating()
ReviewIf
getAverageRating in interface ReviewIfpublic void setAverageRating(java.math.BigDecimal averageRating)
ReviewIf
setAverageRating in interface ReviewIfaverageRating - The averageRating to set.public java.lang.String getReviewText()
getReviewText in interface ReviewIfpublic void setReviewText(java.lang.String reviewText)
setReviewText in interface ReviewIfreviewText - The reviewText to set.public int getTimesRead()
ReviewIf
getTimesRead in interface ReviewIfpublic void setTimesRead(int timesRead)
ReviewIf
setTimesRead in interface ReviewIftimesRead - The timesRead to set.public java.util.Calendar getDateAdded()
getDateAdded in interface ReviewIfpublic void setDateAdded(java.util.Calendar dateAdded)
setDateAdded in interface ReviewIfdateAdded - The dateAdded to set.public ProductIf getProduct()
getProduct in interface ReviewIfpublic void setProduct(ProductIf product)
setProduct in interface ReviewIfproduct - The product to set.public java.lang.String getCustom1()
getCustom1 in interface ReviewIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface ReviewIfcustom1 - The custom1 to set.public java.lang.String getCustom2()
getCustom2 in interface ReviewIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface ReviewIfcustom2 - The custom2 to set.public java.lang.String getCustom3()
getCustom3 in interface ReviewIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface ReviewIfcustom3 - The custom3 to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||