|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.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-10-29}Review" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
Generated by AWS Code Generator
Thu Jan 10 05:27:59 PST 2008
| 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. |
boolean |
isSetAverageRating()
|
boolean |
isSetReview()
|
boolean |
isSetTotalReviewPages()
|
boolean |
isSetTotalReviews()
|
void |
setAverageRating(java.math.BigDecimal value)
Sets the value of the averageRating property. |
void |
setReview(java.util.List<Review> review)
Sets the value of the review 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. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
void |
unsetReview()
|
CustomerReviews |
withAverageRating(java.math.BigDecimal value)
Sets the value of the AverageRating property. |
CustomerReviews |
withReview(Review... values)
Sets the value of the Review property. |
CustomerReviews |
withTotalReviewPages(java.math.BigInteger value)
Sets the value of the TotalReviewPages property. |
CustomerReviews |
withTotalReviews(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()
BigDecimalpublic void setAverageRating(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic boolean isSetAverageRating()
public java.math.BigInteger getTotalReviews()
BigIntegerpublic void setTotalReviews(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetTotalReviews()
public java.math.BigInteger getTotalReviewPages()
BigIntegerpublic void setTotalReviewPages(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetTotalReviewPages()
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
public boolean isSetReview()
public void unsetReview()
public CustomerReviews withAverageRating(java.math.BigDecimal value)
value -
public CustomerReviews withTotalReviews(java.math.BigInteger value)
value -
public CustomerReviews withTotalReviewPages(java.math.BigInteger value)
value -
public CustomerReviews withReview(Review... values)
values -
public void setReview(java.util.List<Review> review)
review - allowed object is
Reviewprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||