org.musicbrainz.ns.mmd_2.Medium Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.04.12 at 04:01:25 PM CEST
//
package org.musicbrainz.ns.mmd_2;
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;
/**
* 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 ref="{http://musicbrainz.org/ns/mmd-2.0#}title" minOccurs="0"/>
* <element ref="{http://musicbrainz.org/ns/mmd-2.0#}position" minOccurs="0"/>
* <element ref="{http://musicbrainz.org/ns/mmd-2.0#}format" minOccurs="0"/>
* <element ref="{http://musicbrainz.org/ns/mmd-2.0#}disc-list" minOccurs="0"/>
* <element ref="{http://musicbrainz.org/ns/mmd-2.0#}pregap" minOccurs="0"/>
* <group ref="{http://musicbrainz.org/ns/mmd-2.0#}def_track-list"/>
* <element ref="{http://musicbrainz.org/ns/mmd-2.0#}data-track-list" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"title",
"position",
"format",
"discList",
"pregap",
"trackList",
"dataTrackList"
})
@XmlRootElement(name = "medium")
public class Medium {
protected String title;
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger position;
protected String format;
@XmlElement(name = "disc-list")
protected DiscList discList;
protected DefTrackData pregap;
@XmlElement(name = "track-list", required = true)
protected Medium.TrackList trackList;
@XmlElement(name = "data-track-list")
protected DataTrackList dataTrackList;
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the position property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPosition() {
return position;
}
/**
* Sets the value of the position property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPosition(BigInteger value) {
this.position = value;
}
/**
* Gets the value of the format property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormat() {
return format;
}
/**
* Sets the value of the format property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormat(String value) {
this.format = value;
}
/**
* Gets the value of the discList property.
*
* @return
* possible object is
* {@link DiscList }
*
*/
public DiscList getDiscList() {
return discList;
}
/**
* Sets the value of the discList property.
*
* @param value
* allowed object is
* {@link DiscList }
*
*/
public void setDiscList(DiscList value) {
this.discList = value;
}
/**
* Gets the value of the pregap property.
*
* @return
* possible object is
* {@link DefTrackData }
*
*/
public DefTrackData getPregap() {
return pregap;
}
/**
* Sets the value of the pregap property.
*
* @param value
* allowed object is
* {@link DefTrackData }
*
*/
public void setPregap(DefTrackData value) {
this.pregap = value;
}
/**
* Gets the value of the trackList property.
*
* @return
* possible object is
* {@link Medium.TrackList }
*
*/
public Medium.TrackList getTrackList() {
return trackList;
}
/**
* Sets the value of the trackList property.
*
* @param value
* allowed object is
* {@link Medium.TrackList }
*
*/
public void setTrackList(Medium.TrackList value) {
this.trackList = value;
}
/**
* Gets the value of the dataTrackList property.
*
* @return
* possible object is
* {@link DataTrackList }
*
*/
public DataTrackList getDataTrackList() {
return dataTrackList;
}
/**
* Sets the value of the dataTrackList property.
*
* @param value
* allowed object is
* {@link DataTrackList }
*
*/
public void setDataTrackList(DataTrackList value) {
this.dataTrackList = value;
}
/**
* 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">
* <group ref="{http://musicbrainz.org/ns/mmd-2.0#}def_track" maxOccurs="unbounded" minOccurs="0"/>
* <attGroup ref="{http://musicbrainz.org/ns/mmd-2.0#}def_list-attributes"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"defTrack"
})
public static class TrackList {
@XmlElement(name = "track")
protected List defTrack;
@XmlAttribute
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger count;
@XmlAttribute
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger offset2;
/**
* Gets the value of the defTrack 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 defTrack property.
*
*
* For example, to add a new item, do as follows:
*
* getDefTrack().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DefTrackData }
*
*
*/
public List getDefTrack() {
if (defTrack == null) {
defTrack = new ArrayList();
}
return this.defTrack;
}
/**
* Gets the value of the count property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCount() {
return count;
}
/**
* Sets the value of the count property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCount(BigInteger value) {
this.count = value;
}
/**
* Gets the value of the offset2 property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOffset2() {
return offset2;
}
/**
* Sets the value of the offset2 property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOffset2(BigInteger value) {
this.offset2 = value;
}
}
}