|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazon.webservices.awsecommerceservice._2007_04_04.CustomerReviews
public class CustomerReviews
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AverageRating" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="TotalReviews" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> <element name="TotalReviewPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Review" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.math.BigDecimal |
averageRating
|
protected java.util.List<Review> |
review
|
protected java.math.BigInteger |
totalReviewPages
|
protected java.math.BigInteger |
totalReviews
|
Constructor Summary | |
---|---|
CustomerReviews()
|
Method Summary | |
---|---|
java.math.BigDecimal |
getAverageRating()
Gets the value of the averageRating property. |
java.util.List<Review> |
getReview()
Gets the value of the review property. |
java.math.BigInteger |
getTotalReviewPages()
Gets the value of the totalReviewPages property. |
java.math.BigInteger |
getTotalReviews()
Gets the value of the totalReviews property. |
void |
setAverageRating(java.math.BigDecimal value)
Sets the value of the averageRating property. |
void |
setTotalReviewPages(java.math.BigInteger value)
Sets the value of the totalReviewPages property. |
void |
setTotalReviews(java.math.BigInteger value)
Sets the value of the totalReviews property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.math.BigDecimal averageRating
protected java.math.BigInteger totalReviews
protected java.math.BigInteger totalReviewPages
protected java.util.List<Review> review
Constructor Detail |
---|
public CustomerReviews()
Method Detail |
---|
public java.math.BigDecimal getAverageRating()
BigDecimal
public void setAverageRating(java.math.BigDecimal value)
value
- allowed object is
BigDecimal
public java.math.BigInteger getTotalReviews()
BigInteger
public void setTotalReviews(java.math.BigInteger value)
value
- allowed object is
BigInteger
public java.math.BigInteger getTotalReviewPages()
BigInteger
public void setTotalReviewPages(java.math.BigInteger value)
value
- allowed object is
BigInteger
public java.util.List<Review> getReview()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the review property.
For example, to add a new item, do as follows:
getReview().add(newItem);
Objects of the following type(s) are allowed in the list
Review
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |