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

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;


/**
 * Definiert Vertragspersonen als Referenz auf eine Person plus Vertragsrolle
 * 
 * <p>Java-Klasse für Vertragsperson_Type complex type.
 * 
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
 * 
 * <pre>
 * &lt;complexType name="Vertragsperson_Type"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="LfdNr" type="{http://www.w3.org/2001/XMLSchema}unsignedInt"/&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 = "Vertragsperson_Type", propOrder = {
    "lfdNr",
    "rolle"
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
public class VertragspersonType {

    @XmlElement(name = "LfdNr")
    @XmlSchemaType(name = "unsignedInt")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected long lfdNr;
    @XmlElement(name = "Rolle", required = true)
    @XmlSchemaType(name = "string")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected VtgRolleCdType rolle;

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

    /**
     * Legt den Wert der lfdNr-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 setLfdNr(long value) {
        this.lfdNr = 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-08-22T12:10:20+02: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-08-22T12:10:20+02:00")
    public void setRolle(VtgRolleCdType value) {
        this.rolle = value;
    }

}
