com.amazonaws.a2s.model
Class Tags

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

public class Tags
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="DistinctTags" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <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}Tag" 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 distinctTags
           
protected  java.lang.String distinctUsers
           
protected  Tagging firstTagging
           
protected  Tagging lastTagging
           
protected  java.util.List<Tag> tag
           
protected  java.lang.String totalUsages
           
 
Constructor Summary
Tags()
           
 
Method Summary
 java.lang.String getDistinctItems()
          Gets the value of the distinctItems property.
 java.lang.String getDistinctTags()
          Gets the value of the distinctTags 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.util.List<Tag> getTag()
          Gets the value of the tag property.
 java.lang.String getTotalUsages()
          Gets the value of the totalUsages property.
 boolean isSetDistinctItems()
           
 boolean isSetDistinctTags()
           
 boolean isSetDistinctUsers()
           
 boolean isSetFirstTagging()
           
 boolean isSetLastTagging()
           
 boolean isSetTag()
           
 boolean isSetTotalUsages()
           
 void setDistinctItems(java.lang.String value)
          Sets the value of the distinctItems property.
 void setDistinctTags(java.lang.String value)
          Sets the value of the distinctTags 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 setTag(java.util.List<Tag> tag)
          Sets the value of the tag 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 unsetTag()
           
 Tags withDistinctItems(java.lang.String value)
          Sets the value of the DistinctItems property.
 Tags withDistinctTags(java.lang.String value)
          Sets the value of the DistinctTags property.
 Tags withDistinctUsers(java.lang.String value)
          Sets the value of the DistinctUsers property.
 Tags withFirstTagging(Tagging value)
          Sets the value of the FirstTagging property.
 Tags withLastTagging(Tagging value)
          Sets the value of the LastTagging property.
 Tags withTag(Tag... values)
          Sets the value of the Tag property.
 Tags 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

distinctTags

protected java.lang.String distinctTags

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

tag

protected java.util.List<Tag> tag
Constructor Detail

Tags

public Tags()
Method Detail

getDistinctTags

public java.lang.String getDistinctTags()
Gets the value of the distinctTags property.

Returns:
possible object is String

setDistinctTags

public void setDistinctTags(java.lang.String value)
Sets the value of the distinctTags property.

Parameters:
value - allowed object is String

isSetDistinctTags

public boolean isSetDistinctTags()

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

getTag

public java.util.List<Tag> getTag()
Gets the value of the tag 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 tag property.

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

    getTag().add(newItem);
 

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


isSetTag

public boolean isSetTag()

unsetTag

public void unsetTag()

withDistinctTags

public Tags withDistinctTags(java.lang.String value)
Sets the value of the DistinctTags property.

Parameters:
value -
Returns:
this instance

withDistinctItems

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

Parameters:
value -
Returns:
this instance

withDistinctUsers

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

Parameters:
value -
Returns:
this instance

withTotalUsages

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

Parameters:
value -
Returns:
this instance

withFirstTagging

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

Parameters:
value -
Returns:
this instance

withLastTagging

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

Parameters:
value -
Returns:
this instance

withTag

public Tags withTag(Tag... values)
Sets the value of the Tag property.

Parameters:
values -
Returns:
this instance

setTag

public void setTag(java.util.List<Tag> tag)
Sets the value of the tag property.

Parameters:
tag - allowed object is Tag

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