com.amazonaws.a2s.model
Class Feedback

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

public class Feedback
extends java.lang.Object

Java class for Feedback complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Feedback">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Rating" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="RatedBy" 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 comment
           
protected  java.lang.String date
           
protected  java.lang.String ratedBy
           
protected  java.math.BigInteger rating
           
 
Constructor Summary
Feedback()
           
 
Method Summary
 java.lang.String getComment()
          Gets the value of the comment property.
 java.lang.String getDate()
          Gets the value of the date property.
 java.lang.String getRatedBy()
          Gets the value of the ratedBy property.
 java.math.BigInteger getRating()
          Gets the value of the rating property.
 boolean isSetComment()
           
 boolean isSetDate()
           
 boolean isSetRatedBy()
           
 boolean isSetRating()
           
 void setComment(java.lang.String value)
          Sets the value of the comment property.
 void setDate(java.lang.String value)
          Sets the value of the date property.
 void setRatedBy(java.lang.String value)
          Sets the value of the ratedBy property.
 void setRating(java.math.BigInteger value)
          Sets the value of the rating property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 Feedback withComment(java.lang.String value)
          Sets the value of the Comment property.
 Feedback withDate(java.lang.String value)
          Sets the value of the Date property.
 Feedback withRatedBy(java.lang.String value)
          Sets the value of the RatedBy property.
 Feedback withRating(java.math.BigInteger value)
          Sets the value of the Rating property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rating

protected java.math.BigInteger rating

comment

protected java.lang.String comment

date

protected java.lang.String date

ratedBy

protected java.lang.String ratedBy
Constructor Detail

Feedback

public Feedback()
Method Detail

getRating

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

Returns:
possible object is BigInteger

setRating

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

Parameters:
value - allowed object is BigInteger

isSetRating

public boolean isSetRating()

getComment

public java.lang.String getComment()
Gets the value of the comment property.

Returns:
possible object is String

setComment

public void setComment(java.lang.String value)
Sets the value of the comment property.

Parameters:
value - allowed object is String

isSetComment

public boolean isSetComment()

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()

getRatedBy

public java.lang.String getRatedBy()
Gets the value of the ratedBy property.

Returns:
possible object is String

setRatedBy

public void setRatedBy(java.lang.String value)
Sets the value of the ratedBy property.

Parameters:
value - allowed object is String

isSetRatedBy

public boolean isSetRatedBy()

withRating

public Feedback withRating(java.math.BigInteger value)
Sets the value of the Rating property.

Parameters:
value -
Returns:
this instance

withComment

public Feedback withComment(java.lang.String value)
Sets the value of the Comment property.

Parameters:
value -
Returns:
this instance

withDate

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

Parameters:
value -
Returns:
this instance

withRatedBy

public Feedback withRatedBy(java.lang.String value)
Sets the value of the RatedBy 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