All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.aesy.musicbrainz.entity.Medium Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.04.01 at 01:10:33 AM CEST 
//


package io.aesy.musicbrainz.entity;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
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") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public class Medium { @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected String title; @XmlSchemaType(name = "nonNegativeInteger") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected BigInteger position; @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected Format format; @XmlElement(name = "disc-list") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected DiscList discList; @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected DefTrackData pregap; @XmlElement(name = "track-list", required = true) @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected Medium.TrackList trackList; @XmlElement(name = "data-track-list") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected DataTrackList dataTrackList; /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setTitle(String value) { this.title = value; } /** * Gets the value of the position property. * * @return * possible object is * {@link BigInteger } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public BigInteger getPosition() { return position; } /** * Sets the value of the position property. * * @param value * allowed object is * {@link BigInteger } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setPosition(BigInteger value) { this.position = value; } /** * Gets the value of the format property. * * @return * possible object is * {@link Format } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public Format getFormat() { return format; } /** * Sets the value of the format property. * * @param value * allowed object is * {@link Format } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setFormat(Format value) { this.format = value; } /** * Gets the value of the discList property. * * @return * possible object is * {@link DiscList } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public DiscList getDiscList() { return discList; } /** * Sets the value of the discList property. * * @param value * allowed object is * {@link DiscList } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setDiscList(DiscList value) { this.discList = value; } /** * Gets the value of the pregap property. * * @return * possible object is * {@link DefTrackData } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public DefTrackData getPregap() { return pregap; } /** * Sets the value of the pregap property. * * @param value * allowed object is * {@link DefTrackData } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setPregap(DefTrackData value) { this.pregap = value; } /** * Gets the value of the trackList property. * * @return * possible object is * {@link Medium.TrackList } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public Medium.TrackList getTrackList() { return trackList; } /** * Sets the value of the trackList property. * * @param value * allowed object is * {@link Medium.TrackList } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setTrackList(Medium.TrackList value) { this.trackList = value; } /** * Gets the value of the dataTrackList property. * * @return * possible object is * {@link DataTrackList } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public DataTrackList getDataTrackList() { return dataTrackList; } /** * Sets the value of the dataTrackList property. * * @param value * allowed object is * {@link DataTrackList } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") 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" }) @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public static class TrackList { @XmlElement(name = "track") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected List defTrack; @XmlAttribute(name = "count") @XmlSchemaType(name = "nonNegativeInteger") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected BigInteger count; @XmlAttribute(name = "offset") @XmlSchemaType(name = "nonNegativeInteger") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected BigInteger offset; /** * 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 } * * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") 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 } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public BigInteger getCount() { return count; } /** * Sets the value of the count property. * * @param value * allowed object is * {@link BigInteger } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setCount(BigInteger value) { this.count = value; } /** * Gets the value of the offset property. * * @return * possible object is * {@link BigInteger } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public BigInteger getOffset() { return offset; } /** * Sets the value of the offset property. * * @param value * allowed object is * {@link BigInteger } * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public void setOffset(BigInteger value) { this.offset = value; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy