com.amazonaws.a2s.model
Class List

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

public class List
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="ListId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ListURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="RegistryNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ListName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ListType" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="WishList"/>
               <enumeration value="WeddingRegistry"/>
               <enumeration value="BabyRegistry"/>
               <enumeration value="Listmania"/>
             </restriction>
           </simpleType>
         </element>
         <element name="TotalItems" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="TotalPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="DateCreated" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OccasionDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CustomerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PartnerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AdditionalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Image" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Image" minOccurs="0"/>
         <element name="AverageRating" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="TotalVotes" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="TotalTimesRead" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}ListItem" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Tags" 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 additionalName
           
protected  java.math.BigDecimal averageRating
           
protected  java.lang.String comment
           
protected  java.lang.String customerName
           
protected  java.lang.String dateCreated
           
protected  Image image
           
protected  java.lang.String listId
           
protected  java.util.List<ListItem> listItem
           
protected  java.lang.String listName
           
protected  java.lang.String listType
           
protected  java.lang.String listURL
           
protected  java.lang.String occasionDate
           
protected  java.lang.String partnerName
           
protected  java.lang.String registryNumber
           
protected  Tags tags
           
protected  java.math.BigInteger totalItems
           
protected  java.math.BigInteger totalPages
           
protected  java.math.BigInteger totalTimesRead
           
protected  java.math.BigInteger totalVotes
           
 
Constructor Summary
List()
           
 
Method Summary
 java.lang.String getAdditionalName()
          Gets the value of the additionalName property.
 java.math.BigDecimal getAverageRating()
          Gets the value of the averageRating property.
 java.lang.String getComment()
          Gets the value of the comment property.
 java.lang.String getCustomerName()
          Gets the value of the customerName property.
 java.lang.String getDateCreated()
          Gets the value of the dateCreated property.
 Image getImage()
          Gets the value of the image property.
 java.lang.String getListId()
          Gets the value of the listId property.
 java.util.List<ListItem> getListItem()
          Gets the value of the listItem property.
 java.lang.String getListName()
          Gets the value of the listName property.
 java.lang.String getListType()
          Gets the value of the listType property.
 java.lang.String getListURL()
          Gets the value of the listURL property.
 java.lang.String getOccasionDate()
          Gets the value of the occasionDate property.
 java.lang.String getPartnerName()
          Gets the value of the partnerName property.
 java.lang.String getRegistryNumber()
          Gets the value of the registryNumber property.
 Tags getTags()
          Gets the value of the tags property.
 java.math.BigInteger getTotalItems()
          Gets the value of the totalItems property.
 java.math.BigInteger getTotalPages()
          Gets the value of the totalPages property.
 java.math.BigInteger getTotalTimesRead()
          Gets the value of the totalTimesRead property.
 java.math.BigInteger getTotalVotes()
          Gets the value of the totalVotes property.
 boolean isSetAdditionalName()
           
 boolean isSetAverageRating()
           
 boolean isSetComment()
           
 boolean isSetCustomerName()
           
 boolean isSetDateCreated()
           
 boolean isSetImage()
           
 boolean isSetListId()
           
 boolean isSetListItem()
           
 boolean isSetListName()
           
 boolean isSetListType()
           
 boolean isSetListURL()
           
 boolean isSetOccasionDate()
           
 boolean isSetPartnerName()
           
 boolean isSetRegistryNumber()
           
 boolean isSetTags()
           
 boolean isSetTotalItems()
           
 boolean isSetTotalPages()
           
 boolean isSetTotalTimesRead()
           
 boolean isSetTotalVotes()
           
 void setAdditionalName(java.lang.String value)
          Sets the value of the additionalName property.
 void setAverageRating(java.math.BigDecimal value)
          Sets the value of the averageRating property.
 void setComment(java.lang.String value)
          Sets the value of the comment property.
 void setCustomerName(java.lang.String value)
          Sets the value of the customerName property.
 void setDateCreated(java.lang.String value)
          Sets the value of the dateCreated property.
 void setImage(Image value)
          Sets the value of the image property.
 void setListId(java.lang.String value)
          Sets the value of the listId property.
 void setListItem(java.util.List<ListItem> listItem)
          Sets the value of the listItem property.
 void setListName(java.lang.String value)
          Sets the value of the listName property.
 void setListType(java.lang.String value)
          Sets the value of the listType property.
 void setListURL(java.lang.String value)
          Sets the value of the listURL property.
 void setOccasionDate(java.lang.String value)
          Sets the value of the occasionDate property.
 void setPartnerName(java.lang.String value)
          Sets the value of the partnerName property.
 void setRegistryNumber(java.lang.String value)
          Sets the value of the registryNumber property.
 void setTags(Tags value)
          Sets the value of the tags property.
 void setTotalItems(java.math.BigInteger value)
          Sets the value of the totalItems property.
 void setTotalPages(java.math.BigInteger value)
          Sets the value of the totalPages property.
 void setTotalTimesRead(java.math.BigInteger value)
          Sets the value of the totalTimesRead 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
 void unsetListItem()
           
 List withAdditionalName(java.lang.String value)
          Sets the value of the AdditionalName property.
 List withAverageRating(java.math.BigDecimal value)
          Sets the value of the AverageRating property.
 List withComment(java.lang.String value)
          Sets the value of the Comment property.
 List withCustomerName(java.lang.String value)
          Sets the value of the CustomerName property.
 List withDateCreated(java.lang.String value)
          Sets the value of the DateCreated property.
 List withImage(Image value)
          Sets the value of the Image property.
 List withListId(java.lang.String value)
          Sets the value of the ListId property.
 List withListItem(ListItem... values)
          Sets the value of the ListItem property.
 List withListName(java.lang.String value)
          Sets the value of the ListName property.
 List withListType(java.lang.String value)
          Sets the value of the ListType property.
 List withListURL(java.lang.String value)
          Sets the value of the ListURL property.
 List withOccasionDate(java.lang.String value)
          Sets the value of the OccasionDate property.
 List withPartnerName(java.lang.String value)
          Sets the value of the PartnerName property.
 List withRegistryNumber(java.lang.String value)
          Sets the value of the RegistryNumber property.
 List withTags(Tags value)
          Sets the value of the Tags property.
 List withTotalItems(java.math.BigInteger value)
          Sets the value of the TotalItems property.
 List withTotalPages(java.math.BigInteger value)
          Sets the value of the TotalPages property.
 List withTotalTimesRead(java.math.BigInteger value)
          Sets the value of the TotalTimesRead property.
 List 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

listId

protected java.lang.String listId

listURL

protected java.lang.String listURL

registryNumber

protected java.lang.String registryNumber

listName

protected java.lang.String listName

listType

protected java.lang.String listType

totalItems

protected java.math.BigInteger totalItems

totalPages

protected java.math.BigInteger totalPages

dateCreated

protected java.lang.String dateCreated

occasionDate

protected java.lang.String occasionDate

customerName

protected java.lang.String customerName

partnerName

protected java.lang.String partnerName

additionalName

protected java.lang.String additionalName

comment

protected java.lang.String comment

image

protected Image image

averageRating

protected java.math.BigDecimal averageRating

totalVotes

protected java.math.BigInteger totalVotes

totalTimesRead

protected java.math.BigInteger totalTimesRead

listItem

protected java.util.List<ListItem> listItem

tags

protected Tags tags
Constructor Detail

List

public List()
Method Detail

getListId

public java.lang.String getListId()
Gets the value of the listId property.

Returns:
possible object is String

setListId

public void setListId(java.lang.String value)
Sets the value of the listId property.

Parameters:
value - allowed object is String

isSetListId

public boolean isSetListId()

getListURL

public java.lang.String getListURL()
Gets the value of the listURL property.

Returns:
possible object is String

setListURL

public void setListURL(java.lang.String value)
Sets the value of the listURL property.

Parameters:
value - allowed object is String

isSetListURL

public boolean isSetListURL()

getRegistryNumber

public java.lang.String getRegistryNumber()
Gets the value of the registryNumber property.

Returns:
possible object is String

setRegistryNumber

public void setRegistryNumber(java.lang.String value)
Sets the value of the registryNumber property.

Parameters:
value - allowed object is String

isSetRegistryNumber

public boolean isSetRegistryNumber()

getListName

public java.lang.String getListName()
Gets the value of the listName property.

Returns:
possible object is String

setListName

public void setListName(java.lang.String value)
Sets the value of the listName property.

Parameters:
value - allowed object is String

isSetListName

public boolean isSetListName()

getListType

public java.lang.String getListType()
Gets the value of the listType property.

Returns:
possible object is String

setListType

public void setListType(java.lang.String value)
Sets the value of the listType property.

Parameters:
value - allowed object is String

isSetListType

public boolean isSetListType()

getTotalItems

public java.math.BigInteger getTotalItems()
Gets the value of the totalItems property.

Returns:
possible object is BigInteger

setTotalItems

public void setTotalItems(java.math.BigInteger value)
Sets the value of the totalItems property.

Parameters:
value - allowed object is BigInteger

isSetTotalItems

public boolean isSetTotalItems()

getTotalPages

public java.math.BigInteger getTotalPages()
Gets the value of the totalPages property.

Returns:
possible object is BigInteger

setTotalPages

public void setTotalPages(java.math.BigInteger value)
Sets the value of the totalPages property.

Parameters:
value - allowed object is BigInteger

isSetTotalPages

public boolean isSetTotalPages()

getDateCreated

public java.lang.String getDateCreated()
Gets the value of the dateCreated property.

Returns:
possible object is String

setDateCreated

public void setDateCreated(java.lang.String value)
Sets the value of the dateCreated property.

Parameters:
value - allowed object is String

isSetDateCreated

public boolean isSetDateCreated()

getOccasionDate

public java.lang.String getOccasionDate()
Gets the value of the occasionDate property.

Returns:
possible object is String

setOccasionDate

public void setOccasionDate(java.lang.String value)
Sets the value of the occasionDate property.

Parameters:
value - allowed object is String

isSetOccasionDate

public boolean isSetOccasionDate()

getCustomerName

public java.lang.String getCustomerName()
Gets the value of the customerName property.

Returns:
possible object is String

setCustomerName

public void setCustomerName(java.lang.String value)
Sets the value of the customerName property.

Parameters:
value - allowed object is String

isSetCustomerName

public boolean isSetCustomerName()

getPartnerName

public java.lang.String getPartnerName()
Gets the value of the partnerName property.

Returns:
possible object is String

setPartnerName

public void setPartnerName(java.lang.String value)
Sets the value of the partnerName property.

Parameters:
value - allowed object is String

isSetPartnerName

public boolean isSetPartnerName()

getAdditionalName

public java.lang.String getAdditionalName()
Gets the value of the additionalName property.

Returns:
possible object is String

setAdditionalName

public void setAdditionalName(java.lang.String value)
Sets the value of the additionalName property.

Parameters:
value - allowed object is String

isSetAdditionalName

public boolean isSetAdditionalName()

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

getImage

public Image getImage()
Gets the value of the image property.

Returns:
possible object is Image

setImage

public void setImage(Image value)
Sets the value of the image property.

Parameters:
value - allowed object is Image

isSetImage

public boolean isSetImage()

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

isSetAverageRating

public boolean isSetAverageRating()

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

getTotalTimesRead

public java.math.BigInteger getTotalTimesRead()
Gets the value of the totalTimesRead property.

Returns:
possible object is BigInteger

setTotalTimesRead

public void setTotalTimesRead(java.math.BigInteger value)
Sets the value of the totalTimesRead property.

Parameters:
value - allowed object is BigInteger

isSetTotalTimesRead

public boolean isSetTotalTimesRead()

getListItem

public java.util.List<ListItem> getListItem()
Gets the value of the listItem 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 listItem property.

For example, to add a new item, do as follows:

    getListItem().add(newItem);
 

Objects of the following type(s) are allowed in the list ListItem


isSetListItem

public boolean isSetListItem()

unsetListItem

public void unsetListItem()

getTags

public Tags getTags()
Gets the value of the tags property.

Returns:
possible object is Tags

setTags

public void setTags(Tags value)
Sets the value of the tags property.

Parameters:
value - allowed object is Tags

isSetTags

public boolean isSetTags()

withListId

public List withListId(java.lang.String value)
Sets the value of the ListId property.

Parameters:
value -
Returns:
this instance

withListURL

public List withListURL(java.lang.String value)
Sets the value of the ListURL property.

Parameters:
value -
Returns:
this instance

withRegistryNumber

public List withRegistryNumber(java.lang.String value)
Sets the value of the RegistryNumber property.

Parameters:
value -
Returns:
this instance

withListName

public List withListName(java.lang.String value)
Sets the value of the ListName property.

Parameters:
value -
Returns:
this instance

withListType

public List withListType(java.lang.String value)
Sets the value of the ListType property.

Parameters:
value -
Returns:
this instance

withTotalItems

public List withTotalItems(java.math.BigInteger value)
Sets the value of the TotalItems property.

Parameters:
value -
Returns:
this instance

withTotalPages

public List withTotalPages(java.math.BigInteger value)
Sets the value of the TotalPages property.

Parameters:
value -
Returns:
this instance

withDateCreated

public List withDateCreated(java.lang.String value)
Sets the value of the DateCreated property.

Parameters:
value -
Returns:
this instance

withOccasionDate

public List withOccasionDate(java.lang.String value)
Sets the value of the OccasionDate property.

Parameters:
value -
Returns:
this instance

withCustomerName

public List withCustomerName(java.lang.String value)
Sets the value of the CustomerName property.

Parameters:
value -
Returns:
this instance

withPartnerName

public List withPartnerName(java.lang.String value)
Sets the value of the PartnerName property.

Parameters:
value -
Returns:
this instance

withAdditionalName

public List withAdditionalName(java.lang.String value)
Sets the value of the AdditionalName property.

Parameters:
value -
Returns:
this instance

withComment

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

Parameters:
value -
Returns:
this instance

withImage

public List withImage(Image value)
Sets the value of the Image property.

Parameters:
value -
Returns:
this instance

withAverageRating

public List withAverageRating(java.math.BigDecimal value)
Sets the value of the AverageRating property.

Parameters:
value -
Returns:
this instance

withTotalVotes

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

Parameters:
value -
Returns:
this instance

withTotalTimesRead

public List withTotalTimesRead(java.math.BigInteger value)
Sets the value of the TotalTimesRead property.

Parameters:
value -
Returns:
this instance

withListItem

public List withListItem(ListItem... values)
Sets the value of the ListItem property.

Parameters:
values -
Returns:
this instance

withTags

public List withTags(Tags value)
Sets the value of the Tags property.

Parameters:
value -
Returns:
this instance

setListItem

public void setListItem(java.util.List<ListItem> listItem)
Sets the value of the listItem property.

Parameters:
listItem - allowed object is ListItem

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