
package at.vvo.omds.types.omds3Types.r1_9_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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds2Types.v2_15.ELBetragType;


/**
 * Abstrakter Obertyp für versicherte Interessen
 * 
 * <p>Java-Klasse für VersichertesInteresse_Type complex type.
 * 
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
 * 
 * <pre>
 * &lt;complexType name="VersichertesInteresse_Type"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="ErsetztId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="ZusaetzlicheRisikodaten" type="{urn:omds3CommonServiceTypes-1-1-0}ZusaetzlicheRisikodaten_Type" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="Bewertung" type="{urn:omds20}EL-Betrag_Type" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Lfnr" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VersichertesInteresse_Type", propOrder = {
    "ersetztId",
    "zusaetzlicheRisikodaten",
    "bewertung"
})
@XmlSeeAlso({
    FahrzeugType.class,
    VersichertesInteresseMitAttributMetadatenType.class
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
public abstract class VersichertesInteresseType {

    @XmlElement(name = "ErsetztId")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected String ersetztId;
    @XmlElement(name = "ZusaetzlicheRisikodaten")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected List<ZusaetzlicheRisikodatenType> zusaetzlicheRisikodaten;
    @XmlElement(name = "Bewertung")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected List<ELBetragType> bewertung;
    @XmlAttribute(name = "Lfnr", namespace = "urn:omds3CommonServiceTypes-1-1-0", required = true)
    @XmlSchemaType(name = "unsignedShort")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected int lfnr;

    /**
     * Ruft den Wert der ersetztId-Eigenschaft ab.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    public String getErsetztId() {
        return ersetztId;
    }

    /**
     * Legt den Wert der ersetztId-Eigenschaft fest.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    public void setErsetztId(String value) {
        this.ersetztId = value;
    }

    /**
     * Gets the value of the zusaetzlicheRisikodaten 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 zusaetzlicheRisikodaten property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getZusaetzlicheRisikodaten().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ZusaetzlicheRisikodatenType }
     * 
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    public List<ZusaetzlicheRisikodatenType> getZusaetzlicheRisikodaten() {
        if (zusaetzlicheRisikodaten == null) {
            zusaetzlicheRisikodaten = new ArrayList<ZusaetzlicheRisikodatenType>();
        }
        return this.zusaetzlicheRisikodaten;
    }

    /**
     * Gets the value of the bewertung 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 bewertung property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getBewertung().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ELBetragType }
     * 
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    public List<ELBetragType> getBewertung() {
        if (bewertung == null) {
            bewertung = new ArrayList<ELBetragType>();
        }
        return this.bewertung;
    }

    /**
     * Ruft den Wert der lfnr-Eigenschaft ab.
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    public int getLfnr() {
        return lfnr;
    }

    /**
     * Legt den Wert der lfnr-Eigenschaft fest.
     * 
     */
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    public void setLfnr(int value) {
        this.lfnr = value;
    }

}
