/*
 * Copyright (c) eHealth
 */

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
// 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: 2016.04.13 at 09:08:31 AM CEST 
//


package be.fgov.ehealth.technicalconnector.tests.beid.domain.testcard;

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.XmlType;


/**
 * <p>Java class for identityType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="identityType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="firstname" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element ref="{}middlenames" minOccurs="0"/>
 *         &lt;element name="nationality" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="placeofbirth" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="photo" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
 *       &lt;/sequence>
 *       &lt;attribute name="nationalnumber" type="{}nnType" />
 *       &lt;attribute name="dateofbirth" type="{}eidDateType" />
 *       &lt;attribute name="gender" type="{}genderType" />
 *       &lt;attribute name="noblecondition" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="specialstatus" type="{}specType" />
 *       &lt;attribute name="duplicate" type="{}dupType" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "identityType", propOrder = {
    "name",
    "firstname",
    "middlenames",
    "nationality",
    "placeofbirth",
    "photo"
})
public class IdentityType {

    @XmlElement(required = true)
    protected String name;
    @XmlElement(required = true)
    protected String firstname;
    protected String middlenames;
    @XmlElement(required = true)
    protected String nationality;
    @XmlElement(required = true)
    protected String placeofbirth;
    @XmlElement(required = true)
    protected byte[] photo;
    @XmlAttribute
    protected String nationalnumber;
    @XmlAttribute
    protected String dateofbirth;
    @XmlAttribute
    protected GenderType gender;
    @XmlAttribute
    protected String noblecondition;
    @XmlAttribute
    protected SpecType specialstatus;
    @XmlAttribute
    protected String duplicate;

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return 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 firstname property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFirstname() {
        return firstname;
    }

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

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

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

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

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

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

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

    /**
     * Gets the value of the photo property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getPhoto() {
        return photo;
    }

    /**
     * Sets the value of the photo property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setPhoto(byte[] value) {
        this.photo = ((byte[]) value);
    }

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

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

    public String getDateofbirth() {
        return dateofbirth;
    }

    public void setDateofbirth(String dateofbirth) {
        this.dateofbirth = dateofbirth;
    }

    /**
     * Gets the value of the gender property.
     * 
     * @return
     *     possible object is
     *     {@link GenderType }
     *     
     */
    public GenderType getGender() {
        return gender;
    }

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

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

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

    /**
     * Gets the value of the specialstatus property.
     * 
     * @return
     *     possible object is
     *     {@link SpecType }
     *     
     */
    public SpecType getSpecialstatus() {
        return specialstatus;
    }

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

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

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

}
