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

import java.util.ArrayList;
import java.util.List;
import javax.activation.DataHandler;
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.XmlMimeType;
import javax.xml.bind.annotation.XmlType;
import at.vvo.omds.types.omds3Types.r1_9_0.common.ServiceFault;


/**
 * Typ fuer ein OMDS-Datensatz-Package
 * 
 * <p>Java-Klasse für RequestedOMDSPackage complex type.
 * 
 * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
 * 
 * <pre>
 * &lt;complexType name="RequestedOMDSPackage"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="requestedOmdsPackageId"&gt;
 *           &lt;simpleType&gt;
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *               &lt;minLength value="1"/&gt;
 *               &lt;maxLength value="1024"/&gt;
 *             &lt;/restriction&gt;
 *           &lt;/simpleType&gt;
 *         &lt;/element&gt;
 *         &lt;element name="omdsPackage" 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="omdsPackageInfo" type="{urn:omds3ServiceTypes-1-1-0}OMDSPackageInfoType"/&gt;
 *                   &lt;element name="content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
 *                 &lt;/sequence&gt;
 *               &lt;/restriction&gt;
 *             &lt;/complexContent&gt;
 *           &lt;/complexType&gt;
 *         &lt;/element&gt;
 *         &lt;element name="ServiceFault" type="{urn:omds3CommonServiceTypes-1-1-0}ServiceFault" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RequestedOMDSPackage", propOrder = {
    "requestedOmdsPackageId",
    "omdsPackage",
    "serviceFault"
})
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
public class RequestedOMDSPackage {

    @XmlElement(required = true)
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected String requestedOmdsPackageId;
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected RequestedOMDSPackage.OmdsPackage omdsPackage;
    @XmlElement(name = "ServiceFault")
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    protected List<ServiceFault> serviceFault;

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

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

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

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

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


    /**
     * <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="omdsPackageInfo" type="{urn:omds3ServiceTypes-1-1-0}OMDSPackageInfoType"/&gt;
     *         &lt;element name="content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
     *       &lt;/sequence&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "omdsPackageInfo",
        "content"
    })
    @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
    public static class OmdsPackage {

        @XmlElement(required = true)
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
        protected OMDSPackageInfoType omdsPackageInfo;
        @XmlElement(required = true)
        @XmlMimeType("application/zip")
        @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.5", date = "2023-08-22T12:10:20+02:00")
        protected DataHandler content;

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

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

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

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

    }

}
