//
// 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.02.27 at 05:33:06 PM CET 
//

package com.ejie.ainit.xml;

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.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for person complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="person">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;all>
 *         &lt;element name="personID" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="lastname1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="lastname2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="personType" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="contacts">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence maxOccurs="unbounded" minOccurs="0">
 *                   &lt;element name="contact" type="{com/ejie/ainit/xml}contact"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="holdership" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/all>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "person", propOrder = {

})
public class Person {

	@XmlElement(required = true)
	private String personID;
	@XmlElement(name = "ID")
	private String id;
	@XmlElement(required = true)
	private String name;
	private String lastname1;
	private String lastname2;
	@XmlElement(required = true)
	private String personType;
	@XmlElement(required = true)
	private Person.Contacts contacts;
	@XmlElement(required = true)
	private String holdership;

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

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

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

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

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

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

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

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

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

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

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

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

	/**
	 * Gets the value of the contacts property.
	 * 
	 * @return possible object is {@link Person.Contacts }
	 * 
	 */
	public Person.Contacts getContacts() {
		return this.contacts;
	}

	/**
	 * Sets the value of the contacts property.
	 * 
	 * @param value
	 *            allowed object is {@link Person.Contacts }
	 * 
	 */
	public void setContacts(Person.Contacts value) {
		this.contacts = value;
	}

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

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

	/**
	 * <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 maxOccurs="unbounded" minOccurs="0">
	 *         &lt;element name="contact" type="{com/ejie/ainit/xml}contact"/>
	 *       &lt;/sequence>
	 *     &lt;/restriction>
	 *   &lt;/complexContent>
	 * &lt;/complexType>
	 * </pre>
	 * 
	 * 
	 */
	@XmlAccessorType(value = XmlAccessType.FIELD)
	@XmlType(name = "", propOrder = { "contact" })
	public static class Contacts {

		private List<Contact> contact;

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

	}

}
