|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.Customer
public class Customer
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 |
|---|
protected java.lang.String customerId
protected java.lang.String nickname
protected java.lang.String birthday
protected java.lang.String wishListId
protected CustomerLocation location
protected java.util.List<CustomerReviews> customerReviews
protected Tags tags
| Constructor Detail |
|---|
public Customer()
| Method Detail |
|---|
public java.lang.String getCustomerId()
Stringpublic void setCustomerId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetCustomerId()
public java.lang.String getNickname()
Stringpublic void setNickname(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetNickname()
public java.lang.String getBirthday()
Stringpublic void setBirthday(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetBirthday()
public java.lang.String getWishListId()
Stringpublic void setWishListId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetWishListId()
public CustomerLocation getLocation()
CustomerLocationpublic void setLocation(CustomerLocation value)
value - allowed object is
CustomerLocationpublic boolean isSetLocation()
public java.util.List<CustomerReviews> getCustomerReviews()
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
public boolean isSetCustomerReviews()
public void unsetCustomerReviews()
public Tags getTags()
Tagspublic void setTags(Tags value)
value - allowed object is
Tagspublic boolean isSetTags()
public Customer withCustomerId(java.lang.String value)
value -
public Customer withNickname(java.lang.String value)
value -
public Customer withBirthday(java.lang.String value)
value -
public Customer withWishListId(java.lang.String value)
value -
public Customer withLocation(CustomerLocation value)
value -
public Customer withCustomerReviews(CustomerReviews... values)
values -
public Customer withTags(Tags value)
value -
public void setCustomerReviews(java.util.List<CustomerReviews> customerReviews)
customerReviews - allowed object is
CustomerReviewsprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||