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


/**
 * Zusatzdaten mit Schadensreferenzen
 * 
 * <p>Java-Klasse für ZusatzdatenSchaden complex type.
 * 
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
 * 
 * <pre>
 * &lt;complexType name="ZusatzdatenSchaden"&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{urn:omds3CommonServiceTypes-1-1-0}ZusaetzlicheDokumentendaten_Type"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Schadennr" type="{urn:omds20}Schadennr"/&gt;
 *         &lt;element name="BearbStand" type="{urn:omds20}BearbStandCd_Type" minOccurs="0"/&gt;
 *         &lt;element name="Person" 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}BetRolleCd_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 = "ZusatzdatenSchaden", propOrder = {
    "schadennr",
    "bearbStand",
    "person"
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
public class ZusatzdatenSchaden
    extends ZusaetzlicheDokumentendatenType
{

    @XmlElement(name = "Schadennr", 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 schadennr;
    @XmlElement(name = "BearbStand")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    protected String bearbStand;
    @XmlElement(name = "Person")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
    protected List<ZusatzdatenSchaden.Person> person;

    /**
     * Ruft den Wert der schadennr-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 getSchadennr() {
        return schadennr;
    }

    /**
     * Legt den Wert der schadennr-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 setSchadennr(String value) {
        this.schadennr = value;
    }

    /**
     * Ruft den Wert der bearbStand-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 getBearbStand() {
        return bearbStand;
    }

    /**
     * Legt den Wert der bearbStand-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 setBearbStand(String value) {
        this.bearbStand = value;
    }

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


    /**
     * <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}BetRolleCd_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 Person {

        @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)
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        protected String 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 String }
         *     
         */
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-12-12T17:37:24+01:00")
        public String getRolle() {
            return rolle;
        }

        /**
         * Legt den Wert der rolle-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 setRolle(String value) {
            this.rolle = value;
        }

    }

}
