com.amazonaws.a2s.model
Class Disc

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

public class Disc
extends java.lang.Object

Java class for Disc complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Disc">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Track" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Track" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="Number" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.math.BigInteger number
           
protected  java.util.List<Track> track
           
 
Constructor Summary
Disc()
           
 
Method Summary
 java.math.BigInteger getNumber()
          Gets the value of the number property.
 java.util.List<Track> getTrack()
          Gets the value of the track property.
 boolean isSetNumber()
           
 boolean isSetTrack()
           
 void setNumber(java.math.BigInteger value)
          Sets the value of the number property.
 void setTrack(java.util.List<Track> track)
          Sets the value of the track property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetTrack()
           
 Disc withNumber(java.math.BigInteger value)
          Sets the value of the Number property.
 Disc withTrack(Track... values)
          Sets the value of the Track property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

track

protected java.util.List<Track> track

number

protected java.math.BigInteger number
Constructor Detail

Disc

public Disc()
Method Detail

getTrack

public java.util.List<Track> getTrack()
Gets the value of the track 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 track property.

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

    getTrack().add(newItem);
 

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


isSetTrack

public boolean isSetTrack()

unsetTrack

public void unsetTrack()

getNumber

public java.math.BigInteger getNumber()
Gets the value of the number property.

Returns:
possible object is BigInteger

setNumber

public void setNumber(java.math.BigInteger value)
Sets the value of the number property.

Parameters:
value - allowed object is BigInteger

isSetNumber

public boolean isSetNumber()

withTrack

public Disc withTrack(Track... values)
Sets the value of the Track property.

Parameters:
values -
Returns:
this instance

withNumber

public Disc withNumber(java.math.BigInteger value)
Sets the value of the Number property.

Parameters:
value -
Returns:
this instance

setTrack

public void setTrack(java.util.List<Track> track)
Sets the value of the track property.

Parameters:
track - allowed object is Track

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