com.amazon.webservices.awsecommerceservice._2007_04_04
Class CustomerReviews

java.lang.Object
  extended by com.amazon.webservices.awsecommerceservice._2007_04_04.CustomerReviews

public class CustomerReviews
extends java.lang.Object

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

averageRating

protected java.math.BigDecimal averageRating

totalReviews

protected java.math.BigInteger totalReviews

totalReviewPages

protected java.math.BigInteger totalReviewPages

review

protected java.util.List<Review> review
Constructor Detail

CustomerReviews

public CustomerReviews()
Method Detail

getAverageRating

public java.math.BigDecimal getAverageRating()
Gets the value of the averageRating property.

Returns:
possible object is BigDecimal

setAverageRating

public void setAverageRating(java.math.BigDecimal value)
Sets the value of the averageRating property.

Parameters:
value - allowed object is BigDecimal

getTotalReviews

public java.math.BigInteger getTotalReviews()
Gets the value of the totalReviews property.

Returns:
possible object is BigInteger

setTotalReviews

public void setTotalReviews(java.math.BigInteger value)
Sets the value of the totalReviews property.

Parameters:
value - allowed object is BigInteger

getTotalReviewPages

public java.math.BigInteger getTotalReviewPages()
Gets the value of the totalReviewPages property.

Returns:
possible object is BigInteger

setTotalReviewPages

public void setTotalReviewPages(java.math.BigInteger value)
Sets the value of the totalReviewPages property.

Parameters:
value - allowed object is BigInteger

getReview

public java.util.List<Review> getReview()
Gets the value of the review property.

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



Copyright © 2007 orange-cafe.de. All Rights Reserved.