|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.Collection
public class Collection
Java class for Collection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Collection">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CollectionSummary" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CollectionSummary" minOccurs="0"/>
<element name="CollectionParent" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CollectionParent" minOccurs="0"/>
<element name="CollectionItem" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CollectionItem" 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<CollectionItem> |
collectionItem
|
protected CollectionParent |
collectionParent
|
protected CollectionSummary |
collectionSummary
|
| Constructor Summary | |
|---|---|
Collection()
|
|
| Method Summary | |
|---|---|
java.util.List<CollectionItem> |
getCollectionItem()
Gets the value of the collectionItem property. |
CollectionParent |
getCollectionParent()
Gets the value of the collectionParent property. |
CollectionSummary |
getCollectionSummary()
Gets the value of the collectionSummary property. |
boolean |
isSetCollectionItem()
|
boolean |
isSetCollectionParent()
|
boolean |
isSetCollectionSummary()
|
void |
setCollectionItem(java.util.List<CollectionItem> collectionItem)
Sets the value of the collectionItem property. |
void |
setCollectionParent(CollectionParent value)
Sets the value of the collectionParent property. |
void |
setCollectionSummary(CollectionSummary value)
Sets the value of the collectionSummary property. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
void |
unsetCollectionItem()
|
Collection |
withCollectionItem(CollectionItem... values)
Sets the value of the CollectionItem property. |
Collection |
withCollectionParent(CollectionParent value)
Sets the value of the CollectionParent property. |
Collection |
withCollectionSummary(CollectionSummary value)
Sets the value of the CollectionSummary property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CollectionSummary collectionSummary
protected CollectionParent collectionParent
protected java.util.List<CollectionItem> collectionItem
| Constructor Detail |
|---|
public Collection()
| Method Detail |
|---|
public CollectionSummary getCollectionSummary()
CollectionSummarypublic void setCollectionSummary(CollectionSummary value)
value - allowed object is
CollectionSummarypublic boolean isSetCollectionSummary()
public CollectionParent getCollectionParent()
CollectionParentpublic void setCollectionParent(CollectionParent value)
value - allowed object is
CollectionParentpublic boolean isSetCollectionParent()
public java.util.List<CollectionItem> getCollectionItem()
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 collectionItem property.
For example, to add a new item, do as follows:
getCollectionItem().add(newItem);
Objects of the following type(s) are allowed in the list
CollectionItem
public boolean isSetCollectionItem()
public void unsetCollectionItem()
public Collection withCollectionSummary(CollectionSummary value)
value -
public Collection withCollectionParent(CollectionParent value)
value -
public Collection withCollectionItem(CollectionItem... values)
values -
public void setCollectionItem(java.util.List<CollectionItem> collectionItem)
collectionItem - allowed object is
CollectionItemprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||