//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
// 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: 2025.01.29 at 12:02:45 PM CET 
//


package org.openehealth.ipf.commons.ihe.ech.stub.ech_0215._2;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
import org.openehealth.ipf.commons.ihe.ech.stub.ech_0058._5.HeaderType;
import org.openehealth.ipf.commons.ihe.ech.stub.ech_0213_commons._1.PersonFromUPIType;
import org.openehealth.ipf.commons.ihe.ech.stub.ech_0213_commons._1.VnStatusType;


/**
 * <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="header" type="{http://www.ech.ch/xmlns/eCH-0058/5}headerType"/>
 *         &lt;element name="content">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="SPIDCategory" type="{http://www.ech.ch/xmlns/eCH-0044/4}personIdCategoryType"/>
 *                   &lt;element name="dateInterval">
 *                     &lt;complexType>
 *                       &lt;complexContent>
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           &lt;sequence>
 *                             &lt;element name="from" type="{http://www.w3.org/2001/XMLSchema}date"/>
 *                             &lt;element name="till" type="{http://www.w3.org/2001/XMLSchema}date"/>
 *                           &lt;/sequence>
 *                         &lt;/restriction>
 *                       &lt;/complexContent>
 *                     &lt;/complexType>
 *                   &lt;/element>
 *                   &lt;element name="inactivationOfSPID" maxOccurs="unbounded" minOccurs="0">
 *                     &lt;complexType>
 *                       &lt;complexContent>
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           &lt;sequence>
 *                             &lt;element name="inactivationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *                             &lt;element name="inactiveSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType"/>
 *                             &lt;element name="activeSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType"/>
 *                           &lt;/sequence>
 *                         &lt;/restriction>
 *                       &lt;/complexContent>
 *                     &lt;/complexType>
 *                   &lt;/element>
 *                   &lt;element name="cancellationOfSPID" maxOccurs="unbounded" minOccurs="0">
 *                     &lt;complexType>
 *                       &lt;complexContent>
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           &lt;sequence>
 *                             &lt;element name="cancellationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *                             &lt;element name="cancellationReason" type="{http://www.ech.ch/xmlns/eCH-0215/2}cancellationReasonType" minOccurs="0"/>
 *                             &lt;element name="vn" type="{http://www.ech.ch/xmlns/eCH-0044/4}vnType" minOccurs="0"/>
 *                             &lt;element name="vnStatus" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}vnStatusType"/>
 *                             &lt;element name="cancelledSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType"/>
 *                           &lt;/sequence>
 *                         &lt;/restriction>
 *                       &lt;/complexContent>
 *                     &lt;/complexType>
 *                   &lt;/element>
 *                   &lt;element name="multipleActiveSPIDs" maxOccurs="unbounded" minOccurs="0">
 *                     &lt;complexType>
 *                       &lt;complexContent>
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           &lt;sequence>
 *                             &lt;element name="lastAssociationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *                             &lt;element name="vn" type="{http://www.ech.ch/xmlns/eCH-0044/4}vnType" minOccurs="0"/>
 *                             &lt;element name="activeSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType" maxOccurs="unbounded" minOccurs="2"/>
 *                           &lt;/sequence>
 *                         &lt;/restriction>
 *                       &lt;/complexContent>
 *                     &lt;/complexType>
 *                   &lt;/element>
 *                   &lt;element name="changeInDemographics" maxOccurs="unbounded" minOccurs="0">
 *                     &lt;complexType>
 *                       &lt;complexContent>
 *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           &lt;sequence>
 *                             &lt;element name="activeSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType" maxOccurs="unbounded"/>
 *                             &lt;element name="personFromUPIBefore" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}personFromUPIType" minOccurs="0"/>
 *                             &lt;element name="personFromUPIAfter" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}personFromUPIType"/>
 *                           &lt;/sequence>
 *                         &lt;/restriction>
 *                       &lt;/complexContent>
 *                     &lt;/complexType>
 *                   &lt;/element>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *       &lt;attribute name="minorVersion" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "header",
    "content"
})
@XmlRootElement(name = "broadcast")
public class Broadcast {

    @XmlElement(required = true)
    protected HeaderType header;
    @XmlElement(required = true)
    protected Broadcast.Content content;
    @XmlAttribute(name = "minorVersion", required = true)
    protected BigInteger minorVersion;

    /**
     * Gets the value of the header property.
     * 
     * @return
     *     possible object is
     *     {@link HeaderType }
     *     
     */
    public HeaderType getHeader() {
        return header;
    }

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

    /**
     * Gets the value of the content property.
     * 
     * @return
     *     possible object is
     *     {@link Broadcast.Content }
     *     
     */
    public Broadcast.Content getContent() {
        return content;
    }

    /**
     * Sets the value of the content property.
     * 
     * @param value
     *     allowed object is
     *     {@link Broadcast.Content }
     *     
     */
    public void setContent(Broadcast.Content value) {
        this.content = value;
    }

    /**
     * Gets the value of the minorVersion property.
     * 
     * @return
     *     possible object is
     *     {@link BigInteger }
     *     
     */
    public BigInteger getMinorVersion() {
        return minorVersion;
    }

    /**
     * Sets the value of the minorVersion property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigInteger }
     *     
     */
    public void setMinorVersion(BigInteger value) {
        this.minorVersion = 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>
     *         &lt;element name="SPIDCategory" type="{http://www.ech.ch/xmlns/eCH-0044/4}personIdCategoryType"/>
     *         &lt;element name="dateInterval">
     *           &lt;complexType>
     *             &lt;complexContent>
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 &lt;sequence>
     *                   &lt;element name="from" type="{http://www.w3.org/2001/XMLSchema}date"/>
     *                   &lt;element name="till" type="{http://www.w3.org/2001/XMLSchema}date"/>
     *                 &lt;/sequence>
     *               &lt;/restriction>
     *             &lt;/complexContent>
     *           &lt;/complexType>
     *         &lt;/element>
     *         &lt;element name="inactivationOfSPID" maxOccurs="unbounded" minOccurs="0">
     *           &lt;complexType>
     *             &lt;complexContent>
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 &lt;sequence>
     *                   &lt;element name="inactivationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
     *                   &lt;element name="inactiveSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType"/>
     *                   &lt;element name="activeSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType"/>
     *                 &lt;/sequence>
     *               &lt;/restriction>
     *             &lt;/complexContent>
     *           &lt;/complexType>
     *         &lt;/element>
     *         &lt;element name="cancellationOfSPID" maxOccurs="unbounded" minOccurs="0">
     *           &lt;complexType>
     *             &lt;complexContent>
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 &lt;sequence>
     *                   &lt;element name="cancellationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
     *                   &lt;element name="cancellationReason" type="{http://www.ech.ch/xmlns/eCH-0215/2}cancellationReasonType" minOccurs="0"/>
     *                   &lt;element name="vn" type="{http://www.ech.ch/xmlns/eCH-0044/4}vnType" minOccurs="0"/>
     *                   &lt;element name="vnStatus" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}vnStatusType"/>
     *                   &lt;element name="cancelledSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType"/>
     *                 &lt;/sequence>
     *               &lt;/restriction>
     *             &lt;/complexContent>
     *           &lt;/complexType>
     *         &lt;/element>
     *         &lt;element name="multipleActiveSPIDs" maxOccurs="unbounded" minOccurs="0">
     *           &lt;complexType>
     *             &lt;complexContent>
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 &lt;sequence>
     *                   &lt;element name="lastAssociationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
     *                   &lt;element name="vn" type="{http://www.ech.ch/xmlns/eCH-0044/4}vnType" minOccurs="0"/>
     *                   &lt;element name="activeSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType" maxOccurs="unbounded" minOccurs="2"/>
     *                 &lt;/sequence>
     *               &lt;/restriction>
     *             &lt;/complexContent>
     *           &lt;/complexType>
     *         &lt;/element>
     *         &lt;element name="changeInDemographics" maxOccurs="unbounded" minOccurs="0">
     *           &lt;complexType>
     *             &lt;complexContent>
     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 &lt;sequence>
     *                   &lt;element name="activeSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType" maxOccurs="unbounded"/>
     *                   &lt;element name="personFromUPIBefore" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}personFromUPIType" minOccurs="0"/>
     *                   &lt;element name="personFromUPIAfter" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}personFromUPIType"/>
     *                 &lt;/sequence>
     *               &lt;/restriction>
     *             &lt;/complexContent>
     *           &lt;/complexType>
     *         &lt;/element>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "spidCategory",
        "dateInterval",
        "inactivationOfSPID",
        "cancellationOfSPID",
        "multipleActiveSPIDs",
        "changeInDemographics"
    })
    public static class Content {

        @XmlElement(name = "SPIDCategory", required = true)
        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
        @XmlSchemaType(name = "token")
        protected String spidCategory;
        @XmlElement(required = true)
        protected Broadcast.Content.DateInterval dateInterval;
        protected List<Broadcast.Content.InactivationOfSPID> inactivationOfSPID;
        protected List<Broadcast.Content.CancellationOfSPID> cancellationOfSPID;
        protected List<Broadcast.Content.MultipleActiveSPIDs> multipleActiveSPIDs;
        protected List<Broadcast.Content.ChangeInDemographics> changeInDemographics;

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

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

        /**
         * Gets the value of the dateInterval property.
         * 
         * @return
         *     possible object is
         *     {@link Broadcast.Content.DateInterval }
         *     
         */
        public Broadcast.Content.DateInterval getDateInterval() {
            return dateInterval;
        }

        /**
         * Sets the value of the dateInterval property.
         * 
         * @param value
         *     allowed object is
         *     {@link Broadcast.Content.DateInterval }
         *     
         */
        public void setDateInterval(Broadcast.Content.DateInterval value) {
            this.dateInterval = value;
        }

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

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

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

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


        /**
         * <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="cancellationTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         *         &lt;element name="cancellationReason" type="{http://www.ech.ch/xmlns/eCH-0215/2}cancellationReasonType" minOccurs="0"/>
         *         &lt;element name="vn" type="{http://www.ech.ch/xmlns/eCH-0044/4}vnType" minOccurs="0"/>
         *         &lt;element name="vnStatus" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}vnStatusType"/>
         *         &lt;element name="cancelledSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType"/>
         *       &lt;/sequence>
         *     &lt;/restriction>
         *   &lt;/complexContent>
         * &lt;/complexType>
         * </pre>
         * 
         * 
         */
        @XmlAccessorType(XmlAccessType.FIELD)
        @XmlType(name = "", propOrder = {
            "cancellationTimestamp",
            "cancellationReason",
            "vn",
            "vnStatus",
            "cancelledSPID"
        })
        public static class CancellationOfSPID {

            @XmlElement(required = true)
            @XmlSchemaType(name = "dateTime")
            protected XMLGregorianCalendar cancellationTimestamp;
            @XmlSchemaType(name = "token")
            protected CancellationReasonType cancellationReason;
            @XmlSchemaType(name = "unsignedLong")
            protected Long vn;
            @XmlElement(required = true)
            @XmlSchemaType(name = "token")
            protected VnStatusType vnStatus;
            @XmlElement(required = true)
            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
            @XmlSchemaType(name = "token")
            protected String cancelledSPID;

            /**
             * Gets the value of the cancellationTimestamp property.
             * 
             * @return
             *     possible object is
             *     {@link XMLGregorianCalendar }
             *     
             */
            public XMLGregorianCalendar getCancellationTimestamp() {
                return cancellationTimestamp;
            }

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

            /**
             * Gets the value of the cancellationReason property.
             * 
             * @return
             *     possible object is
             *     {@link CancellationReasonType }
             *     
             */
            public CancellationReasonType getCancellationReason() {
                return cancellationReason;
            }

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

            /**
             * Gets the value of the vn property.
             * 
             * @return
             *     possible object is
             *     {@link Long }
             *     
             */
            public Long getVn() {
                return vn;
            }

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

            /**
             * Gets the value of the vnStatus property.
             * 
             * @return
             *     possible object is
             *     {@link VnStatusType }
             *     
             */
            public VnStatusType getVnStatus() {
                return vnStatus;
            }

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

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

            /**
             * Sets the value of the cancelledSPID property.
             * 
             * @param value
             *     allowed object is
             *     {@link String }
             *     
             */
            public void setCancelledSPID(String value) {
                this.cancelledSPID = 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>
         *         &lt;element name="activeSPID" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}SPIDType" maxOccurs="unbounded"/>
         *         &lt;element name="personFromUPIBefore" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}personFromUPIType" minOccurs="0"/>
         *         &lt;element name="personFromUPIAfter" type="{http://www.ech.ch/xmlns/eCH-0213-commons/1}personFromUPIType"/>
         *       &lt;/sequence>
         *     &lt;/restriction>
         *   &lt;/complexContent>
         * &lt;/complexType>
         * </pre>
         * 
         * 
         */
        @XmlAccessorType(XmlAccessType.FIELD)
        @XmlType(name = "", propOrder = {
            "activeSPID",
            "personFromUPIBefore",
            "personFromUPIAfter"
        })
        public static class ChangeInDemographics {

            @XmlElement(required = true)
            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
            @XmlSchemaType(name = "token")
            protected List<String> activeSPID;
            protected PersonFromUPIType personFromUPIBefore;
            @XmlElement(required = true)
            protected PersonFromUPIType personFromUPIAfter;

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

            /**
             * Gets the value of the personFromUPIBefore property.
             * 
             * @return
             *     possible object is
             *     {@link PersonFromUPIType }
             *     
             */
            public PersonFromUPIType getPersonFromUPIBefore() {
                return personFromUPIBefore;
            }

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

            /**
             * Gets the value of the personFromUPIAfter property.
             * 
             * @return
             *     possible object is
             *     {@link PersonFromUPIType }
             *     
             */
            public PersonFromUPIType getPersonFromUPIAfter() {
                return personFromUPIAfter;
            }

            /**
             * Sets the value of the personFromUPIAfter property.
             * 
             * @param value
             *     allowed object is
             *     {@link PersonFromUPIType }
             *     
             */
            public void setPersonFromUPIAfter(PersonFromUPIType value) {
                this.personFromUPIAfter = 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>
         *         &lt;element name="from" type="{http://www.w3.org/2001/XMLSchema}date"/>
         *         &lt;element name="till" type="{http://www.w3.org/2001/XMLSchema}date"/>
         *       &lt;/sequence>
         *     &lt;/restriction>
         *   &lt;/complexContent>
         * &lt;/complexType>
         * </pre>
         * 
         * 
         */
        @XmlAccessorType(XmlAccessType.FIELD)
        @XmlType(name = "", propOrder = {
            "from",
            "till"
        })
        public static class DateInterval {

            @XmlElement(required = true)
            @XmlSchemaType(name = "date")
            protected XMLGregorianCalendar from;
            @XmlElement(required = true)
            @XmlSchemaType(name = "date")
            protected XMLGregorianCalendar till;

            /**
             * Gets the value of the from property.
             * 
             * @return
             *     possible object is
             *     {@link XMLGregorianCalendar }
             *     
             */
            public XMLGregorianCalendar getFrom() {
                return from;
            }

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

            /**
             * Gets the value of the till property.
             * 
             * @return
             *     possible object is
             *     {@link XMLGregorianCalendar }
             *     
             */
            public XMLGregorianCalendar getTill() {
                return till;
            }

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

        }


        /**
         * <p>Java class for anonymous complex type.
         * 
         * <p>The following schema fragment specifies the expected content contained within this class.
         * 
         * <pre>
         * &lt;complexType>
