//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2021.03.04 at 09:48:32 AM UTC 
//


package de.ivu.wahl.wus.oasis.eml.reportgenerator;

import java.math.BigInteger;
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element ref="{http://www.kiesraad.nl/reportgenerator}ElectoralQuota"/&gt;
 *         &lt;element ref="{http://www.kiesraad.nl/reportgenerator}AssignmentWithinCombinedListsLine" maxOccurs="unbounded"/&gt;
 *         &lt;element ref="{http://www.kiesraad.nl/reportgenerator}Allotting" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element ref="{http://www.kiesraad.nl/reportgenerator}ExhaustedList" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element ref="{http://www.kiesraad.nl/reportgenerator}DHondtAssignment" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="combinationId" use="required" type="{http://www.kiesraad.nl/reportgenerator}CombinationIdType" /&gt;
 *       &lt;attribute name="PriorSeats" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
 *       &lt;attribute name="NewSeats" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "electoralQuota",
    "assignmentWithinCombinedListsLine",
    "allotting",
    "exhaustedList",
    "dHondtAssignment"
})
@XmlRootElement(name = "AssignmentWithinCombinedLists")
public class AssignmentWithinCombinedLists {

    @XmlElement(name = "ElectoralQuota", required = true)
    protected ElectoralQuotaType electoralQuota;
    @XmlElement(name = "AssignmentWithinCombinedListsLine", required = true)
    protected List<AssignmentWithinCombinedListsLine> assignmentWithinCombinedListsLine;
    @XmlElement(name = "Allotting")
    protected List<Allotting> allotting;
    @XmlElement(name = "ExhaustedList")
    protected List<ExhaustedList> exhaustedList;
    @XmlElement(name = "DHondtAssignment")
    protected DHondtAssignment dHondtAssignment;
    @XmlAttribute(name = "combinationId", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String combinationId;
    @XmlAttribute(name = "PriorSeats", required = true)
    protected BigInteger priorSeats;
    @XmlAttribute(name = "NewSeats", required = true)
    protected BigInteger newSeats;

    /**
     * Gets the value of the electoralQuota property.
     * 
     * @return
     *     possible object is
     *     {@link ElectoralQuotaType }
     *     
     */
    public ElectoralQuotaType getElectoralQuota() {
        return electoralQuota;
    }

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

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

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

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

    /**
     * Gets the value of the dHondtAssignment property.
     * 
     * @return
     *     possible object is
     *     {@link DHondtAssignment }
     *     
     */
    public DHondtAssignment getDHondtAssignment() {
        return dHondtAssignment;
    }

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

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

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

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

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

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

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

    public void setAssignmentWithinCombinedListsLine(List<AssignmentWithinCombinedListsLine> value) {
        this.assignmentWithinCombinedListsLine = null;
        if (value!= null) {
            List<AssignmentWithinCombinedListsLine> draftl = this.getAssignmentWithinCombinedListsLine();
            draftl.addAll(value);
        }
    }

    public void setAllotting(List<Allotting> value) {
        this.allotting = null;
        if (value!= null) {
            List<Allotting> draftl = this.getAllotting();
            draftl.addAll(value);
        }
    }

    public void setExhaustedList(List<ExhaustedList> value) {
        this.exhaustedList = null;
        if (value!= null) {
            List<ExhaustedList> draftl = this.getExhaustedList();
            draftl.addAll(value);
        }
    }

}
