//
// 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 ApplicantInfoType complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="ApplicantInfoType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;all>
 *         &lt;element name="persons" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="person" type="{http://ejie.com/x43k/xml}personType" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="notification" type="{http://ejie.com/x43k/xml}notificationType" minOccurs="0"/>
 *         &lt;element name="notices" type="{http://ejie.com/x43k/xml}noticesType" minOccurs="0"/>
 *         &lt;element name="language" 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;/all>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "ApplicantInfoType", propOrder = {

})
public class ApplicantInfoType implements Serializable {

	private final static long serialVersionUID = 12343L;
	private ApplicantInfoType.Persons persons;
	private NotificationType notification;
	private NoticesType notices;
	private ApplicantInfoType.Language language;

	/**
	 * Gets the value of the persons property.
	 * 
	 * @return possible object is {@link ApplicantInfoType.Persons }
	 * 
	 */
	public ApplicantInfoType.Persons getPersons() {
		return this.persons;
	}

	/**
	 * Sets the value of the persons property.
	 * 
	 * @param value
	 *            allowed object is {@link ApplicantInfoType.Persons }
	 * 
	 */
	public void setPersons(ApplicantInfoType.Persons value) {
		this.persons = value;
	}

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

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

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

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

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

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

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

	/**
	 * Gets the value of the language property.
	 * 
	 * @return possible object is {@link ApplicantInfoType.Language }
	 * 
	 */
	public ApplicantInfoType.Language getLanguage() {
		return this.language;
	}

	/**
	 * Sets the value of the language property.
	 * 
	 * @param value
	 *            allowed object is {@link ApplicantInfoType.Language }
	 * 
	 */
	public void setLanguage(ApplicantInfoType.Language value) {
		this.language = value;
	}

	/**
	 * Checks if is sets the language.
	 *
	 * @return boolean
	 */
	public boolean isSetLanguage() {
		return (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);
		}

	}

	/**
	 * <p>
	 * Java class for anonymous complex type.
	 * 
	 * <p>
	 * The following schema fragment specifies the expected content contained
	 * within this class.
	 * 
	 * <pre>
	 * &lt;complexType>
	 *   &lt;complexContent>
	 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	 *       &lt;sequence>
	 *         &lt;element name="person" type="{http://ejie.com/x43k/xml}personType" maxOccurs="unbounded" minOccurs="0"/>
	 *       &lt;/sequence>
	 *     &lt;/restriction>
	 *   &lt;/complexContent>
	 * &lt;/complexType>
	 * </pre>
	 * 
	 * 
	 */
	@XmlAccessorType(value = XmlAccessType.FIELD)
	@XmlType(name = "", propOrder = { "person" })
	public static class Persons implements Serializable {

		private final static long serialVersionUID = 12343L;
		private List<PersonType> person;

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

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

		/**
		 * unsetPerson.
		 */
		public void unsetPerson() {
			this.person = null;
		}

	}

}
