com.amazonaws.a2s.model
Class Offers

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

public class Offers
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="TotalOffers" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="TotalOfferPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Offer" 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.util.List<Offer> offer
           
protected  java.math.BigInteger totalOfferPages
           
protected  java.math.BigInteger totalOffers
           
 
Constructor Summary
Offers()
           
 
Method Summary
 java.util.List<Offer> getOffer()
          Gets the value of the offer property.
 java.math.BigInteger getTotalOfferPages()
          Gets the value of the totalOfferPages property.
 java.math.BigInteger getTotalOffers()
          Gets the value of the totalOffers property.
 boolean isSetOffer()
           
 boolean isSetTotalOfferPages()
           
 boolean isSetTotalOffers()
           
 void setOffer(java.util.List<Offer> offer)
          Sets the value of the offer property.
 void setTotalOfferPages(java.math.BigInteger value)
          Sets the value of the totalOfferPages property.
 void setTotalOffers(java.math.BigInteger value)
          Sets the value of the totalOffers property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetOffer()
           
 Offers withOffer(Offer... values)
          Sets the value of the Offer property.
 Offers withTotalOfferPages(java.math.BigInteger value)
          Sets the value of the TotalOfferPages property.
 Offers withTotalOffers(java.math.BigInteger value)
          Sets the value of the TotalOffers property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

totalOffers

protected java.math.BigInteger totalOffers

totalOfferPages

protected java.math.BigInteger totalOfferPages

offer

protected java.util.List<Offer> offer
Constructor Detail

Offers

public Offers()
Method Detail

getTotalOffers

public java.math.BigInteger getTotalOffers()
Gets the value of the totalOffers property.

Returns:
possible object is BigInteger

setTotalOffers

public void setTotalOffers(java.math.BigInteger value)
Sets the value of the totalOffers property.

Parameters:
value - allowed object is BigInteger

isSetTotalOffers

public boolean isSetTotalOffers()

getTotalOfferPages

public java.math.BigInteger getTotalOfferPages()
Gets the value of the totalOfferPages property.

Returns:
possible object is BigInteger

setTotalOfferPages

public void setTotalOfferPages(java.math.BigInteger value)
Sets the value of the totalOfferPages property.

Parameters:
value - allowed object is BigInteger

isSetTotalOfferPages

public boolean isSetTotalOfferPages()

getOffer

public java.util.List<Offer> getOffer()
Gets the value of the offer 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 offer property.

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

    getOffer().add(newItem);
 

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


isSetOffer

public boolean isSetOffer()

unsetOffer

public void unsetOffer()

withTotalOffers

public Offers withTotalOffers(java.math.BigInteger value)
Sets the value of the TotalOffers property.

Parameters:
value -
Returns:
this instance

withTotalOfferPages

public Offers withTotalOfferPages(java.math.BigInteger value)
Sets the value of the TotalOfferPages property.

Parameters:
value -
Returns:
this instance

withOffer

public Offers withOffer(Offer... values)
Sets the value of the Offer property.

Parameters:
values -
Returns:
this instance

setOffer

public void setOffer(java.util.List<Offer> offer)
Sets the value of the offer property.

Parameters:
offer - allowed object is Offer

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