com.amazonaws.a2s.model
Class Tag

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

public class Tag
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="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="TagType" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="Item"/>
               <enumeration value="ListmaniaList"/>
               <enumeration value="Guide"/>
             </restriction>
           </simpleType>
         </element>
         <element name="DistinctItems" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="DistinctUsers" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="TotalUsages" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="FirstTagging" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Tagging" minOccurs="0"/>
         <element name="LastTagging" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Tagging" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}TaggedItems" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}TaggedListmaniaLists" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}TaggedGuides" 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.lang.String distinctItems
           
protected  java.lang.String distinctUsers
           
protected  Tagging firstTagging
           
protected  Tagging lastTagging
           
protected  java.lang.String name
           
protected  java.util.List<TaggedGuides> taggedGuides
           
protected  java.util.List<TaggedItems> taggedItems
           
protected  java.util.List<TaggedListmaniaLists> taggedListmaniaLists
           
protected  java.lang.String tagType
           
protected  java.lang.String totalUsages
           
 
Constructor Summary
Tag()
           
 
Method Summary
 java.lang.String getDistinctItems()
          Gets the value of the distinctItems property.
 java.lang.String getDistinctUsers()
          Gets the value of the distinctUsers property.
 Tagging getFirstTagging()
          Gets the value of the firstTagging property.
 Tagging getLastTagging()
          Gets the value of the lastTagging property.
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<TaggedGuides> getTaggedGuides()
          Gets the value of the taggedGuides property.
 java.util.List<TaggedItems> getTaggedItems()
          Gets the value of the taggedItems property.
 java.util.List<TaggedListmaniaLists> getTaggedListmaniaLists()
          Gets the value of the taggedListmaniaLists property.
 java.lang.String getTagType()
          Gets the value of the tagType property.
 java.lang.String getTotalUsages()
          Gets the value of the totalUsages property.
 boolean isSetDistinctItems()
           
 boolean isSetDistinctUsers()
           
 boolean isSetFirstTagging()
           
 boolean isSetLastTagging()
           
 boolean isSetName()
           
 boolean isSetTaggedGuides()
           
 boolean isSetTaggedItems()
           
 boolean isSetTaggedListmaniaLists()
           
 boolean isSetTagType()
           
 boolean isSetTotalUsages()
           
 void setDistinctItems(java.lang.String value)
          Sets the value of the distinctItems property.
 void setDistinctUsers(java.lang.String value)
          Sets the value of the distinctUsers property.
 void setFirstTagging(Tagging value)
          Sets the value of the firstTagging property.
 void setLastTagging(Tagging value)
          Sets the value of the lastTagging property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setTaggedGuides(java.util.List<TaggedGuides> taggedGuides)
          Sets the value of the taggedGuides property.
 void setTaggedItems(java.util.List<TaggedItems> taggedItems)
          Sets the value of the taggedItems property.
 void setTaggedListmaniaLists(java.util.List<TaggedListmaniaLists> taggedListmaniaLists)
          Sets the value of the taggedListmaniaLists property.
 void setTagType(java.lang.String value)
          Sets the value of the tagType property.
 void setTotalUsages(java.lang.String value)
          Sets the value of the totalUsages property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetTaggedGuides()
           
 void unsetTaggedItems()
           
 void unsetTaggedListmaniaLists()
           
 Tag withDistinctItems(java.lang.String value)
          Sets the value of the DistinctItems property.
 Tag withDistinctUsers(java.lang.String value)
          Sets the value of the DistinctUsers property.
 Tag withFirstTagging(Tagging value)
          Sets the value of the FirstTagging property.
 Tag withLastTagging(Tagging value)
          Sets the value of the LastTagging property.
 Tag withName(java.lang.String value)
          Sets the value of the Name property.
 Tag withTaggedGuides(TaggedGuides... values)
          Sets the value of the TaggedGuides property.
 Tag withTaggedItems(TaggedItems... values)
          Sets the value of the TaggedItems property.
 Tag withTaggedListmaniaLists(TaggedListmaniaLists... values)
          Sets the value of the TaggedListmaniaLists property.
 Tag withTagType(java.lang.String value)
          Sets the value of the TagType property.
 Tag withTotalUsages(java.lang.String value)
          Sets the value of the TotalUsages property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

tagType

protected java.lang.String tagType

distinctItems

protected java.lang.String distinctItems

distinctUsers

protected java.lang.String distinctUsers

totalUsages

protected java.lang.String totalUsages

firstTagging

protected Tagging firstTagging

lastTagging

protected Tagging lastTagging

taggedItems

protected java.util.List<TaggedItems> taggedItems

taggedListmaniaLists

protected java.util.List<TaggedListmaniaLists> taggedListmaniaLists

taggedGuides

protected java.util.List<TaggedGuides> taggedGuides
Constructor Detail

Tag

public Tag()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()

getTagType

public java.lang.String getTagType()
Gets the value of the tagType property.

Returns:
possible object is String

setTagType

public void setTagType(java.lang.String value)
Sets the value of the tagType property.

Parameters:
value - allowed object is String

isSetTagType

public boolean isSetTagType()

getDistinctItems

public java.lang.String getDistinctItems()
Gets the value of the distinctItems property.

Returns:
possible object is String

setDistinctItems

public void setDistinctItems(java.lang.String value)
Sets the value of the distinctItems property.

Parameters:
value - allowed object is String

isSetDistinctItems

public boolean isSetDistinctItems()

getDistinctUsers

public java.lang.String getDistinctUsers()
Gets the value of the distinctUsers property.

Returns:
possible object is String

setDistinctUsers

public void setDistinctUsers(java.lang.String value)
Sets the value of the distinctUsers property.

Parameters:
value - allowed object is String

isSetDistinctUsers

public boolean isSetDistinctUsers()

getTotalUsages

public java.lang.String getTotalUsages()
Gets the value of the totalUsages property.

Returns:
possible object is String

setTotalUsages

public void setTotalUsages(java.lang.String value)
Sets the value of the totalUsages property.

Parameters:
value - allowed object is String

isSetTotalUsages

public boolean isSetTotalUsages()

getFirstTagging

public Tagging getFirstTagging()
Gets the value of the firstTagging property.

Returns:
possible object is Tagging

setFirstTagging

public void setFirstTagging(Tagging value)
Sets the value of the firstTagging property.

Parameters:
value - allowed object is Tagging

isSetFirstTagging

public boolean isSetFirstTagging()

getLastTagging

public Tagging getLastTagging()
Gets the value of the lastTagging property.

Returns:
possible object is Tagging

setLastTagging

public void setLastTagging(Tagging value)
Sets the value of the lastTagging property.

Parameters:
value - allowed object is Tagging

isSetLastTagging

public boolean isSetLastTagging()

getTaggedItems

public java.util.List<TaggedItems> getTaggedItems()
Gets the value of the taggedItems 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 taggedItems property.

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

    getTaggedItems().add(newItem);
 

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


isSetTaggedItems

public boolean isSetTaggedItems()

unsetTaggedItems

public void unsetTaggedItems()

getTaggedListmaniaLists

public java.util.List<TaggedListmaniaLists> getTaggedListmaniaLists()
Gets the value of the taggedListmaniaLists 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 taggedListmaniaLists property.

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

    getTaggedListmaniaLists().add(newItem);
 

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


isSetTaggedListmaniaLists

public boolean isSetTaggedListmaniaLists()

unsetTaggedListmaniaLists

public void unsetTaggedListmaniaLists()

getTaggedGuides

public java.util.List<TaggedGuides> getTaggedGuides()
Gets the value of the taggedGuides 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 taggedGuides property.

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

    getTaggedGuides().add(newItem);
 

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


isSetTaggedGuides

public boolean isSetTaggedGuides()

unsetTaggedGuides

public void unsetTaggedGuides()

withName

public Tag withName(java.lang.String value)
Sets the value of the Name property.

Parameters:
value -
Returns:
this instance

withTagType

public Tag withTagType(java.lang.String value)
Sets the value of the TagType property.

Parameters:
value -
Returns:
this instance

withDistinctItems

public Tag withDistinctItems(java.lang.String value)
Sets the value of the DistinctItems property.

Parameters:
value -
Returns:
this instance

withDistinctUsers

public Tag withDistinctUsers(java.lang.String value)
Sets the value of the DistinctUsers property.

Parameters:
value -
Returns:
this instance

withTotalUsages

public Tag withTotalUsages(java.lang.String value)
Sets the value of the TotalUsages property.

Parameters:
value -
Returns:
this instance

withFirstTagging

public Tag withFirstTagging(Tagging value)
Sets the value of the FirstTagging property.

Parameters:
value -
Returns:
this instance

withLastTagging

public Tag withLastTagging(Tagging value)
Sets the value of the LastTagging property.

Parameters:
value -
Returns:
this instance

withTaggedItems

public Tag withTaggedItems(TaggedItems... values)
Sets the value of the TaggedItems property.

Parameters:
values -
Returns:
this instance

withTaggedListmaniaLists

public Tag withTaggedListmaniaLists(TaggedListmaniaLists... values)
Sets the value of the TaggedListmaniaLists property.

Parameters:
values -
Returns:
this instance

withTaggedGuides

public Tag withTaggedGuides(TaggedGuides... values)
Sets the value of the TaggedGuides property.

Parameters:
values -
Returns:
this instance

setTaggedItems

public void setTaggedItems(java.util.List<TaggedItems> taggedItems)
Sets the value of the taggedItems property.

Parameters:
taggedItems - allowed object is TaggedItems

setTaggedListmaniaLists

public void setTaggedListmaniaLists(java.util.List<TaggedListmaniaLists> taggedListmaniaLists)
Sets the value of the taggedListmaniaLists property.

Parameters:
taggedListmaniaLists - allowed object is TaggedListmaniaLists

setTaggedGuides

public void setTaggedGuides(java.util.List<TaggedGuides> taggedGuides)
Sets the value of the taggedGuides property.

Parameters:
taggedGuides - allowed object is TaggedGuides

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