com.amazonaws.a2s.model
Class Review

java.lang.Object
  extended by com.amazonaws.a2s.model.Review

public class Review
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="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Rating" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="HelpfulVotes" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="CustomerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Reviewer" minOccurs="0"/>
         <element name="TotalVotes" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="Date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Summary" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Content" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.lang.String asin
           
protected  java.lang.String content
           
protected  java.lang.String customerId
           
protected  java.lang.String date
           
protected  java.math.BigInteger helpfulVotes
           
protected  java.math.BigDecimal rating
           
protected  Reviewer reviewer
           
protected  java.lang.String summary
           
protected  java.math.BigInteger totalVotes
           
 
Constructor Summary
Review()
           
 
Method Summary
 java.lang.String getASIN()
          Gets the value of the asin property.
 java.lang.String getContent()
          Gets the value of the content property.
 java.lang.String getCustomerId()
          Gets the value of the customerId property.
 java.lang.String getDate()
          Gets the value of the date property.
 java.math.BigInteger getHelpfulVotes()
          Gets the value of the helpfulVotes property.
 java.math.BigDecimal getRating()
          Gets the value of the rating property.
 Reviewer getReviewer()
          Gets the value of the reviewer property.
 java.lang.String getSummary()
          Gets the value of the summary property.
 java.math.BigInteger getTotalVotes()
          Gets the value of the totalVotes property.
 boolean isSetASIN()
           
 boolean isSetContent()
           
 boolean isSetCustomerId()
           
 boolean isSetDate()
           
 boolean isSetHelpfulVotes()
           
 boolean isSetRating()
           
 boolean isSetReviewer()
           
 boolean isSetSummary()
           
 boolean isSetTotalVotes()
           
 void setASIN(java.lang.String value)
          Sets the value of the asin property.
 void setContent(java.lang.String value)
          Sets the value of the content property.
 void setCustomerId(java.lang.String value)
          Sets the value of the customerId property.
 void setDate(java.lang.String value)
          Sets the value of the date property.
 void setHelpfulVotes(java.math.BigInteger value)
          Sets the value of the helpfulVotes property.
 void setRating(java.math.BigDecimal value)
          Sets the value of the rating property.
 void setReviewer(Reviewer value)
          Sets the value of the reviewer property.
 void setSummary(java.lang.String value)
          Sets the value of the summary property.
 void setTotalVotes(java.math.BigInteger value)
          Sets the value of the totalVotes property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 Review withASIN(java.lang.String value)
          Sets the value of the ASIN property.
 Review withContent(java.lang.String value)
          Sets the value of the Content property.
 Review withCustomerId(java.lang.String value)
          Sets the value of the CustomerId property.
 Review withDate(java.lang.String value)
          Sets the value of the Date property.
 Review withHelpfulVotes(java.math.BigInteger value)
          Sets the value of the HelpfulVotes property.
 Review withRating(java.math.BigDecimal value)
          Sets the value of the Rating property.
 Review withReviewer(Reviewer value)
          Sets the value of the Reviewer property.
 Review withSummary(java.lang.String value)
          Sets the value of the Summary property.
 Review withTotalVotes(java.math.BigInteger value)
          Sets the value of the TotalVotes property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

asin

protected java.lang.String asin

rating

protected java.math.BigDecimal rating

helpfulVotes

protected java.math.BigInteger helpfulVotes

customerId

protected java.lang.String customerId

reviewer

protected Reviewer reviewer

totalVotes

protected java.math.BigInteger totalVotes

date

protected java.lang.String date

summary

protected java.lang.String summary

content

protected java.lang.String content
Constructor Detail

Review

public Review()
Method Detail

getASIN

public java.lang.String getASIN()
Gets the value of the asin property.

Returns:
possible object is String

setASIN

public void setASIN(java.lang.String value)
Sets the value of the asin property.

Parameters:
value - allowed object is String

isSetASIN

public boolean isSetASIN()

getRating

public java.math.BigDecimal getRating()
Gets the value of the rating property.

Returns:
possible object is BigDecimal

setRating

public void setRating(java.math.BigDecimal value)
Sets the value of the rating property.

Parameters:
value - allowed object is BigDecimal

isSetRating

public boolean isSetRating()

getHelpfulVotes

public java.math.BigInteger getHelpfulVotes()
Gets the value of the helpfulVotes property.

Returns:
possible object is BigInteger

setHelpfulVotes

public void setHelpfulVotes(java.math.BigInteger value)
Sets the value of the helpfulVotes property.

Parameters:
value - allowed object is BigInteger

isSetHelpfulVotes

public boolean isSetHelpfulVotes()

getCustomerId

public java.lang.String getCustomerId()
Gets the value of the customerId property.

Returns:
possible object is String

setCustomerId

public void setCustomerId(java.lang.String value)
Sets the value of the customerId property.

Parameters:
value - allowed object is String

isSetCustomerId

public boolean isSetCustomerId()

getReviewer

public Reviewer getReviewer()
Gets the value of the reviewer property.

Returns:
possible object is Reviewer

setReviewer

public void setReviewer(Reviewer value)
Sets the value of the reviewer property.

Parameters:
value - allowed object is Reviewer

isSetReviewer

public boolean isSetReviewer()

getTotalVotes

public java.math.BigInteger getTotalVotes()
Gets the value of the totalVotes property.

Returns:
possible object is BigInteger

setTotalVotes

public void setTotalVotes(java.math.BigInteger value)
Sets the value of the totalVotes property.

Parameters:
value - allowed object is BigInteger

isSetTotalVotes

public boolean isSetTotalVotes()

getDate

public java.lang.String getDate()
Gets the value of the date property.

Returns:
possible object is String

setDate

public void setDate(java.lang.String value)
Sets the value of the date property.

Parameters:
value - allowed object is String

isSetDate

public boolean isSetDate()

getSummary

public java.lang.String getSummary()
Gets the value of the summary property.

Returns:
possible object is String

setSummary

public void setSummary(java.lang.String value)
Sets the value of the summary property.

Parameters:
value - allowed object is String

isSetSummary

public boolean isSetSummary()

getContent

public java.lang.String getContent()
Gets the value of the content property.

Returns:
possible object is String

setContent

public void setContent(java.lang.String value)
Sets the value of the content property.

Parameters:
value - allowed object is String

isSetContent

public boolean isSetContent()

withASIN

public Review withASIN(java.lang.String value)
Sets the value of the ASIN property.

Parameters:
value -
Returns:
this instance

withRating

public Review withRating(java.math.BigDecimal value)
Sets the value of the Rating property.

Parameters:
value -
Returns:
this instance

withHelpfulVotes

public Review withHelpfulVotes(java.math.BigInteger value)
Sets the value of the HelpfulVotes property.

Parameters:
value -
Returns:
this instance

withCustomerId

public Review withCustomerId(java.lang.String value)
Sets the value of the CustomerId property.

Parameters:
value -
Returns:
this instance

withReviewer

public Review withReviewer(Reviewer value)
Sets the value of the Reviewer property.

Parameters:
value -
Returns:
this instance

withTotalVotes

public Review withTotalVotes(java.math.BigInteger value)
Sets the value of the TotalVotes property.

Parameters:
value -
Returns:
this instance

withDate

public Review withDate(java.lang.String value)
Sets the value of the Date property.

Parameters:
value -
Returns:
this instance

withSummary

public Review withSummary(java.lang.String value)
Sets the value of the Summary property.

Parameters:
value -
Returns:
this instance

withContent

public Review withContent(java.lang.String value)
Sets the value of the Content property.

Parameters:
value -
Returns:
this instance

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only