com.amazonaws.a2s.model
Class Customer

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

public class Customer
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="CustomerId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Nickname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Birthday" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="WishListId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Location" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CustomerLocation" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CustomerReviews" 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 birthday
           
protected  java.lang.String customerId
           
protected  java.util.List<CustomerReviews> customerReviews
           
protected  CustomerLocation location
           
protected  java.lang.String nickname
           
protected  Tags tags
           
protected  java.lang.String wishListId
           
 
Constructor Summary
Customer()
           
 
Method Summary
 java.lang.String getBirthday()
          Gets the value of the birthday property.
 java.lang.String getCustomerId()
          Gets the value of the customerId property.
 java.util.List<CustomerReviews> getCustomerReviews()
          Gets the value of the customerReviews property.
 CustomerLocation getLocation()
          Gets the value of the location property.
 java.lang.String getNickname()
          Gets the value of the nickname property.
 Tags getTags()
          Gets the value of the tags property.
 java.lang.String getWishListId()
          Gets the value of the wishListId property.
 boolean isSetBirthday()
           
 boolean isSetCustomerId()
           
 boolean isSetCustomerReviews()
           
 boolean isSetLocation()
           
 boolean isSetNickname()
           
 boolean isSetTags()
           
 boolean isSetWishListId()
           
 void setBirthday(java.lang.String value)
          Sets the value of the birthday property.
 void setCustomerId(java.lang.String value)
          Sets the value of the customerId property.
 void setCustomerReviews(java.util.List<CustomerReviews> customerReviews)
          Sets the value of the customerReviews property.
 void setLocation(CustomerLocation value)
          Sets the value of the location property.
 void setNickname(java.lang.String value)
          Sets the value of the nickname property.
 void setTags(Tags value)
          Sets the value of the tags property.
 void setWishListId(java.lang.String value)
          Sets the value of the wishListId property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetCustomerReviews()
           
 Customer withBirthday(java.lang.String value)
          Sets the value of the Birthday property.
 Customer withCustomerId(java.lang.String value)
          Sets the value of the CustomerId property.
 Customer withCustomerReviews(CustomerReviews... values)
          Sets the value of the CustomerReviews property.
 Customer withLocation(CustomerLocation value)
          Sets the value of the Location property.
 Customer withNickname(java.lang.String value)
          Sets the value of the Nickname property.
 Customer withTags(Tags value)
          Sets the value of the Tags property.
 Customer withWishListId(java.lang.String value)
          Sets the value of the WishListId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customerId

protected java.lang.String customerId

nickname

protected java.lang.String nickname

birthday

protected java.lang.String birthday

wishListId

protected java.lang.String wishListId

location

protected CustomerLocation location

customerReviews

protected java.util.List<CustomerReviews> customerReviews

tags

protected Tags tags
Constructor Detail

Customer

public Customer()
Method Detail

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

getNickname

public java.lang.String getNickname()
Gets the value of the nickname property.

Returns:
possible object is String

setNickname

public void setNickname(java.lang.String value)
Sets the value of the nickname property.

Parameters:
value - allowed object is String

isSetNickname

public boolean isSetNickname()

getBirthday

public java.lang.String getBirthday()
Gets the value of the birthday property.

Returns:
possible object is String

setBirthday

public void setBirthday(java.lang.String value)
Sets the value of the birthday property.

Parameters:
value - allowed object is String

isSetBirthday

public boolean isSetBirthday()

getWishListId

public java.lang.String getWishListId()
Gets the value of the wishListId property.

Returns:
possible object is String

setWishListId

public void setWishListId(java.lang.String value)
Sets the value of the wishListId property.

Parameters:
value - allowed object is String

isSetWishListId

public boolean isSetWishListId()

getLocation

public CustomerLocation getLocation()
Gets the value of the location property.

Returns:
possible object is CustomerLocation

setLocation

public void setLocation(CustomerLocation value)
Sets the value of the location property.

Parameters:
value - allowed object is CustomerLocation

isSetLocation

public boolean isSetLocation()

getCustomerReviews

public java.util.List<CustomerReviews> getCustomerReviews()
Gets the value of the customerReviews 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 customerReviews property.

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

    getCustomerReviews().add(newItem);
 

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


isSetCustomerReviews

public boolean isSetCustomerReviews()

unsetCustomerReviews

public void unsetCustomerReviews()

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

withCustomerId

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

Parameters:
value -
Returns:
this instance

withNickname

public Customer withNickname(java.lang.String value)
Sets the value of the Nickname property.

Parameters:
value -
Returns:
this instance

withBirthday

public Customer withBirthday(java.lang.String value)
Sets the value of the Birthday property.

Parameters:
value -
Returns:
this instance

withWishListId

public Customer withWishListId(java.lang.String value)
Sets the value of the WishListId property.

Parameters:
value -
Returns:
this instance

withLocation

public Customer withLocation(CustomerLocation value)
Sets the value of the Location property.

Parameters:
value -
Returns:
this instance

withCustomerReviews

public Customer withCustomerReviews(CustomerReviews... values)
Sets the value of the CustomerReviews property.

Parameters:
values -
Returns:
this instance

withTags

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

Parameters:
value -
Returns:
this instance

setCustomerReviews

public void setCustomerReviews(java.util.List<CustomerReviews> customerReviews)
Sets the value of the customerReviews property.

Parameters:
customerReviews - allowed object is CustomerReviews

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