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

io.aesy.musicbrainz.entity.LanguageList 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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

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="language" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<http://musicbrainz.org/ns/mmd-2.0#>def_iso-639">
 *                 <attribute name="fluency">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *                       <enumeration value="basic"/>
 *                       <enumeration value="intermediate"/>
 *                       <enumeration value="advanced"/>
 *                       <enumeration value="native"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{http://musicbrainz.org/ns/mmd-2.0#}def_list-attributes"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "language" }) @XmlRootElement(name = "language-list") @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public class LanguageList { @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected List language; @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 language 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 language property. * *

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

     *    getLanguage().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LanguageList.Language } * * */ @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public List getLanguage() { if (language == null) { language = new ArrayList(); } return this.language; } /** * 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; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <simpleContent>
     *     <extension base="<http://musicbrainz.org/ns/mmd-2.0#>def_iso-639">
     *       <attribute name="fluency">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     *             <enumeration value="basic"/>
     *             <enumeration value="intermediate"/>
     *             <enumeration value="advanced"/>
     *             <enumeration value="native"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") public static class Language { @XmlValue @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected String value; @XmlAttribute(name = "fluency") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00") protected String fluency; /** * Gets the value of the value 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 getValue() { return value; } /** * Sets the value of the value 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 setValue(String value) { this.value = value; } /** * Gets the value of the fluency 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 getFluency() { return fluency; } /** * Sets the value of the fluency 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 setFluency(String value) { this.fluency = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy