//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.12-1.0.0.0_2-1-12-ea 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.03.07 at 10:44:52 AM CET 
//

package com.ejie.x43k.xml;

import java.io.Serializable;
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.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 * <p>
 * Java class for provinciaType complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="provinciaType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="language" maxOccurs="unbounded" minOccurs="0">
 *           &lt;complexType>
 *             &lt;simpleContent>
 *               &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 *                 &lt;attribute name="locale">
 *                   &lt;simpleType>
 *                     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *                       &lt;enumeration value="es"/>
 *                       &lt;enumeration value="eu"/>
 *                     &lt;/restriction>
 *                   &lt;/simpleType>
 *                 &lt;/attribute>
 *               &lt;/extension>
 *             &lt;/simpleContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "provinciaType", propOrder = { "language" })
public class ProvinciaType implements Serializable {

	private final static long serialVersionUID = 12343L;
	private List<ProvinciaType.Language> language;

	/**
	 * Gets the value of the language 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 language property.
	 * 
	 * <p>
	 * For example, to add a new item, do as follows:
	 * 
	 * <pre>
	 * getLanguage().add(newItem);
	 * </pre>
	 * 
	 * 
	 * <p>
	 * Objects of the following type(s) are allowed in the list
	 * {@link ProvinciaType.Language }
	 * 
	 * @return List<ProvinciaType.Language>
	 */
	public List<ProvinciaType.Language> getLanguage() {
		if (language == null) {
			language = new ArrayList<ProvinciaType.Language>();
		}
		return this.language;
	}

	/**
	 * Checks if is sets the language.
	 *
	 * @return boolean
	 */
	public boolean isSetLanguage() {
		return ((this.language != null) && (!this.language.isEmpty()));
	}

	/**
	 * unsetLanguage.
	 */
	public void unsetLanguage() {
		this.language = null;
	}

	/**
	 * <p>
	 * Java class for anonymous complex type.
	 * 
	 * <p>
	 * The following schema fragment specifies the expected content contained
	 * within this class.
	 * 
	 * <pre>
	 * &lt;complexType>
	 *   &lt;simpleContent>
	 *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
	 *       &lt;attribute name="locale">
	 *         &lt;simpleType>
	 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
	 *             &lt;enumeration value="es"/>
	 *             &lt;enumeration value="eu"/>
	 *           &lt;/restriction>
	 *         &lt;/simpleType>
	 *       &lt;/attribute>
	 *     &lt;/extension>
	 *   &lt;/simpleContent>
	 * &lt;/complexType>
	 * </pre>
	 * 
	 * 
	 */
	@XmlAccessorType(value = XmlAccessType.FIELD)
	@XmlType(name = "", propOrder = { "value" })
	public static class Language implements Serializable {

		private final static long serialVersionUID = 12343L;
		@XmlValue()
		private String value;
		@XmlAttribute()
		@XmlJavaTypeAdapter(value = CollapsedStringAdapter.class)
		private String locale;

		/**
		 * Gets the value of the value property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getValue() {
			return this.value;
		}

		/**
		 * Sets the value of the value property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setValue(String value) {
			this.value = value;
		}

		/**
		 * Checks if is sets the value.
		 *
		 * @return boolean
		 */
		public boolean isSetValue() {
			return (this.value != null);
		}

		/**
		 * Gets the value of the locale property.
		 * 
		 * @return possible object is {@link String }
		 * 
		 */
		public String getLocale() {
			return this.locale;
		}

		/**
		 * Sets the value of the locale property.
		 * 
		 * @param value
		 *            allowed object is {@link String }
		 * 
		 */
		public void setLocale(String value) {
			this.locale = value;
		}

		/**
		 * Checks if is sets the locale.
		 *
		 * @return boolean
		 */
		public boolean isSetLocale() {
			return (this.locale != null);
		}

	}

}
