package com.ECS.client.jax; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Disc" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Track" maxOccurs="unbounded"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="Number" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * <attribute name="Number" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "disc" }) @XmlRootElement(name = "Tracks") public class Tracks { @XmlElement(name = "Disc", required = true) protected List<Tracks.Disc> disc; /** * Gets the value of the disc property. * * <p> * 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 <CODE>set</CODE> method for the disc property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDisc().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Tracks.Disc } * * */ public List<Tracks.Disc> getDisc() { if (disc == null) { disc = new ArrayList<Tracks.Disc>(); } return this.disc; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Track" maxOccurs="unbounded"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="Number" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * <attribute name="Number" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "track" }) public static class Disc { @XmlElement(name = "Track", required = true) protected List<Tracks.Disc.Track> track; @XmlAttribute(name = "Number", required = true) @XmlSchemaType(name = "positiveInteger") protected BigInteger number; /** * Gets the value of the track property. * * <p> * 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 <CODE>set</CODE> method for the track property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTrack().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Tracks.Disc.Track } * * */ public List<Tracks.Disc.Track> getTrack() { if (track == null) { track = new ArrayList<Tracks.Disc.Track>(); } return this.track; } /** * Gets the value of the number property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumber() { return number; } /** * Sets the value of the number property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumber(BigInteger value) { this.number = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="Number" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Track { @XmlValue protected String value; @XmlAttribute(name = "Number", required = true) @XmlSchemaType(name = "positiveInteger") protected BigInteger number; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the number property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumber() { return number; } /** * Sets the value of the number property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumber(BigInteger value) { this.number = value; } } } }