
package at.vvo.omds.types.omds3Types.r1_10_0.common;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds2Types.v2_15.VtgRolleCdType;


/**
 * Zusatzdaten mit Polizzenreferenzen
 * 
 * <p>Java-Klasse für ZusatzdatenPolizze complex type.
 * 
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
 * 
 * <pre>
 * &lt;complexType name="ZusatzdatenPolizze"&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{urn:omds3CommonServiceTypes-1-1-0}ZusaetzlicheDokumentendaten_Type"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Polizzennr" type="{urn:omds20}Polizzennr"/&gt;
 *         &lt;element name="VertragsID" type="{urn:omds20}VertragsID" minOccurs="0"/&gt;
 *         &lt;element name="AendGrundCd" type="{urn:omds20}AendGrundCd_Type" minOccurs="0"/&gt;
 *         &lt;element name="Vertragsperson" maxOccurs="unbounded" minOccurs="0"&gt;
 *           &lt;complexType&gt;
 *             &lt;complexContent&gt;
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                 &lt;sequence&gt;
 *                   &lt;element name="PersonId" type="{urn:omds3CommonServiceTypes-1-1-0}ObjektId_Type"/&gt;
 *                   &lt;element name="Rolle" type="{urn:omds20}VtgRolleCd_Type"/&gt;
 *                 &lt;/sequence&gt;
 *               &lt;/restriction&gt;
 *             &lt;/complexContent&gt;
 *           &lt;/complexType&gt;
 *         &lt;/element&gt;
 *       &lt;/sequence&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ZusatzdatenPolizze", propOrder = {
    "polizzennr",
    "vertragsID",
    "aendGrundCd",
    "vertragsperson"
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
public class ZusatzdatenPolizze
    extends ZusaetzlicheDokumentendatenType
{

    @XmlElement(name = "Polizzennr", required = true)
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    protected String polizzennr;
    @XmlElement(name = "VertragsID")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    protected String vertragsID;
    @XmlElement(name = "AendGrundCd")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    protected String aendGrundCd;
    @XmlElement(name = "Vertragsperson")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    protected List<ZusatzdatenPolizze.Vertragsperson> vertragsperson;

    /**
     * Ruft den Wert der polizzennr-Eigenschaft ab.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public String getPolizzennr() {
        return polizzennr;
    }

    /**
     * Legt den Wert der polizzennr-Eigenschaft fest.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public void setPolizzennr(String value) {
        this.polizzennr = value;
    }

    /**
     * Ruft den Wert der vertragsID-Eigenschaft ab.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public String getVertragsID() {
        return vertragsID;
    }

    /**
     * Legt den Wert der vertragsID-Eigenschaft fest.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public void setVertragsID(String value) {
        this.vertragsID = value;
    }

    /**
     * Ruft den Wert der aendGrundCd-Eigenschaft ab.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public String getAendGrundCd() {
        return aendGrundCd;
    }

    /**
     * Legt den Wert der aendGrundCd-Eigenschaft fest.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public void setAendGrundCd(String value) {
        this.aendGrundCd = value;
    }

    /**
     * Gets the value of the vertragsperson 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 vertragsperson property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getVertragsperson().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ZusatzdatenPolizze.Vertragsperson }
     * 
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public List<ZusatzdatenPolizze.Vertragsperson> getVertragsperson() {
        if (vertragsperson == null) {
            vertragsperson = new ArrayList<ZusatzdatenPolizze.Vertragsperson>();
        }
        return this.vertragsperson;
    }


    /**
     * <p>Java-Klasse für anonymous complex type.
     * 
     * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;sequence&gt;
     *         &lt;element name="PersonId" type="{urn:omds3CommonServiceTypes-1-1-0}ObjektId_Type"/&gt;
     *         &lt;element name="Rolle" type="{urn:omds20}VtgRolleCd_Type"/&gt;
     *       &lt;/sequence&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "personId",
        "rolle"
    })
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    public static class Vertragsperson {

        @XmlElement(name = "PersonId", required = true)
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        protected ObjektIdType personId;
        @XmlElement(name = "Rolle", required = true)
        @XmlSchemaType(name = "string")
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        protected VtgRolleCdType rolle;

        /**
         * Ruft den Wert der personId-Eigenschaft ab.
         * 
         * @return
         *     possible object is
         *     {@link ObjektIdType }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        public ObjektIdType getPersonId() {
            return personId;
        }

        /**
         * Legt den Wert der personId-Eigenschaft fest.
         * 
         * @param value
         *     allowed object is
         *     {@link ObjektIdType }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        public void setPersonId(ObjektIdType value) {
            this.personId = value;
        }

        /**
         * Ruft den Wert der rolle-Eigenschaft ab.
         * 
         * @return
         *     possible object is
         *     {@link VtgRolleCdType }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        public VtgRolleCdType getRolle() {
            return rolle;
        }

        /**
         * Legt den Wert der rolle-Eigenschaft fest.
         * 
         * @param value
         *     allowed object is
         *     {@link VtgRolleCdType }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        public void setRolle(VtgRolleCdType value) {
            this.rolle = value;
        }

    }

}
