diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/mzs')
24 files changed, 5285 insertions, 0 deletions
| diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationACKType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationACKType.java new file mode 100644 index 0000000..8c50261 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationACKType.java @@ -0,0 +1,93 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for DeliveryNotificationACKType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="DeliveryNotificationACKType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MZSDeliveryID"/> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryNotificationACKType", propOrder = { +    "appDeliveryID", +    "mzsDeliveryID" +}) +public class DeliveryNotificationACKType { + +    @XmlElement(name = "AppDeliveryID", required = true) +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    protected String appDeliveryID; +    @XmlElement(name = "MZSDeliveryID", required = true) +    protected String mzsDeliveryID; + +    /** +     * Gets the value of the appDeliveryID property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getAppDeliveryID() { +        return appDeliveryID; +    } + +    /** +     * Sets the value of the appDeliveryID property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setAppDeliveryID(String value) { +        this.appDeliveryID = value; +    } + +    /** +     * Gets the value of the mzsDeliveryID property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getMZSDeliveryID() { +        return mzsDeliveryID; +    } + +    /** +     * Sets the value of the mzsDeliveryID property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setMZSDeliveryID(String value) { +        this.mzsDeliveryID = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationType.java new file mode 100644 index 0000000..4a1c75d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryNotificationType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DeliveryNotificationType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="DeliveryNotificationType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <choice> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Success"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Error"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}DeliveryStatement"/> + *       </choice> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryNotificationType", propOrder = { +    "success", +    "error", +    "deliveryStatement" +}) +public class DeliveryNotificationType { + +    @XmlElement(name = "Success") +    protected SuccessType success; +    @XmlElement(name = "Error") +    protected ErrorType error; +    @XmlElement(name = "DeliveryStatement") +    protected DeliveryStatementType deliveryStatement; + +    /** +     * Gets the value of the success property. +     *  +     * @return +     *     possible object is +     *     {@link SuccessType } +     *      +     */ +    public SuccessType getSuccess() { +        return success; +    } + +    /** +     * Sets the value of the success property. +     *  +     * @param value +     *     allowed object is +     *     {@link SuccessType } +     *      +     */ +    public void setSuccess(SuccessType value) { +        this.success = value; +    } + +    /** +     * Gets the value of the error property. +     *  +     * @return +     *     possible object is +     *     {@link ErrorType } +     *      +     */ +    public ErrorType getError() { +        return error; +    } + +    /** +     * Sets the value of the error property. +     *  +     * @param value +     *     allowed object is +     *     {@link ErrorType } +     *      +     */ +    public void setError(ErrorType value) { +        this.error = value; +    } + +    /** +     * Gets the value of the deliveryStatement property. +     *  +     * @return +     *     possible object is +     *     {@link DeliveryStatementType } +     *      +     */ +    public DeliveryStatementType getDeliveryStatement() { +        return deliveryStatement; +    } + +    /** +     * Sets the value of the deliveryStatement property. +     *  +     * @param value +     *     allowed object is +     *     {@link DeliveryStatementType } +     *      +     */ +    public void setDeliveryStatement(DeliveryStatementType value) { +        this.deliveryStatement = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryRequestType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryRequestType.java new file mode 100644 index 0000000..822cd86 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryRequestType.java @@ -0,0 +1,2401 @@ + +package at.gv.util.xsd.mzs; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import at.gv.util.xsd.mzs.persondata.AbstractAddressType; +import at.gv.util.xsd.mzs.persondata.AbstractPersonType; +import at.gv.util.xsd.mzs.persondata.CorporateBodyType; +import at.gv.util.xsd.mzs.persondata.InternetAddressType; +import at.gv.util.xsd.mzs.persondata.PersonDataType; +import at.gv.util.xsd.mzs.persondata.PhysicalPersonType; +import at.gv.util.xsd.mzs.persondata.PostalAddressType; +import at.gv.util.xsd.mzs.persondata.TelephoneAddressType; +import org.w3c.dom.Element; + + +/** + * <p>Java class for DeliveryRequestType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="DeliveryRequestType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element name="Server" minOccurs="0"> + *           <complexType> + *             <complexContent> + *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                 <sequence> + *                   <element name="ZUSEUrlID" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + *                   <element name="X509" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> + *                 </sequence> + *               </restriction> + *             </complexContent> + *           </complexType> + *         </element> + *         <element name="Sender"> + *           <complexType> + *             <complexContent> + *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                 <sequence> + *                   <choice> + *                     <element name="ProfileID" type="{http://www.w3.org/2001/XMLSchema}string"/> + *                     <sequence> + *                       <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + *                       <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + *                       <choice> + *                         <element name="WebserviceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + *                         <element name="EMailAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> + *                       </choice> + *                     </sequence> + *                   </choice> + *                   <sequence> + *                     <element name="SignatureKeyID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + *                   </sequence> + *                 </sequence> + *               </restriction> + *             </complexContent> + *           </complexType> + *         </element> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Receiver"/> + *         <element name="MetaData"> + *           <complexType> + *             <complexContent> + *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                 <sequence> + *                   <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> + *                   <element name="DeliveryQuality"> + *                     <simpleType> + *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + *                         <enumeration value="RSa"/> + *                         <enumeration value="RSa+"/> + *                         <enumeration value="nonRSa"/> + *                         <enumeration value="nonRSa+"/> + *                         <enumeration value="R"/> + *                         <enumeration value="R+"/> + *                         <enumeration value="RS"/> + *                         <enumeration value="RS+"/> + *                       </restriction> + *                     </simpleType> + *                   </element> + *                   <element name="RequiresEncryption" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + *                   <element name="PrivateDelivery" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + *                   <element name="DocumentClass" minOccurs="0"> + *                     <simpleType> + *                       <restriction base="{http://www.w3.org/2001/XMLSchema}token"> + *                         <maxLength value="255"/> + *                         <minLength value="1"/> + *                       </restriction> + *                     </simpleType> + *                   </element> + *                   <element name="DualDelivery" minOccurs="0"> + *                     <complexType> + *                       <complexContent> + *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                           <sequence> + *                             <element name="DualDeliveryServer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + *                             <element name="PrintParameter" minOccurs="0"> + *                               <complexType> + *                                 <complexContent> + *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                                     <sequence> + *                                       <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + *                                     </sequence> + *                                     <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> + *                                   </restriction> + *                                 </complexContent> + *                               </complexType> + *                             </element> + *                           </sequence> + *                         </restriction> + *                       </complexContent> + *                     </complexType> + *                   </element> + *                   <element name="MailBody" minOccurs="0"> + *                     <complexType> + *                       <complexContent> + *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                           <sequence> + *                             <element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                             <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + *                           </sequence> + *                         </restriction> + *                       </complexContent> + *                     </complexType> + *                   </element> + *                 </sequence> + *               </restriction> + *             </complexContent> + *           </complexType> + *         </element> + *         <element name="XMLDocument" minOccurs="0"> + *           <complexType> + *             <complexContent> + *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                 <sequence> + *                   <element name="XMLContent"> + *                     <complexType> + *                       <complexContent> + *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                           <sequence> + *                             <any processContents='lax'/> + *                           </sequence> + *                         </restriction> + *                       </complexContent> + *                     </complexType> + *                   </element> + *                   <choice> + *                     <element name="XMLProfileID" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + *                     <sequence> + *                       <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                       <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                       <element name="ResultingMIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                       <element name="SignatureXPath"> + *                         <complexType> + *                           <simpleContent> + *                             <extension base="<http://www.w3.org/2001/XMLSchema>string"> + *                               <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> + *                             </extension> + *                           </simpleContent> + *                         </complexType> + *                       </element> + *                       <element name="SignatureStylesheet"> + *                         <complexType> + *                           <complexContent> + *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                               <sequence> + *                                 <element name="XMLContent"> + *                                   <complexType> + *                                     <complexContent> + *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                                         <sequence> + *                                           <any processContents='lax'/> + *                                         </sequence> + *                                       </restriction> + *                                     </complexContent> + *                                   </complexType> + *                                 </element> + *                               </sequence> + *                             </restriction> + *                           </complexContent> + *                         </complexType> + *                       </element> + *                       <element name="PreviewStylesheet" minOccurs="0"> + *                         <complexType> + *                           <complexContent> + *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                               <sequence> + *                                 <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                                 <element name="XMLContent"> + *                                   <complexType> + *                                     <complexContent> + *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                                         <sequence> + *                                           <any processContents='lax'/> + *                                         </sequence> + *                                       </restriction> + *                                     </complexContent> + *                                   </complexType> + *                                 </element> + *                               </sequence> + *                             </restriction> + *                           </complexContent> + *                         </complexType> + *                       </element> + *                     </sequence> + *                   </choice> + *                 </sequence> + *               </restriction> + *             </complexContent> + *           </complexType> + *         </element> + *         <element name="Payload" maxOccurs="unbounded" minOccurs="0"> + *           <complexType> + *             <complexContent> + *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                 <choice> + *                   <element name="BinaryDocument"> + *                     <complexType> + *                       <complexContent> + *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                           <sequence> + *                             <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + *                             <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                             <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                           </sequence> + *                         </restriction> + *                       </complexContent> + *                     </complexType> + *                   </element> + *                   <element name="DocumentReference"> + *                     <complexType> + *                       <complexContent> + *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                           <sequence> + *                             <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + *                             <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                             <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> + *                             <element name="MD5Checksum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + *                           </sequence> + *                         </restriction> + *                       </complexContent> + *                     </complexType> + *                   </element> + *                 </choice> + *               </restriction> + *             </complexContent> + *           </complexType> + *         </element> + *       </sequence> + *       <attribute name="sync" type="{http://www.w3.org/2001/XMLSchema}boolean" /> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryRequestType", propOrder = { +    "server", +    "sender", +    "receiver", +    "metaData", +    "xmlDocument", +    "payload" +}) +public class DeliveryRequestType { + +    @XmlElement(name = "Server") +    protected DeliveryRequestType.Server server; +    @XmlElement(name = "Sender", required = true) +    protected DeliveryRequestType.Sender sender; +    @XmlElement(name = "Receiver", required = true) +    protected PersonDataType receiver; +    @XmlElement(name = "MetaData", required = true) +    protected DeliveryRequestType.MetaData metaData; +    @XmlElement(name = "XMLDocument") +    protected DeliveryRequestType.XMLDocument xmlDocument; +    @XmlElement(name = "Payload") +    protected List<DeliveryRequestType.Payload> payload; +    @XmlAttribute +    protected Boolean sync; + +    /** +     * Gets the value of the server property. +     *  +     * @return +     *     possible object is +     *     {@link DeliveryRequestType.Server } +     *      +     */ +    public DeliveryRequestType.Server getServer() { +        return server; +    } + +    /** +     * Sets the value of the server property. +     *  +     * @param value +     *     allowed object is +     *     {@link DeliveryRequestType.Server } +     *      +     */ +    public void setServer(DeliveryRequestType.Server value) { +        this.server = value; +    } + +    /** +     * Gets the value of the sender property. +     *  +     * @return +     *     possible object is +     *     {@link DeliveryRequestType.Sender } +     *      +     */ +    public DeliveryRequestType.Sender getSender() { +        return sender; +    } + +    /** +     * Sets the value of the sender property. +     *  +     * @param value +     *     allowed object is +     *     {@link DeliveryRequestType.Sender } +     *      +     */ +    public void setSender(DeliveryRequestType.Sender value) { +        this.sender = value; +    } + +    /** +     * Gets the value of the receiver property. +     *  +     * @return +     *     possible object is +     *     {@link PersonDataType } +     *      +     */ +    public PersonDataType getReceiver() { +        return receiver; +    } + +    /** +     * Sets the value of the receiver property. +     *  +     * @param value +     *     allowed object is +     *     {@link PersonDataType } +     *      +     */ +    public void setReceiver(PersonDataType value) { +        this.receiver = value; +    } + +    /** +     * Gets the value of the metaData property. +     *  +     * @return +     *     possible object is +     *     {@link DeliveryRequestType.MetaData } +     *      +     */ +    public DeliveryRequestType.MetaData getMetaData() { +        return metaData; +    } + +    /** +     * Sets the value of the metaData property. +     *  +     * @param value +     *     allowed object is +     *     {@link DeliveryRequestType.MetaData } +     *      +     */ +    public void setMetaData(DeliveryRequestType.MetaData value) { +        this.metaData = value; +    } + +    /** +     * Gets the value of the xmlDocument property. +     *  +     * @return +     *     possible object is +     *     {@link DeliveryRequestType.XMLDocument } +     *      +     */ +    public DeliveryRequestType.XMLDocument getXMLDocument() { +        return xmlDocument; +    } + +    /** +     * Sets the value of the xmlDocument property. +     *  +     * @param value +     *     allowed object is +     *     {@link DeliveryRequestType.XMLDocument } +     *      +     */ +    public void setXMLDocument(DeliveryRequestType.XMLDocument value) { +        this.xmlDocument = value; +    } + +    /** +     * Gets the value of the payload 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 payload property. +     *  +     * <p> +     * For example, to add a new item, do as follows: +     * <pre> +     *    getPayload().add(newItem); +     * </pre> +     *  +     *  +     * <p> +     * Objects of the following type(s) are allowed in the list +     * {@link DeliveryRequestType.Payload } +     *  +     *  +     */ +    public List<DeliveryRequestType.Payload> getPayload() { +        if (payload == null) { +            payload = new ArrayList<DeliveryRequestType.Payload>(); +        } +        return this.payload; +    } + +    /** +     * Gets the value of the sync property. +     *  +     * @return +     *     possible object is +     *     {@link Boolean } +     *      +     */ +    public Boolean isSync() { +        return sync; +    } + +    /** +     * Sets the value of the sync property. +     *  +     * @param value +     *     allowed object is +     *     {@link Boolean } +     *      +     */ +    public void setSync(Boolean value) { +        this.sync = value; +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <complexContent> +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *       <sequence> +     *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> +     *         <element name="DeliveryQuality"> +     *           <simpleType> +     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string"> +     *               <enumeration value="RSa"/> +     *               <enumeration value="RSa+"/> +     *               <enumeration value="nonRSa"/> +     *               <enumeration value="nonRSa+"/> +     *               <enumeration value="R"/> +     *               <enumeration value="R+"/> +     *               <enumeration value="RS"/> +     *               <enumeration value="RS+"/> +     *             </restriction> +     *           </simpleType> +     *         </element> +     *         <element name="RequiresEncryption" type="{http://www.w3.org/2001/XMLSchema}boolean"/> +     *         <element name="PrivateDelivery" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> +     *         <element name="DocumentClass" minOccurs="0"> +     *           <simpleType> +     *             <restriction base="{http://www.w3.org/2001/XMLSchema}token"> +     *               <maxLength value="255"/> +     *               <minLength value="1"/> +     *             </restriction> +     *           </simpleType> +     *         </element> +     *         <element name="DualDelivery" minOccurs="0"> +     *           <complexType> +     *             <complexContent> +     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                 <sequence> +     *                   <element name="DualDeliveryServer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> +     *                   <element name="PrintParameter" minOccurs="0"> +     *                     <complexType> +     *                       <complexContent> +     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                           <sequence> +     *                             <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> +     *                           </sequence> +     *                           <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> +     *                         </restriction> +     *                       </complexContent> +     *                     </complexType> +     *                   </element> +     *                 </sequence> +     *               </restriction> +     *             </complexContent> +     *           </complexType> +     *         </element> +     *         <element name="MailBody" minOccurs="0"> +     *           <complexType> +     *             <complexContent> +     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                 <sequence> +     *                   <element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *                   <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> +     *                 </sequence> +     *               </restriction> +     *             </complexContent> +     *           </complexType> +     *         </element> +     *       </sequence> +     *     </restriction> +     *   </complexContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "appDeliveryID", +        "deliveryQuality", +        "requiresEncryption", +        "privateDelivery", +        "documentClass", +        "dualDelivery", +        "mailBody" +    }) +    public static class MetaData { + +        @XmlElement(name = "AppDeliveryID", required = true) +        @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +        protected String appDeliveryID; +        @XmlElement(name = "DeliveryQuality", required = true) +        protected String deliveryQuality; +        @XmlElement(name = "RequiresEncryption") +        protected boolean requiresEncryption; +        @XmlElement(name = "PrivateDelivery") +        protected Boolean privateDelivery; +        @XmlElement(name = "DocumentClass") +        @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +        protected String documentClass; +        @XmlElement(name = "DualDelivery") +        protected DeliveryRequestType.MetaData.DualDelivery dualDelivery; +        @XmlElement(name = "MailBody") +        protected DeliveryRequestType.MetaData.MailBody mailBody; + +        /** +         * Gets the value of the appDeliveryID property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getAppDeliveryID() { +            return appDeliveryID; +        } + +        /** +         * Sets the value of the appDeliveryID property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setAppDeliveryID(String value) { +            this.appDeliveryID = value; +        } + +        /** +         * Gets the value of the deliveryQuality property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getDeliveryQuality() { +            return deliveryQuality; +        } + +        /** +         * Sets the value of the deliveryQuality property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setDeliveryQuality(String value) { +            this.deliveryQuality = value; +        } + +        /** +         * Gets the value of the requiresEncryption property. +         *  +         */ +        public boolean isRequiresEncryption() { +            return requiresEncryption; +        } + +        /** +         * Sets the value of the requiresEncryption property. +         *  +         */ +        public void setRequiresEncryption(boolean value) { +            this.requiresEncryption = value; +        } + +        /** +         * Gets the value of the privateDelivery property. +         *  +         * @return +         *     possible object is +         *     {@link Boolean } +         *      +         */ +        public Boolean isPrivateDelivery() { +            return privateDelivery; +        } + +        /** +         * Sets the value of the privateDelivery property. +         *  +         * @param value +         *     allowed object is +         *     {@link Boolean } +         *      +         */ +        public void setPrivateDelivery(Boolean value) { +            this.privateDelivery = value; +        } + +        /** +         * Gets the value of the documentClass property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getDocumentClass() { +            return documentClass; +        } + +        /** +         * Sets the value of the documentClass property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setDocumentClass(String value) { +            this.documentClass = value; +        } + +        /** +         * Gets the value of the dualDelivery property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.MetaData.DualDelivery } +         *      +         */ +        public DeliveryRequestType.MetaData.DualDelivery getDualDelivery() { +            return dualDelivery; +        } + +        /** +         * Sets the value of the dualDelivery property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.MetaData.DualDelivery } +         *      +         */ +        public void setDualDelivery(DeliveryRequestType.MetaData.DualDelivery value) { +            this.dualDelivery = value; +        } + +        /** +         * Gets the value of the mailBody property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.MetaData.MailBody } +         *      +         */ +        public DeliveryRequestType.MetaData.MailBody getMailBody() { +            return mailBody; +        } + +        /** +         * Sets the value of the mailBody property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.MetaData.MailBody } +         *      +         */ +        public void setMailBody(DeliveryRequestType.MetaData.MailBody value) { +            this.mailBody = value; +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <complexContent> +         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *       <sequence> +         *         <element name="DualDeliveryServer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> +         *         <element name="PrintParameter" minOccurs="0"> +         *           <complexType> +         *             <complexContent> +         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *                 <sequence> +         *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> +         *                 </sequence> +         *                 <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> +         *               </restriction> +         *             </complexContent> +         *           </complexType> +         *         </element> +         *       </sequence> +         *     </restriction> +         *   </complexContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "dualDeliveryServer", +            "printParameter" +        }) +        public static class DualDelivery { + +            @XmlElement(name = "DualDeliveryServer") +            protected String dualDeliveryServer; +            @XmlElement(name = "PrintParameter") +            protected DeliveryRequestType.MetaData.DualDelivery.PrintParameter printParameter; + +            /** +             * Gets the value of the dualDeliveryServer property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getDualDeliveryServer() { +                return dualDeliveryServer; +            } + +            /** +             * Sets the value of the dualDeliveryServer property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setDualDeliveryServer(String value) { +                this.dualDeliveryServer = value; +            } + +            /** +             * Gets the value of the printParameter property. +             *  +             * @return +             *     possible object is +             *     {@link DeliveryRequestType.MetaData.DualDelivery.PrintParameter } +             *      +             */ +            public DeliveryRequestType.MetaData.DualDelivery.PrintParameter getPrintParameter() { +                return printParameter; +            } + +            /** +             * Sets the value of the printParameter property. +             *  +             * @param value +             *     allowed object is +             *     {@link DeliveryRequestType.MetaData.DualDelivery.PrintParameter } +             *      +             */ +            public void setPrintParameter(DeliveryRequestType.MetaData.DualDelivery.PrintParameter value) { +                this.printParameter = value; +            } + + +            /** +             * <p>Java class for anonymous complex type. +             *  +             * <p>The following schema fragment specifies the expected content contained within this class. +             *  +             * <pre> +             * <complexType> +             *   <complexContent> +             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +             *       <sequence> +             *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> +             *       </sequence> +             *       <attribute name="profile" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> +             *     </restriction> +             *   </complexContent> +             * </complexType> +             * </pre> +             *  +             *  +             */ +            @XmlAccessorType(XmlAccessType.FIELD) +            @XmlType(name = "", propOrder = { +                "any" +            }) +            public static class PrintParameter { + +                @XmlAnyElement +                protected List<Element> any; +                @XmlAttribute +                @XmlSchemaType(name = "anyURI") +                protected String profile; + +                /** +                 * Gets the value of the any 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 any property. +                 *  +                 * <p> +                 * For example, to add a new item, do as follows: +                 * <pre> +                 *    getAny().add(newItem); +                 * </pre> +                 *  +                 *  +                 * <p> +                 * Objects of the following type(s) are allowed in the list +                 * {@link Element } +                 *  +                 *  +                 */ +                public List<Element> getAny() { +                    if (any == null) { +                        any = new ArrayList<Element>(); +                    } +                    return this.any; +                } + +                /** +                 * Gets the value of the profile property. +                 *  +                 * @return +                 *     possible object is +                 *     {@link String } +                 *      +                 */ +                public String getProfile() { +                    return profile; +                } + +                /** +                 * Sets the value of the profile property. +                 *  +                 * @param value +                 *     allowed object is +                 *     {@link String } +                 *      +                 */ +                public void setProfile(String value) { +                    this.profile = value; +                } + +            } + +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <complexContent> +         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *       <sequence> +         *         <element name="MimeType" type="{http://www.w3.org/2001/XMLSchema}token"/> +         *         <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> +         *       </sequence> +         *     </restriction> +         *   </complexContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "mimeType", +            "content" +        }) +        public static class MailBody { + +            @XmlElement(name = "MimeType", required = true) +            @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +            @XmlSchemaType(name = "token") +            protected String mimeType; +            @XmlElement(name = "Content", required = true) +            protected byte[] content; + +            /** +             * Gets the value of the mimeType property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getMimeType() { +                return mimeType; +            } + +            /** +             * Sets the value of the mimeType property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setMimeType(String value) { +                this.mimeType = value; +            } + +            /** +             * Gets the value of the content property. +             *  +             * @return +             *     possible object is +             *     byte[] +             */ +            public byte[] getContent() { +                return content; +            } + +            /** +             * Sets the value of the content property. +             *  +             * @param value +             *     allowed object is +             *     byte[] +             */ +            public void setContent(byte[] value) { +                this.content = ((byte[]) value); +            } + +        } + +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <complexContent> +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *       <choice> +     *         <element name="BinaryDocument"> +     *           <complexType> +     *             <complexContent> +     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                 <sequence> +     *                   <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> +     *                   <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *                   <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *                 </sequence> +     *               </restriction> +     *             </complexContent> +     *           </complexType> +     *         </element> +     *         <element name="DocumentReference"> +     *           <complexType> +     *             <complexContent> +     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                 <sequence> +     *                   <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> +     *                   <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *                   <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *                   <element name="MD5Checksum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> +     *                 </sequence> +     *               </restriction> +     *             </complexContent> +     *           </complexType> +     *         </element> +     *       </choice> +     *     </restriction> +     *   </complexContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "binaryDocument", +        "documentReference" +    }) +    public static class Payload { + +        @XmlElement(name = "BinaryDocument") +        protected DeliveryRequestType.Payload.BinaryDocument binaryDocument; +        @XmlElement(name = "DocumentReference") +        protected DeliveryRequestType.Payload.DocumentReference documentReference; + +        /** +         * Gets the value of the binaryDocument property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.Payload.BinaryDocument } +         *      +         */ +        public DeliveryRequestType.Payload.BinaryDocument getBinaryDocument() { +            return binaryDocument; +        } + +        /** +         * Sets the value of the binaryDocument property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.Payload.BinaryDocument } +         *      +         */ +        public void setBinaryDocument(DeliveryRequestType.Payload.BinaryDocument value) { +            this.binaryDocument = value; +        } + +        /** +         * Gets the value of the documentReference property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.Payload.DocumentReference } +         *      +         */ +        public DeliveryRequestType.Payload.DocumentReference getDocumentReference() { +            return documentReference; +        } + +        /** +         * Sets the value of the documentReference property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.Payload.DocumentReference } +         *      +         */ +        public void setDocumentReference(DeliveryRequestType.Payload.DocumentReference value) { +            this.documentReference = value; +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <complexContent> +         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *       <sequence> +         *         <element name="Base64Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> +         *         <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> +         *         <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> +         *       </sequence> +         *     </restriction> +         *   </complexContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "base64Content", +            "fileName", +            "mimeType" +        }) +        public static class BinaryDocument { + +            @XmlElement(name = "Base64Content", required = true) +            protected byte[] base64Content; +            @XmlElement(name = "FileName", required = true) +            @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +            @XmlSchemaType(name = "token") +            protected String fileName; +            @XmlElement(name = "MIMEType", required = true) +            @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +            @XmlSchemaType(name = "token") +            protected String mimeType; + +            /** +             * Gets the value of the base64Content property. +             *  +             * @return +             *     possible object is +             *     byte[] +             */ +            public byte[] getBase64Content() { +                return base64Content; +            } + +            /** +             * Sets the value of the base64Content property. +             *  +             * @param value +             *     allowed object is +             *     byte[] +             */ +            public void setBase64Content(byte[] value) { +                this.base64Content = ((byte[]) value); +            } + +            /** +             * Gets the value of the fileName property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getFileName() { +                return fileName; +            } + +            /** +             * Sets the value of the fileName property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setFileName(String value) { +                this.fileName = value; +            } + +            /** +             * Gets the value of the mimeType property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getMIMEType() { +                return mimeType; +            } + +            /** +             * Sets the value of the mimeType property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setMIMEType(String value) { +                this.mimeType = value; +            } + +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <complexContent> +         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *       <sequence> +         *         <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> +         *         <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> +         *         <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> +         *         <element name="MD5Checksum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> +         *       </sequence> +         *     </restriction> +         *   </complexContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "url", +            "fileName", +            "mimeType", +            "md5Checksum" +        }) +        public static class DocumentReference { + +            @XmlElement(name = "URL", required = true) +            @XmlSchemaType(name = "anyURI") +            protected String url; +            @XmlElement(name = "FileName", required = true) +            @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +            @XmlSchemaType(name = "token") +            protected String fileName; +            @XmlElement(name = "MIMEType", required = true) +            @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +            @XmlSchemaType(name = "token") +            protected String mimeType; +            @XmlElement(name = "MD5Checksum") +            protected String md5Checksum; + +            /** +             * Gets the value of the url property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getURL() { +                return url; +            } + +            /** +             * Sets the value of the url property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setURL(String value) { +                this.url = value; +            } + +            /** +             * Gets the value of the fileName property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getFileName() { +                return fileName; +            } + +            /** +             * Sets the value of the fileName property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setFileName(String value) { +                this.fileName = value; +            } + +            /** +             * Gets the value of the mimeType property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getMIMEType() { +                return mimeType; +            } + +            /** +             * Sets the value of the mimeType property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setMIMEType(String value) { +                this.mimeType = value; +            } + +            /** +             * Gets the value of the md5Checksum property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getMD5Checksum() { +                return md5Checksum; +            } + +            /** +             * Sets the value of the md5Checksum property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setMD5Checksum(String value) { +                this.md5Checksum = value; +            } + +        } + +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <complexContent> +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *       <sequence> +     *         <choice> +     *           <element name="ProfileID" type="{http://www.w3.org/2001/XMLSchema}string"/> +     *           <sequence> +     *             <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> +     *             <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> +     *             <choice> +     *               <element name="WebserviceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> +     *               <element name="EMailAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> +     *             </choice> +     *           </sequence> +     *         </choice> +     *         <sequence> +     *           <element name="SignatureKeyID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> +     *         </sequence> +     *       </sequence> +     *     </restriction> +     *   </complexContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "profileID", +        "person", +        "address", +        "webserviceURL", +        "eMailAddress", +        "signatureKeyID" +    }) +    public static class Sender { + +        @XmlElement(name = "ProfileID") +        protected String profileID; +        @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) +        protected JAXBElement<? extends AbstractPersonType> person; +        @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) +        protected List<JAXBElement<? extends AbstractAddressType>> address; +        @XmlElement(name = "WebserviceURL") +        @XmlSchemaType(name = "anyURI") +        protected String webserviceURL; +        @XmlElement(name = "EMailAddress") +        protected String eMailAddress; +        @XmlElement(name = "SignatureKeyID") +        protected String signatureKeyID; + +        /** +         * Gets the value of the profileID property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getProfileID() { +            return profileID; +        } + +        /** +         * Sets the value of the profileID property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setProfileID(String value) { +            this.profileID = value; +        } + +        /** +         * Gets the value of the person property. +         *  +         * @return +         *     possible object is +         *     {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} +         *     {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} +         *     {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} +         *      +         */ +        public JAXBElement<? extends AbstractPersonType> getPerson() { +            return person; +        } + +        /** +         * Sets the value of the person property. +         *  +         * @param value +         *     allowed object is +         *     {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} +         *     {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} +         *     {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} +         *      +         */ +        public void setPerson(JAXBElement<? extends AbstractPersonType> value) { +            this.person = ((JAXBElement<? extends AbstractPersonType> ) value); +        } + +        /** +         * Gets the value of the address 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 address property. +         *  +         * <p> +         * For example, to add a new item, do as follows: +         * <pre> +         *    getAddress().add(newItem); +         * </pre> +         *  +         *  +         * <p> +         * Objects of the following type(s) are allowed in the list +         * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} +         * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} +         * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} +         * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} +         *  +         *  +         */ +        public List<JAXBElement<? extends AbstractAddressType>> getAddress() { +            if (address == null) { +                address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); +            } +            return this.address; +        } + +        /** +         * Gets the value of the webserviceURL property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getWebserviceURL() { +            return webserviceURL; +        } + +        /** +         * Sets the value of the webserviceURL property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setWebserviceURL(String value) { +            this.webserviceURL = value; +        } + +        /** +         * Gets the value of the eMailAddress property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getEMailAddress() { +            return eMailAddress; +        } + +        /** +         * Sets the value of the eMailAddress property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setEMailAddress(String value) { +            this.eMailAddress = value; +        } + +        /** +         * Gets the value of the signatureKeyID property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getSignatureKeyID() { +            return signatureKeyID; +        } + +        /** +         * Sets the value of the signatureKeyID property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setSignatureKeyID(String value) { +            this.signatureKeyID = value; +        } + +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <complexContent> +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *       <sequence> +     *         <element name="ZUSEUrlID" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> +     *         <element name="X509" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> +     *       </sequence> +     *     </restriction> +     *   </complexContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "zuseUrlID", +        "x509" +    }) +    public static class Server { + +        @XmlElement(name = "ZUSEUrlID", required = true) +        @XmlSchemaType(name = "anyURI") +        protected String zuseUrlID; +        @XmlElement(name = "X509") +        protected byte[] x509; + +        /** +         * Gets the value of the zuseUrlID property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getZUSEUrlID() { +            return zuseUrlID; +        } + +        /** +         * Sets the value of the zuseUrlID property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setZUSEUrlID(String value) { +            this.zuseUrlID = value; +        } + +        /** +         * Gets the value of the x509 property. +         *  +         * @return +         *     possible object is +         *     byte[] +         */ +        public byte[] getX509() { +            return x509; +        } + +        /** +         * Sets the value of the x509 property. +         *  +         * @param value +         *     allowed object is +         *     byte[] +         */ +        public void setX509(byte[] value) { +            this.x509 = ((byte[]) value); +        } + +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <complexContent> +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *       <sequence> +     *         <element name="XMLContent"> +     *           <complexType> +     *             <complexContent> +     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                 <sequence> +     *                   <any processContents='lax'/> +     *                 </sequence> +     *               </restriction> +     *             </complexContent> +     *           </complexType> +     *         </element> +     *         <choice> +     *           <element name="XMLProfileID" type="{http://www.w3.org/2001/XMLSchema}anyType"/> +     *           <sequence> +     *             <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *             <element name="MIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *             <element name="ResultingMIMEType" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *             <element name="SignatureXPath"> +     *               <complexType> +     *                 <simpleContent> +     *                   <extension base="<http://www.w3.org/2001/XMLSchema>string"> +     *                     <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> +     *                   </extension> +     *                 </simpleContent> +     *               </complexType> +     *             </element> +     *             <element name="SignatureStylesheet"> +     *               <complexType> +     *                 <complexContent> +     *                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                     <sequence> +     *                       <element name="XMLContent"> +     *                         <complexType> +     *                           <complexContent> +     *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                               <sequence> +     *                                 <any processContents='lax'/> +     *                               </sequence> +     *                             </restriction> +     *                           </complexContent> +     *                         </complexType> +     *                       </element> +     *                     </sequence> +     *                   </restriction> +     *                 </complexContent> +     *               </complexType> +     *             </element> +     *             <element name="PreviewStylesheet" minOccurs="0"> +     *               <complexType> +     *                 <complexContent> +     *                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                     <sequence> +     *                       <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> +     *                       <element name="XMLContent"> +     *                         <complexType> +     *                           <complexContent> +     *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *                               <sequence> +     *                                 <any processContents='lax'/> +     *                               </sequence> +     *                             </restriction> +     *                           </complexContent> +     *                         </complexType> +     *                       </element> +     *                     </sequence> +     *                   </restriction> +     *                 </complexContent> +     *               </complexType> +     *             </element> +     *           </sequence> +     *         </choice> +     *       </sequence> +     *     </restriction> +     *   </complexContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "xmlContent", +        "xmlProfileID", +        "fileName", +        "mimeType", +        "resultingMIMEType", +        "signatureXPath", +        "signatureStylesheet", +        "previewStylesheet" +    }) +    public static class XMLDocument { + +        @XmlElement(name = "XMLContent", required = true) +        protected DeliveryRequestType.XMLDocument.XMLContent xmlContent; +        @XmlElement(name = "XMLProfileID") +        protected Object xmlProfileID; +        @XmlElement(name = "FileName") +        @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +        @XmlSchemaType(name = "token") +        protected String fileName; +        @XmlElement(name = "MIMEType") +        @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +        @XmlSchemaType(name = "token") +        protected String mimeType; +        @XmlElement(name = "ResultingMIMEType") +        @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +        @XmlSchemaType(name = "token") +        protected String resultingMIMEType; +        @XmlElement(name = "SignatureXPath") +        protected DeliveryRequestType.XMLDocument.SignatureXPath signatureXPath; +        @XmlElement(name = "SignatureStylesheet") +        protected DeliveryRequestType.XMLDocument.SignatureStylesheet signatureStylesheet; +        @XmlElement(name = "PreviewStylesheet") +        protected DeliveryRequestType.XMLDocument.PreviewStylesheet previewStylesheet; + +        /** +         * Gets the value of the xmlContent property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.XMLDocument.XMLContent } +         *      +         */ +        public DeliveryRequestType.XMLDocument.XMLContent getXMLContent() { +            return xmlContent; +        } + +        /** +         * Sets the value of the xmlContent property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.XMLDocument.XMLContent } +         *      +         */ +        public void setXMLContent(DeliveryRequestType.XMLDocument.XMLContent value) { +            this.xmlContent = value; +        } + +        /** +         * Gets the value of the xmlProfileID property. +         *  +         * @return +         *     possible object is +         *     {@link Object } +         *      +         */ +        public Object getXMLProfileID() { +            return xmlProfileID; +        } + +        /** +         * Sets the value of the xmlProfileID property. +         *  +         * @param value +         *     allowed object is +         *     {@link Object } +         *      +         */ +        public void setXMLProfileID(Object value) { +            this.xmlProfileID = value; +        } + +        /** +         * Gets the value of the fileName property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getFileName() { +            return fileName; +        } + +        /** +         * Sets the value of the fileName property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setFileName(String value) { +            this.fileName = value; +        } + +        /** +         * Gets the value of the mimeType property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getMIMEType() { +            return mimeType; +        } + +        /** +         * Sets the value of the mimeType property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setMIMEType(String value) { +            this.mimeType = value; +        } + +        /** +         * Gets the value of the resultingMIMEType property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getResultingMIMEType() { +            return resultingMIMEType; +        } + +        /** +         * Sets the value of the resultingMIMEType property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setResultingMIMEType(String value) { +            this.resultingMIMEType = value; +        } + +        /** +         * Gets the value of the signatureXPath property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.XMLDocument.SignatureXPath } +         *      +         */ +        public DeliveryRequestType.XMLDocument.SignatureXPath getSignatureXPath() { +            return signatureXPath; +        } + +        /** +         * Sets the value of the signatureXPath property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.XMLDocument.SignatureXPath } +         *      +         */ +        public void setSignatureXPath(DeliveryRequestType.XMLDocument.SignatureXPath value) { +            this.signatureXPath = value; +        } + +        /** +         * Gets the value of the signatureStylesheet property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.XMLDocument.SignatureStylesheet } +         *      +         */ +        public DeliveryRequestType.XMLDocument.SignatureStylesheet getSignatureStylesheet() { +            return signatureStylesheet; +        } + +        /** +         * Sets the value of the signatureStylesheet property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.XMLDocument.SignatureStylesheet } +         *      +         */ +        public void setSignatureStylesheet(DeliveryRequestType.XMLDocument.SignatureStylesheet value) { +            this.signatureStylesheet = value; +        } + +        /** +         * Gets the value of the previewStylesheet property. +         *  +         * @return +         *     possible object is +         *     {@link DeliveryRequestType.XMLDocument.PreviewStylesheet } +         *      +         */ +        public DeliveryRequestType.XMLDocument.PreviewStylesheet getPreviewStylesheet() { +            return previewStylesheet; +        } + +        /** +         * Sets the value of the previewStylesheet property. +         *  +         * @param value +         *     allowed object is +         *     {@link DeliveryRequestType.XMLDocument.PreviewStylesheet } +         *      +         */ +        public void setPreviewStylesheet(DeliveryRequestType.XMLDocument.PreviewStylesheet value) { +            this.previewStylesheet = value; +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <complexContent> +         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *       <sequence> +         *         <element name="FileName" type="{http://www.w3.org/2001/XMLSchema}token"/> +         *         <element name="XMLContent"> +         *           <complexType> +         *             <complexContent> +         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *                 <sequence> +         *                   <any processContents='lax'/> +         *                 </sequence> +         *               </restriction> +         *             </complexContent> +         *           </complexType> +         *         </element> +         *       </sequence> +         *     </restriction> +         *   </complexContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "fileName", +            "xmlContent" +        }) +        public static class PreviewStylesheet { + +            @XmlElement(name = "FileName", required = true) +            @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +            @XmlSchemaType(name = "token") +            protected String fileName; +            @XmlElement(name = "XMLContent", required = true) +            protected DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent xmlContent; + +            /** +             * Gets the value of the fileName property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getFileName() { +                return fileName; +            } + +            /** +             * Sets the value of the fileName property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setFileName(String value) { +                this.fileName = value; +            } + +            /** +             * Gets the value of the xmlContent property. +             *  +             * @return +             *     possible object is +             *     {@link DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent } +             *      +             */ +            public DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent getXMLContent() { +                return xmlContent; +            } + +            /** +             * Sets the value of the xmlContent property. +             *  +             * @param value +             *     allowed object is +             *     {@link DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent } +             *      +             */ +            public void setXMLContent(DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent value) { +                this.xmlContent = value; +            } + + +            /** +             * <p>Java class for anonymous complex type. +             *  +             * <p>The following schema fragment specifies the expected content contained within this class. +             *  +             * <pre> +             * <complexType> +             *   <complexContent> +             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +             *       <sequence> +             *         <any processContents='lax'/> +             *       </sequence> +             *     </restriction> +             *   </complexContent> +             * </complexType> +             * </pre> +             *  +             *  +             */ +            @XmlAccessorType(XmlAccessType.FIELD) +            @XmlType(name = "", propOrder = { +                "any" +            }) +            public static class XMLContent { + +                @XmlAnyElement(lax = true) +                protected Object any; + +                /** +                 * Gets the value of the any property. +                 *  +                 * @return +                 *     possible object is +                 *     {@link Element } +                 *     {@link Object } +                 *      +                 */ +                public Object getAny() { +                    return any; +                } + +                /** +                 * Sets the value of the any property. +                 *  +                 * @param value +                 *     allowed object is +                 *     {@link Element } +                 *     {@link Object } +                 *      +                 */ +                public void setAny(Object value) { +                    this.any = value; +                } + +            } + +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <complexContent> +         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *       <sequence> +         *         <element name="XMLContent"> +         *           <complexType> +         *             <complexContent> +         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *                 <sequence> +         *                   <any processContents='lax'/> +         *                 </sequence> +         *               </restriction> +         *             </complexContent> +         *           </complexType> +         *         </element> +         *       </sequence> +         *     </restriction> +         *   </complexContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "xmlContent" +        }) +        public static class SignatureStylesheet { + +            @XmlElement(name = "XMLContent", required = true) +            protected DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent xmlContent; + +            /** +             * Gets the value of the xmlContent property. +             *  +             * @return +             *     possible object is +             *     {@link DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent } +             *      +             */ +            public DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent getXMLContent() { +                return xmlContent; +            } + +            /** +             * Sets the value of the xmlContent property. +             *  +             * @param value +             *     allowed object is +             *     {@link DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent } +             *      +             */ +            public void setXMLContent(DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent value) { +                this.xmlContent = value; +            } + + +            /** +             * <p>Java class for anonymous complex type. +             *  +             * <p>The following schema fragment specifies the expected content contained within this class. +             *  +             * <pre> +             * <complexType> +             *   <complexContent> +             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +             *       <sequence> +             *         <any processContents='lax'/> +             *       </sequence> +             *     </restriction> +             *   </complexContent> +             * </complexType> +             * </pre> +             *  +             *  +             */ +            @XmlAccessorType(XmlAccessType.FIELD) +            @XmlType(name = "", propOrder = { +                "any" +            }) +            public static class XMLContent { + +                @XmlAnyElement(lax = true) +                protected Object any; + +                /** +                 * Gets the value of the any property. +                 *  +                 * @return +                 *     possible object is +                 *     {@link Element } +                 *     {@link Object } +                 *      +                 */ +                public Object getAny() { +                    return any; +                } + +                /** +                 * Sets the value of the any property. +                 *  +                 * @param value +                 *     allowed object is +                 *     {@link Element } +                 *     {@link Object } +                 *      +                 */ +                public void setAny(Object value) { +                    this.any = value; +                } + +            } + +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <simpleContent> +         *     <extension base="<http://www.w3.org/2001/XMLSchema>string"> +         *       <attribute name="Index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> +         *     </extension> +         *   </simpleContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "value" +        }) +        public static class SignatureXPath { + +            @XmlValue +            protected String value; +            @XmlAttribute(name = "Index", required = true) +            protected BigInteger index; + +            /** +             * Gets the value of the value property. +             *  +             * @return +             *     possible object is +             *     {@link String } +             *      +             */ +            public String getValue() { +                return value; +            } + +            /** +             * Sets the value of the value property. +             *  +             * @param value +             *     allowed object is +             *     {@link String } +             *      +             */ +            public void setValue(String value) { +                this.value = value; +            } + +            /** +             * Gets the value of the index property. +             *  +             * @return +             *     possible object is +             *     {@link BigInteger } +             *      +             */ +            public BigInteger getIndex() { +                return index; +            } + +            /** +             * Sets the value of the index property. +             *  +             * @param value +             *     allowed object is +             *     {@link BigInteger } +             *      +             */ +            public void setIndex(BigInteger value) { +                this.index = value; +            } + +        } + + +        /** +         * <p>Java class for anonymous complex type. +         *  +         * <p>The following schema fragment specifies the expected content contained within this class. +         *  +         * <pre> +         * <complexType> +         *   <complexContent> +         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +         *       <sequence> +         *         <any processContents='lax'/> +         *       </sequence> +         *     </restriction> +         *   </complexContent> +         * </complexType> +         * </pre> +         *  +         *  +         */ +        @XmlAccessorType(XmlAccessType.FIELD) +        @XmlType(name = "", propOrder = { +            "any" +        }) +        public static class XMLContent { + +            @XmlAnyElement(lax = true) +            protected Object any; + +            /** +             * Gets the value of the any property. +             *  +             * @return +             *     possible object is +             *     {@link Element } +             *     {@link Object } +             *      +             */ +            public Object getAny() { +                return any; +            } + +            /** +             * Sets the value of the any property. +             *  +             * @param value +             *     allowed object is +             *     {@link Element } +             *     {@link Object } +             *      +             */ +            public void setAny(Object value) { +                this.any = value; +            } + +        } + +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryResponseType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryResponseType.java new file mode 100644 index 0000000..0a206d3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryResponseType.java @@ -0,0 +1,118 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for DeliveryResponseType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="DeliveryResponseType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <choice> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}PartialSuccess"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Success"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}Error"/> + *       </choice> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryResponseType", propOrder = { +    "partialSuccess", +    "success", +    "error" +}) +public class DeliveryResponseType { + +    @XmlElement(name = "PartialSuccess") +    protected PartialSuccessType partialSuccess; +    @XmlElement(name = "Success") +    protected SuccessType success; +    @XmlElement(name = "Error") +    protected ErrorType error; + +    /** +     * Gets the value of the partialSuccess property. +     *  +     * @return +     *     possible object is +     *     {@link PartialSuccessType } +     *      +     */ +    public PartialSuccessType getPartialSuccess() { +        return partialSuccess; +    } + +    /** +     * Sets the value of the partialSuccess property. +     *  +     * @param value +     *     allowed object is +     *     {@link PartialSuccessType } +     *      +     */ +    public void setPartialSuccess(PartialSuccessType value) { +        this.partialSuccess = value; +    } + +    /** +     * Gets the value of the success property. +     *  +     * @return +     *     possible object is +     *     {@link SuccessType } +     *      +     */ +    public SuccessType getSuccess() { +        return success; +    } + +    /** +     * Sets the value of the success property. +     *  +     * @param value +     *     allowed object is +     *     {@link SuccessType } +     *      +     */ +    public void setSuccess(SuccessType value) { +        this.success = value; +    } + +    /** +     * Gets the value of the error property. +     *  +     * @return +     *     possible object is +     *     {@link ErrorType } +     *      +     */ +    public ErrorType getError() { +        return error; +    } + +    /** +     * Sets the value of the error property. +     *  +     * @param value +     *     allowed object is +     *     {@link ErrorType } +     *      +     */ +    public void setError(ErrorType value) { +        this.error = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/DeliveryStatementType.java b/src/main/java/at/gv/util/xsd/mzs/DeliveryStatementType.java new file mode 100644 index 0000000..432e9dc --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/DeliveryStatementType.java @@ -0,0 +1,128 @@ + +package at.gv.util.xsd.mzs; + +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 javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <p>Java class for DeliveryStatementType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="DeliveryStatementType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + *       <sequence> + *         <element name="DeliveryServer" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + *         <element name="ZSDeliveryID" type="{http://www.w3.org/2001/XMLSchema}token"/> + *         <element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> + *       </sequence> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeliveryStatementType", propOrder = { +    "deliveryServer", +    "zsDeliveryID", +    "timestamp" +}) +public class DeliveryStatementType +    extends MessageType +{ + +    @XmlElement(name = "DeliveryServer", required = true) +    @XmlSchemaType(name = "anyURI") +    protected String deliveryServer; +    @XmlElement(name = "ZSDeliveryID", required = true) +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlSchemaType(name = "token") +    protected String zsDeliveryID; +    @XmlElement(name = "Timestamp", required = true) +    @XmlSchemaType(name = "dateTime") +    protected XMLGregorianCalendar timestamp; + +    /** +     * Gets the value of the deliveryServer property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getDeliveryServer() { +        return deliveryServer; +    } + +    /** +     * Sets the value of the deliveryServer property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setDeliveryServer(String value) { +        this.deliveryServer = value; +    } + +    /** +     * Gets the value of the zsDeliveryID property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getZSDeliveryID() { +        return zsDeliveryID; +    } + +    /** +     * Sets the value of the zsDeliveryID property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setZSDeliveryID(String value) { +        this.zsDeliveryID = value; +    } + +    /** +     * Gets the value of the timestamp property. +     *  +     * @return +     *     possible object is +     *     {@link XMLGregorianCalendar } +     *      +     */ +    public XMLGregorianCalendar getTimestamp() { +        return timestamp; +    } + +    /** +     * Sets the value of the timestamp property. +     *  +     * @param value +     *     allowed object is +     *     {@link XMLGregorianCalendar } +     *      +     */ +    public void setTimestamp(XMLGregorianCalendar value) { +        this.timestamp = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/ErrorType.java b/src/main/java/at/gv/util/xsd/mzs/ErrorType.java new file mode 100644 index 0000000..9b4d000 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/ErrorType.java @@ -0,0 +1,123 @@ + +package at.gv.util.xsd.mzs; + +import java.math.BigInteger; +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; + + +/** + * <p>Java class for ErrorType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="ErrorType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + *       <sequence> + *         <element name="Code" type="{http://www.w3.org/2001/XMLSchema}integer"/> + *         <element name="Text" type="{http://www.w3.org/2001/XMLSchema}string"/> + *         <element name="DocumentReference" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + *       </sequence> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ErrorType", propOrder = { +    "code", +    "text", +    "documentReference" +}) +public class ErrorType +    extends MessageType +{ + +    @XmlElement(name = "Code", required = true) +    protected BigInteger code; +    @XmlElement(name = "Text", required = true) +    protected String text; +    @XmlElement(name = "DocumentReference") +    @XmlSchemaType(name = "anyURI") +    protected String documentReference; + +    /** +     * Gets the value of the code property. +     *  +     * @return +     *     possible object is +     *     {@link BigInteger } +     *      +     */ +    public BigInteger getCode() { +        return code; +    } + +    /** +     * Sets the value of the code property. +     *  +     * @param value +     *     allowed object is +     *     {@link BigInteger } +     *      +     */ +    public void setCode(BigInteger value) { +        this.code = value; +    } + +    /** +     * Gets the value of the text property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getText() { +        return text; +    } + +    /** +     * Sets the value of the text property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setText(String value) { +        this.text = value; +    } + +    /** +     * Gets the value of the documentReference property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getDocumentReference() { +        return documentReference; +    } + +    /** +     * Sets the value of the documentReference property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setDocumentReference(String value) { +        this.documentReference = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/MessageType.java b/src/main/java/at/gv/util/xsd/mzs/MessageType.java new file mode 100644 index 0000000..a153d49 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/MessageType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * abstract message type + *  + * <p>Java class for MessageType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="MessageType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}AppDeliveryID"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MZSDeliveryID"/> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MessageType", propOrder = { +    "appDeliveryID", +    "mzsDeliveryID" +}) +@XmlSeeAlso({ +    PartialSuccessType.class, +    SuccessType.class, +    DeliveryStatementType.class, +    ErrorType.class +}) +public class MessageType { + +    @XmlElement(name = "AppDeliveryID", required = true) +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    protected String appDeliveryID; +    @XmlElement(name = "MZSDeliveryID", required = true) +    protected String mzsDeliveryID; + +    /** +     * Gets the value of the appDeliveryID property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getAppDeliveryID() { +        return appDeliveryID; +    } + +    /** +     * Sets the value of the appDeliveryID property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setAppDeliveryID(String value) { +        this.appDeliveryID = value; +    } + +    /** +     * Gets the value of the mzsDeliveryID property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getMZSDeliveryID() { +        return mzsDeliveryID; +    } + +    /** +     * Sets the value of the mzsDeliveryID property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setMZSDeliveryID(String value) { +        this.mzsDeliveryID = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mzs/ObjectFactory.java new file mode 100644 index 0000000..b035226 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/ObjectFactory.java @@ -0,0 +1,349 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; +import at.gv.util.xsd.mzs.persondata.PersonDataType; + + +/** + * This object contains factory methods for each  + * Java content interface and Java element interface  + * generated in the at.gv.util.xsd.mzs package.  + * <p>An ObjectFactory allows you to programatically  + * construct new instances of the Java representation  + * for XML content. The Java representation of XML  + * content can consist of schema derived interfaces  + * and classes representing the binding of schema  + * type definitions, element declarations and model  + * groups.  Factory methods for each of these are  + * provided in this class. + *  + */ +@XmlRegistry +public class ObjectFactory { + +    private final static QName _DeliveryRequest_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryRequest"); +    private final static QName _DeliveryResponse_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryResponse"); +    private final static QName _Receiver_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "Receiver"); +    private final static QName _MZSDeliveryID_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "MZSDeliveryID"); +    private final static QName _AppDeliveryID_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "AppDeliveryID"); +    private final static QName _PartialSuccess_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "PartialSuccess"); +    private final static QName _DeliveryNotificationACK_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryNotificationACK"); +    private final static QName _DeliveryNotification_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryNotification"); +    private final static QName _DeliveryStatement_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "DeliveryStatement"); +    private final static QName _Success_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "Success"); +    private final static QName _Error_QNAME = new QName("http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", "Error"); + +    /** +     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mzs +     *  +     */ +    public ObjectFactory() { +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.XMLDocument } +     *  +     */ +    public DeliveryRequestType.XMLDocument createDeliveryRequestTypeXMLDocument() { +        return new DeliveryRequestType.XMLDocument(); +    } + +    /** +     * Create an instance of {@link DeliveryResponseType } +     *  +     */ +    public DeliveryResponseType createDeliveryResponseType() { +        return new DeliveryResponseType(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.Payload } +     *  +     */ +    public DeliveryRequestType.Payload createDeliveryRequestTypePayload() { +        return new DeliveryRequestType.Payload(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.MetaData.DualDelivery.PrintParameter } +     *  +     */ +    public DeliveryRequestType.MetaData.DualDelivery.PrintParameter createDeliveryRequestTypeMetaDataDualDeliveryPrintParameter() { +        return new DeliveryRequestType.MetaData.DualDelivery.PrintParameter(); +    } + +    /** +     * Create an instance of {@link SuccessType } +     *  +     */ +    public SuccessType createSuccessType() { +        return new SuccessType(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.Sender } +     *  +     */ +    public DeliveryRequestType.Sender createDeliveryRequestTypeSender() { +        return new DeliveryRequestType.Sender(); +    } + +    /** +     * Create an instance of {@link MessageType } +     *  +     */ +    public MessageType createMessageType() { +        return new MessageType(); +    } + +    /** +     * Create an instance of {@link PartialSuccessType } +     *  +     */ +    public PartialSuccessType createPartialSuccessType() { +        return new PartialSuccessType(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.MetaData } +     *  +     */ +    public DeliveryRequestType.MetaData createDeliveryRequestTypeMetaData() { +        return new DeliveryRequestType.MetaData(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType } +     *  +     */ +    public DeliveryRequestType createDeliveryRequestType() { +        return new DeliveryRequestType(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.Server } +     *  +     */ +    public DeliveryRequestType.Server createDeliveryRequestTypeServer() { +        return new DeliveryRequestType.Server(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.MetaData.MailBody } +     *  +     */ +    public DeliveryRequestType.MetaData.MailBody createDeliveryRequestTypeMetaDataMailBody() { +        return new DeliveryRequestType.MetaData.MailBody(); +    } + +    /** +     * Create an instance of {@link DeliveryNotificationACKType } +     *  +     */ +    public DeliveryNotificationACKType createDeliveryNotificationACKType() { +        return new DeliveryNotificationACKType(); +    } + +    /** +     * Create an instance of {@link DeliveryStatementType } +     *  +     */ +    public DeliveryStatementType createDeliveryStatementType() { +        return new DeliveryStatementType(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.XMLDocument.PreviewStylesheet } +     *  +     */ +    public DeliveryRequestType.XMLDocument.PreviewStylesheet createDeliveryRequestTypeXMLDocumentPreviewStylesheet() { +        return new DeliveryRequestType.XMLDocument.PreviewStylesheet(); +    } + +    /** +     * Create an instance of {@link ErrorType } +     *  +     */ +    public ErrorType createErrorType() { +        return new ErrorType(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.XMLDocument.SignatureXPath } +     *  +     */ +    public DeliveryRequestType.XMLDocument.SignatureXPath createDeliveryRequestTypeXMLDocumentSignatureXPath() { +        return new DeliveryRequestType.XMLDocument.SignatureXPath(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent } +     *  +     */ +    public DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent createDeliveryRequestTypeXMLDocumentPreviewStylesheetXMLContent() { +        return new DeliveryRequestType.XMLDocument.PreviewStylesheet.XMLContent(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.XMLDocument.XMLContent } +     *  +     */ +    public DeliveryRequestType.XMLDocument.XMLContent createDeliveryRequestTypeXMLDocumentXMLContent() { +        return new DeliveryRequestType.XMLDocument.XMLContent(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.MetaData.DualDelivery } +     *  +     */ +    public DeliveryRequestType.MetaData.DualDelivery createDeliveryRequestTypeMetaDataDualDelivery() { +        return new DeliveryRequestType.MetaData.DualDelivery(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.Payload.DocumentReference } +     *  +     */ +    public DeliveryRequestType.Payload.DocumentReference createDeliveryRequestTypePayloadDocumentReference() { +        return new DeliveryRequestType.Payload.DocumentReference(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.XMLDocument.SignatureStylesheet } +     *  +     */ +    public DeliveryRequestType.XMLDocument.SignatureStylesheet createDeliveryRequestTypeXMLDocumentSignatureStylesheet() { +        return new DeliveryRequestType.XMLDocument.SignatureStylesheet(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent } +     *  +     */ +    public DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent createDeliveryRequestTypeXMLDocumentSignatureStylesheetXMLContent() { +        return new DeliveryRequestType.XMLDocument.SignatureStylesheet.XMLContent(); +    } + +    /** +     * Create an instance of {@link DeliveryNotificationType } +     *  +     */ +    public DeliveryNotificationType createDeliveryNotificationType() { +        return new DeliveryNotificationType(); +    } + +    /** +     * Create an instance of {@link DeliveryRequestType.Payload.BinaryDocument } +     *  +     */ +    public DeliveryRequestType.Payload.BinaryDocument createDeliveryRequestTypePayloadBinaryDocument() { +        return new DeliveryRequestType.Payload.BinaryDocument(); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryRequestType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryRequest") +    public JAXBElement<DeliveryRequestType> createDeliveryRequest(DeliveryRequestType value) { +        return new JAXBElement<DeliveryRequestType>(_DeliveryRequest_QNAME, DeliveryRequestType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryResponseType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryResponse") +    public JAXBElement<DeliveryResponseType> createDeliveryResponse(DeliveryResponseType value) { +        return new JAXBElement<DeliveryResponseType>(_DeliveryResponse_QNAME, DeliveryResponseType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "Receiver") +    public JAXBElement<PersonDataType> createReceiver(PersonDataType value) { +        return new JAXBElement<PersonDataType>(_Receiver_QNAME, PersonDataType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "MZSDeliveryID") +    public JAXBElement<String> createMZSDeliveryID(String value) { +        return new JAXBElement<String>(_MZSDeliveryID_QNAME, String.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "AppDeliveryID") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    public JAXBElement<String> createAppDeliveryID(String value) { +        return new JAXBElement<String>(_AppDeliveryID_QNAME, String.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link PartialSuccessType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "PartialSuccess") +    public JAXBElement<PartialSuccessType> createPartialSuccess(PartialSuccessType value) { +        return new JAXBElement<PartialSuccessType>(_PartialSuccess_QNAME, PartialSuccessType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryNotificationACKType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryNotificationACK") +    public JAXBElement<DeliveryNotificationACKType> createDeliveryNotificationACK(DeliveryNotificationACKType value) { +        return new JAXBElement<DeliveryNotificationACKType>(_DeliveryNotificationACK_QNAME, DeliveryNotificationACKType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryNotificationType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryNotification") +    public JAXBElement<DeliveryNotificationType> createDeliveryNotification(DeliveryNotificationType value) { +        return new JAXBElement<DeliveryNotificationType>(_DeliveryNotification_QNAME, DeliveryNotificationType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link DeliveryStatementType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "DeliveryStatement") +    public JAXBElement<DeliveryStatementType> createDeliveryStatement(DeliveryStatementType value) { +        return new JAXBElement<DeliveryStatementType>(_DeliveryStatement_QNAME, DeliveryStatementType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link SuccessType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "Success") +    public JAXBElement<SuccessType> createSuccess(SuccessType value) { +        return new JAXBElement<SuccessType>(_Success_QNAME, SuccessType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link ErrorType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", name = "Error") +    public JAXBElement<ErrorType> createError(ErrorType value) { +        return new JAXBElement<ErrorType>(_Error_QNAME, ErrorType.class, null, value); +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/PartialSuccessType.java b/src/main/java/at/gv/util/xsd/mzs/PartialSuccessType.java new file mode 100644 index 0000000..609c250 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/PartialSuccessType.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PartialSuccessType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="PartialSuccessType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PartialSuccessType") +public class PartialSuccessType +    extends MessageType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/SuccessType.java b/src/main/java/at/gv/util/xsd/mzs/SuccessType.java new file mode 100644 index 0000000..fc7514b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/SuccessType.java @@ -0,0 +1,32 @@ + +package at.gv.util.xsd.mzs; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for SuccessType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="SuccessType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/moazs10/app2mzs#}MessageType"> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SuccessType") +public class SuccessType +    extends MessageType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/package-info.java b/src/main/java/at/gv/util/xsd/mzs/package-info.java new file mode 100644 index 0000000..bb5f820 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/moazs10/app2mzs#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mzs; diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractAddressType.java new file mode 100644 index 0000000..0d1a732 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractAddressType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * main structure of address data + *  + * <p>Java class for AbstractAddressType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="AbstractAddressType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + *       <anyAttribute namespace='##other'/> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractAddressType") +@XmlSeeAlso({ +    PostalAddressType.class, +    TelephoneAddressType.class, +    InternetAddressType.class +}) +public class AbstractAddressType { + +    @XmlAttribute(name = "Id") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlID +    @XmlSchemaType(name = "ID") +    protected String id; +    @XmlAnyAttribute +    private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + +    /** +     * Gets the value of the id property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getId() { +        return id; +    } + +    /** +     * Sets the value of the id property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setId(String value) { +        this.id = value; +    } + +    /** +     * Gets a map that contains attributes that aren't bound to any typed property on this class. +     *  +     * <p> +     * the map is keyed by the name of the attribute and  +     * the value is the string value of the attribute. +     *  +     * the map returned by this method is live, and you can add new attribute +     * by updating the map directly. Because of this design, there's no setter. +     *  +     *  +     * @return +     *     always non-null +     */ +    public Map<QName, String> getOtherAttributes() { +        return otherAttributes; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractPersonType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractPersonType.java new file mode 100644 index 0000000..00cba22 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/AbstractPersonType.java @@ -0,0 +1,136 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * main structure of person data + *  + * <p>Java class for AbstractPersonType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="AbstractPersonType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <choice minOccurs="0"> + *         <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" maxOccurs="unbounded" minOccurs="0"/> + *       </choice> + *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + *       <anyAttribute namespace='##other'/> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "AbstractPersonType", propOrder = { +    "identification" +}) +@XmlSeeAlso({ +    PhysicalPersonType.class, +    CorporateBodyType.class +}) +public class AbstractPersonType { + +    @XmlElement(name = "Identification") +    protected List<IdentificationType> identification; +    @XmlAttribute(name = "Id") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlID +    @XmlSchemaType(name = "ID") +    protected String id; +    @XmlAnyAttribute +    private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + +    /** +     * Gets the value of the identification 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 identification property. +     *  +     * <p> +     * For example, to add a new item, do as follows: +     * <pre> +     *    getIdentification().add(newItem); +     * </pre> +     *  +     *  +     * <p> +     * Objects of the following type(s) are allowed in the list +     * {@link IdentificationType } +     *  +     *  +     */ +    public List<IdentificationType> getIdentification() { +        if (identification == null) { +            identification = new ArrayList<IdentificationType>(); +        } +        return this.identification; +    } + +    /** +     * Gets the value of the id property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getId() { +        return id; +    } + +    /** +     * Sets the value of the id property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setId(String value) { +        this.id = value; +    } + +    /** +     * Gets a map that contains attributes that aren't bound to any typed property on this class. +     *  +     * <p> +     * the map is keyed by the name of the attribute and  +     * the value is the string value of the attribute. +     *  +     * the map returned by this method is live, and you can add new attribute +     * by updating the map directly. Because of this design, there's no setter. +     *  +     *  +     * @return +     *     always non-null +     */ +    public Map<QName, String> getOtherAttributes() { +        return otherAttributes; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/CorporateBodyType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/CorporateBodyType.java new file mode 100644 index 0000000..4f2710b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/CorporateBodyType.java @@ -0,0 +1,102 @@ + +package at.gv.util.xsd.mzs.persondata; + +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 javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * juridical person, organisation + *  + * <p>Java class for CorporateBodyType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="CorporateBodyType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + *       <sequence minOccurs="0"> + *         <element name="FullName" type="{http://www.w3.org/2001/XMLSchema}token"/> + *         <element name="Organization" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/> + *       </sequence> + *       <anyAttribute namespace='##other'/> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CorporateBodyType", propOrder = { +    "fullName", +    "organization" +}) +public class CorporateBodyType +    extends AbstractPersonType +{ + +    @XmlElement(name = "FullName") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlSchemaType(name = "token") +    protected String fullName; +    @XmlElement(name = "Organization") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlSchemaType(name = "token") +    protected String organization; + +    /** +     * Gets the value of the fullName property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getFullName() { +        return fullName; +    } + +    /** +     * Sets the value of the fullName property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setFullName(String value) { +        this.fullName = value; +    } + +    /** +     * Gets the value of the organization property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getOrganization() { +        return organization; +    } + +    /** +     * Sets the value of the organization property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setOrganization(String value) { +        this.organization = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/IdentificationType.java new file mode 100644 index 0000000..81816d5 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/IdentificationType.java @@ -0,0 +1,244 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.HashMap; +import java.util.Map; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlID; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.namespace.QName; + + +/** + * unique identifier + *  + * <p>Java class for IdentificationType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="IdentificationType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element name="Value"> + *           <complexType> + *             <simpleContent> + *               <extension base="<http://www.w3.org/2001/XMLSchema>string"> + *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + *               </extension> + *             </simpleContent> + *           </complexType> + *         </element> + *         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + *       </sequence> + *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> + *       <anyAttribute namespace='##other'/> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { +    "value", +    "type" +}) +public class IdentificationType { + +    @XmlElement(name = "Value", required = true) +    protected IdentificationType.Value value; +    @XmlElement(name = "Type", required = true) +    @XmlSchemaType(name = "anyURI") +    protected String type; +    @XmlAttribute(name = "Id") +    @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +    @XmlID +    @XmlSchemaType(name = "ID") +    protected String id; +    @XmlAnyAttribute +    private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + +    /** +     * Gets the value of the value property. +     *  +     * @return +     *     possible object is +     *     {@link IdentificationType.Value } +     *      +     */ +    public IdentificationType.Value getValue() { +        return value; +    } + +    /** +     * Sets the value of the value property. +     *  +     * @param value +     *     allowed object is +     *     {@link IdentificationType.Value } +     *      +     */ +    public void setValue(IdentificationType.Value value) { +        this.value = value; +    } + +    /** +     * Gets the value of the type property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getType() { +        return type; +    } + +    /** +     * Sets the value of the type property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setType(String value) { +        this.type = value; +    } + +    /** +     * Gets the value of the id property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getId() { +        return id; +    } + +    /** +     * Sets the value of the id property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setId(String value) { +        this.id = value; +    } + +    /** +     * Gets a map that contains attributes that aren't bound to any typed property on this class. +     *  +     * <p> +     * the map is keyed by the name of the attribute and  +     * the value is the string value of the attribute. +     *  +     * the map returned by this method is live, and you can add new attribute +     * by updating the map directly. Because of this design, there's no setter. +     *  +     *  +     * @return +     *     always non-null +     */ +    public Map<QName, String> getOtherAttributes() { +        return otherAttributes; +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <simpleContent> +     *     <extension base="<http://www.w3.org/2001/XMLSchema>string"> +     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" /> +     *     </extension> +     *   </simpleContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "value" +    }) +    public static class Value { + +        @XmlValue +        protected String value; +        @XmlAttribute(name = "Id") +        @XmlJavaTypeAdapter(CollapsedStringAdapter.class) +        @XmlID +        @XmlSchemaType(name = "ID") +        protected String id; + +        /** +         * Gets the value of the value property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getValue() { +            return value; +        } + +        /** +         * Sets the value of the value property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setValue(String value) { +            this.value = value; +        } + +        /** +         * Gets the value of the id property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getId() { +            return id; +        } + +        /** +         * Sets the value of the id property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setId(String value) { +            this.id = value; +        } + +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/InternetAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/InternetAddressType.java new file mode 100644 index 0000000..06fd72c --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/InternetAddressType.java @@ -0,0 +1,69 @@ + +package at.gv.util.xsd.mzs.persondata; + +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; + + +/** + * internet based communication + *  + * <p>Java class for InternetAddressType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="InternetAddressType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + *       <sequence minOccurs="0"> + *         <element name="Address" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + *       </sequence> + *       <anyAttribute namespace='##other'/> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "InternetAddressType", propOrder = { +    "address" +}) +public class InternetAddressType +    extends AbstractAddressType +{ + +    @XmlElement(name = "Address") +    @XmlSchemaType(name = "anyURI") +    protected String address; + +    /** +     * Gets the value of the address property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getAddress() { +        return address; +    } + +    /** +     * Sets the value of the address property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setAddress(String value) { +        this.address = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mzs/persondata/ObjectFactory.java new file mode 100644 index 0000000..a9e9396 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/ObjectFactory.java @@ -0,0 +1,268 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.datatype.XMLGregorianCalendar; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each  + * Java content interface and Java element interface  + * generated in the at.gv.util.xsd.mzs.persondata package.  + * <p>An ObjectFactory allows you to programatically  + * construct new instances of the Java representation  + * for XML content. The Java representation of XML  + * content can consist of schema derived interfaces  + * and classes representing the binding of schema  + * type definitions, element declarations and model  + * groups.  Factory methods for each of these are  + * provided in this class. + *  + */ +@XmlRegistry +public class ObjectFactory { + +    private final static QName _Name_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Name"); +    private final static QName _DateOfBirth_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "DateOfBirth"); +    private final static QName _Address_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Address"); +    private final static QName _PhysicalPerson_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PhysicalPerson"); +    private final static QName _AbstractPersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "AbstractPersonData"); +    private final static QName _CorporateBody_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "CorporateBody"); +    private final static QName _Person_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "Person"); +    private final static QName _PersonData_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PersonData"); +    private final static QName _PostalAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "PostalAddress"); +    private final static QName _TelephoneAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "TelephoneAddress"); +    private final static QName _InternetAddress_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "InternetAddress"); +    private final static QName _FormattedNumber_QNAME = new QName("http://reference.e-government.gv.at/namespace/persondata/20020228#", "FormattedNumber"); + +    /** +     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mzs.persondata +     *  +     */ +    public ObjectFactory() { +    } + +    /** +     * Create an instance of {@link PostalAddressType } +     *  +     */ +    public PostalAddressType createPostalAddressType() { +        return new PostalAddressType(); +    } + +    /** +     * Create an instance of {@link PersonDataType } +     *  +     */ +    public PersonDataType createPersonDataType() { +        return new PersonDataType(); +    } + +    /** +     * Create an instance of {@link IdentificationType } +     *  +     */ +    public IdentificationType createIdentificationType() { +        return new IdentificationType(); +    } + +    /** +     * Create an instance of {@link CorporateBodyType } +     *  +     */ +    public CorporateBodyType createCorporateBodyType() { +        return new CorporateBodyType(); +    } + +    /** +     * Create an instance of {@link InternetAddressType } +     *  +     */ +    public InternetAddressType createInternetAddressType() { +        return new InternetAddressType(); +    } + +    /** +     * Create an instance of {@link TelcomNumberType } +     *  +     */ +    public TelcomNumberType createTelcomNumberType() { +        return new TelcomNumberType(); +    } + +    /** +     * Create an instance of {@link TelephoneAddressType } +     *  +     */ +    public TelephoneAddressType createTelephoneAddressType() { +        return new TelephoneAddressType(); +    } + +    /** +     * Create an instance of {@link AbstractAddressType } +     *  +     */ +    public AbstractAddressType createAbstractAddressType() { +        return new AbstractAddressType(); +    } + +    /** +     * Create an instance of {@link PostalAddressType.DeliveryAddress } +     *  +     */ +    public PostalAddressType.DeliveryAddress createPostalAddressTypeDeliveryAddress() { +        return new PostalAddressType.DeliveryAddress(); +    } + +    /** +     * Create an instance of {@link PhysicalPersonType } +     *  +     */ +    public PhysicalPersonType createPhysicalPersonType() { +        return new PhysicalPersonType(); +    } + +    /** +     * Create an instance of {@link PersonNameType.FamilyName } +     *  +     */ +    public PersonNameType.FamilyName createPersonNameTypeFamilyName() { +        return new PersonNameType.FamilyName(); +    } + +    /** +     * Create an instance of {@link AbstractPersonType } +     *  +     */ +    public AbstractPersonType createAbstractPersonType() { +        return new AbstractPersonType(); +    } + +    /** +     * Create an instance of {@link IdentificationType.Value } +     *  +     */ +    public IdentificationType.Value createIdentificationTypeValue() { +        return new IdentificationType.Value(); +    } + +    /** +     * Create an instance of {@link PersonNameType } +     *  +     */ +    public PersonNameType createPersonNameType() { +        return new PersonNameType(); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link PersonNameType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Name") +    public JAXBElement<PersonNameType> createName(PersonNameType value) { +        return new JAXBElement<PersonNameType>(_Name_QNAME, PersonNameType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "DateOfBirth") +    public JAXBElement<XMLGregorianCalendar> createDateOfBirth(XMLGregorianCalendar value) { +        return new JAXBElement<XMLGregorianCalendar>(_DateOfBirth_QNAME, XMLGregorianCalendar.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Address") +    public JAXBElement<AbstractAddressType> createAddress(AbstractAddressType value) { +        return new JAXBElement<AbstractAddressType>(_Address_QNAME, AbstractAddressType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PhysicalPerson", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") +    public JAXBElement<PhysicalPersonType> createPhysicalPerson(PhysicalPersonType value) { +        return new JAXBElement<PhysicalPersonType>(_PhysicalPerson_QNAME, PhysicalPersonType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "AbstractPersonData") +    public JAXBElement<AbstractPersonType> createAbstractPersonData(AbstractPersonType value) { +        return new JAXBElement<AbstractPersonType>(_AbstractPersonData_QNAME, AbstractPersonType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "CorporateBody", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Person") +    public JAXBElement<CorporateBodyType> createCorporateBody(CorporateBodyType value) { +        return new JAXBElement<CorporateBodyType>(_CorporateBody_QNAME, CorporateBodyType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "Person") +    public JAXBElement<AbstractPersonType> createPerson(AbstractPersonType value) { +        return new JAXBElement<AbstractPersonType>(_Person_QNAME, AbstractPersonType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link PersonDataType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PersonData") +    public JAXBElement<PersonDataType> createPersonData(PersonDataType value) { +        return new JAXBElement<PersonDataType>(_PersonData_QNAME, PersonDataType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "PostalAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") +    public JAXBElement<PostalAddressType> createPostalAddress(PostalAddressType value) { +        return new JAXBElement<PostalAddressType>(_PostalAddress_QNAME, PostalAddressType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "TelephoneAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") +    public JAXBElement<TelephoneAddressType> createTelephoneAddress(TelephoneAddressType value) { +        return new JAXBElement<TelephoneAddressType>(_TelephoneAddress_QNAME, TelephoneAddressType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "InternetAddress", substitutionHeadNamespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", substitutionHeadName = "Address") +    public JAXBElement<InternetAddressType> createInternetAddress(InternetAddressType value) { +        return new JAXBElement<InternetAddressType>(_InternetAddress_QNAME, InternetAddressType.class, null, value); +    } + +    /** +     * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} +     *  +     */ +    @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", name = "FormattedNumber") +    public JAXBElement<String> createFormattedNumber(String value) { +        return new JAXBElement<String>(_FormattedNumber_QNAME, String.class, null, value); +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PersonDataType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonDataType.java new file mode 100644 index 0000000..e429cc8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonDataType.java @@ -0,0 +1,107 @@ + +package at.gv.util.xsd.mzs.persondata; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; +import javax.xml.bind.annotation.XmlType; + + +/** + * signed person datastructure. The first Identification elements (from the base type) denote the record as such (e.g. database key for this record) - not to be mistaken for identifiers of the person or of an address (they have their own Identification elements). + *  + * <p>Java class for PersonDataType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="PersonDataType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Person"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Address" maxOccurs="unbounded" minOccurs="0"/> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonDataType", propOrder = { +    "person", +    "address" +}) +public class PersonDataType { + +    @XmlElementRef(name = "Person", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) +    protected JAXBElement<? extends AbstractPersonType> person; +    @XmlElementRef(name = "Address", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", type = JAXBElement.class) +    protected List<JAXBElement<? extends AbstractAddressType>> address; + +    /** +     * Gets the value of the person property. +     *  +     * @return +     *     possible object is +     *     {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} +     *     {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} +     *     {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} +     *      +     */ +    public JAXBElement<? extends AbstractPersonType> getPerson() { +        return person; +    } + +    /** +     * Sets the value of the person property. +     *  +     * @param value +     *     allowed object is +     *     {@link JAXBElement }{@code <}{@link PhysicalPersonType }{@code >} +     *     {@link JAXBElement }{@code <}{@link AbstractPersonType }{@code >} +     *     {@link JAXBElement }{@code <}{@link CorporateBodyType }{@code >} +     *      +     */ +    public void setPerson(JAXBElement<? extends AbstractPersonType> value) { +        this.person = ((JAXBElement<? extends AbstractPersonType> ) value); +    } + +    /** +     * Gets the value of the address 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 address property. +     *  +     * <p> +     * For example, to add a new item, do as follows: +     * <pre> +     *    getAddress().add(newItem); +     * </pre> +     *  +     *  +     * <p> +     * Objects of the following type(s) are allowed in the list +     * {@link JAXBElement }{@code <}{@link AbstractAddressType }{@code >} +     * {@link JAXBElement }{@code <}{@link PostalAddressType }{@code >} +     * {@link JAXBElement }{@code <}{@link TelephoneAddressType }{@code >} +     * {@link JAXBElement }{@code <}{@link InternetAddressType }{@code >} +     *  +     *  +     */ +    public List<JAXBElement<? extends AbstractAddressType>> getAddress() { +        if (address == null) { +            address = new ArrayList<JAXBElement<? extends AbstractAddressType>>(); +        } +        return this.address; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonNameType.java new file mode 100644 index 0000000..59c9dc3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PersonNameType.java @@ -0,0 +1,227 @@ + +package at.gv.util.xsd.mzs.persondata; + +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.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <p>Java class for PersonNameType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="PersonNameType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string"/> + *         <element name="FamilyName"> + *           <complexType> + *             <simpleContent> + *               <extension base="<http://www.w3.org/2001/XMLSchema>string"> + *                 <attribute name="primary" default="undefined"> + *                   <simpleType> + *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + *                       <enumeration value="true"/> + *                       <enumeration value="false"/> + *                       <enumeration value="undefined"/> + *                     </restriction> + *                   </simpleType> + *                 </attribute> + *                 <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> + *               </extension> + *             </simpleContent> + *           </complexType> + *         </element> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PersonNameType", propOrder = { +    "givenName", +    "familyName" +}) +public class PersonNameType { + +    @XmlElement(name = "GivenName", required = true) +    protected String givenName; +    @XmlElement(name = "FamilyName", required = true) +    protected PersonNameType.FamilyName familyName; + +    /** +     * Gets the value of the givenName property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getGivenName() { +        return givenName; +    } + +    /** +     * Sets the value of the givenName property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setGivenName(String value) { +        this.givenName = value; +    } + +    /** +     * Gets the value of the familyName property. +     *  +     * @return +     *     possible object is +     *     {@link PersonNameType.FamilyName } +     *      +     */ +    public PersonNameType.FamilyName getFamilyName() { +        return familyName; +    } + +    /** +     * Sets the value of the familyName property. +     *  +     * @param value +     *     allowed object is +     *     {@link PersonNameType.FamilyName } +     *      +     */ +    public void setFamilyName(PersonNameType.FamilyName value) { +        this.familyName = value; +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <simpleContent> +     *     <extension base="<http://www.w3.org/2001/XMLSchema>string"> +     *       <attribute name="primary" default="undefined"> +     *         <simpleType> +     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string"> +     *             <enumeration value="true"/> +     *             <enumeration value="false"/> +     *             <enumeration value="undefined"/> +     *           </restriction> +     *         </simpleType> +     *       </attribute> +     *       <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> +     *     </extension> +     *   </simpleContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "value" +    }) +    public static class FamilyName { + +        @XmlValue +        protected String value; +        @XmlAttribute +        protected String primary; +        @XmlAttribute +        protected String prefix; + +        /** +         * Gets the value of the value property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getValue() { +            return value; +        } + +        /** +         * Sets the value of the value property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setValue(String value) { +            this.value = value; +        } + +        /** +         * Gets the value of the primary property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getPrimary() { +            if (primary == null) { +                return "undefined"; +            } else { +                return primary; +            } +        } + +        /** +         * Sets the value of the primary property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setPrimary(String value) { +            this.primary = value; +        } + +        /** +         * Gets the value of the prefix property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getPrefix() { +            return prefix; +        } + +        /** +         * Sets the value of the prefix property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setPrefix(String value) { +            this.prefix = value; +        } + +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PhysicalPersonType.java new file mode 100644 index 0000000..015f0aa --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PhysicalPersonType.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.mzs.persondata; + +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 javax.xml.datatype.XMLGregorianCalendar; + + +/** + * physical person + *  + * <p>Java class for PhysicalPersonType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="PhysicalPersonType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractPersonType"> + *       <sequence minOccurs="0"> + *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}Name"/> + *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DateOfBirth" minOccurs="0"/> + *       </sequence> + *       <anyAttribute namespace='##other'/> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PhysicalPersonType", propOrder = { +    "name", +    "dateOfBirth" +}) +public class PhysicalPersonType +    extends AbstractPersonType +{ + +    @XmlElement(name = "Name") +    protected PersonNameType name; +    @XmlElement(name = "DateOfBirth") +    @XmlSchemaType(name = "date") +    protected XMLGregorianCalendar dateOfBirth; + +    /** +     * Gets the value of the name property. +     *  +     * @return +     *     possible object is +     *     {@link PersonNameType } +     *      +     */ +    public PersonNameType getName() { +        return name; +    } + +    /** +     * Sets the value of the name property. +     *  +     * @param value +     *     allowed object is +     *     {@link PersonNameType } +     *      +     */ +    public void setName(PersonNameType value) { +        this.name = value; +    } + +    /** +     * Gets the value of the dateOfBirth property. +     *  +     * @return +     *     possible object is +     *     {@link XMLGregorianCalendar } +     *      +     */ +    public XMLGregorianCalendar getDateOfBirth() { +        return dateOfBirth; +    } + +    /** +     * Sets the value of the dateOfBirth property. +     *  +     * @param value +     *     allowed object is +     *     {@link XMLGregorianCalendar } +     *      +     */ +    public void setDateOfBirth(XMLGregorianCalendar value) { +        this.dateOfBirth = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/PostalAddressType.java new file mode 100644 index 0000000..78071e6 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/PostalAddressType.java @@ -0,0 +1,307 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for PostalAddressType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="PostalAddressType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + *       <sequence> + *         <element name="CountryCode" minOccurs="0"> + *           <simpleType> + *             <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + *               <pattern value="[A-Z]{2}"/> + *             </restriction> + *           </simpleType> + *         </element> + *         <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string"/> + *         <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string"/> + *         <element name="DeliveryAddress"> + *           <complexType> + *             <complexContent> + *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *                 <sequence> + *                   <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> + *                   <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> + *                   <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + *                   <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + *                 </sequence> + *               </restriction> + *             </complexContent> + *           </complexType> + *         </element> + *       </sequence> + *       <anyAttribute namespace='##other'/> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PostalAddressType", propOrder = { +    "countryCode", +    "postalCode", +    "municipality", +    "deliveryAddress" +}) +public class PostalAddressType +    extends AbstractAddressType +{ + +    @XmlElement(name = "CountryCode") +    protected String countryCode; +    @XmlElement(name = "PostalCode", required = true) +    protected String postalCode; +    @XmlElement(name = "Municipality", required = true) +    protected String municipality; +    @XmlElement(name = "DeliveryAddress", required = true) +    protected PostalAddressType.DeliveryAddress deliveryAddress; + +    /** +     * Gets the value of the countryCode property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getCountryCode() { +        return countryCode; +    } + +    /** +     * Sets the value of the countryCode property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setCountryCode(String value) { +        this.countryCode = value; +    } + +    /** +     * Gets the value of the postalCode property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getPostalCode() { +        return postalCode; +    } + +    /** +     * Sets the value of the postalCode property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setPostalCode(String value) { +        this.postalCode = value; +    } + +    /** +     * Gets the value of the municipality property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getMunicipality() { +        return municipality; +    } + +    /** +     * Sets the value of the municipality property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setMunicipality(String value) { +        this.municipality = value; +    } + +    /** +     * Gets the value of the deliveryAddress property. +     *  +     * @return +     *     possible object is +     *     {@link PostalAddressType.DeliveryAddress } +     *      +     */ +    public PostalAddressType.DeliveryAddress getDeliveryAddress() { +        return deliveryAddress; +    } + +    /** +     * Sets the value of the deliveryAddress property. +     *  +     * @param value +     *     allowed object is +     *     {@link PostalAddressType.DeliveryAddress } +     *      +     */ +    public void setDeliveryAddress(PostalAddressType.DeliveryAddress value) { +        this.deliveryAddress = value; +    } + + +    /** +     * <p>Java class for anonymous complex type. +     *  +     * <p>The following schema fragment specifies the expected content contained within this class. +     *  +     * <pre> +     * <complexType> +     *   <complexContent> +     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> +     *       <sequence> +     *         <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string"/> +     *         <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> +     *         <element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> +     *         <element name="DoorNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> +     *       </sequence> +     *     </restriction> +     *   </complexContent> +     * </complexType> +     * </pre> +     *  +     *  +     */ +    @XmlAccessorType(XmlAccessType.FIELD) +    @XmlType(name = "", propOrder = { +        "streetName", +        "buildingNumber", +        "unit", +        "doorNumber" +    }) +    public static class DeliveryAddress { + +        @XmlElement(name = "StreetName", required = true) +        protected String streetName; +        @XmlElement(name = "BuildingNumber", required = true) +        protected String buildingNumber; +        @XmlElement(name = "Unit") +        protected String unit; +        @XmlElement(name = "DoorNumber") +        protected String doorNumber; + +        /** +         * Gets the value of the streetName property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getStreetName() { +            return streetName; +        } + +        /** +         * Sets the value of the streetName property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setStreetName(String value) { +            this.streetName = value; +        } + +        /** +         * Gets the value of the buildingNumber property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getBuildingNumber() { +            return buildingNumber; +        } + +        /** +         * Sets the value of the buildingNumber property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setBuildingNumber(String value) { +            this.buildingNumber = value; +        } + +        /** +         * Gets the value of the unit property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getUnit() { +            return unit; +        } + +        /** +         * Sets the value of the unit property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setUnit(String value) { +            this.unit = value; +        } + +        /** +         * Gets the value of the doorNumber property. +         *  +         * @return +         *     possible object is +         *     {@link String } +         *      +         */ +        public String getDoorNumber() { +            return doorNumber; +        } + +        /** +         * Sets the value of the doorNumber property. +         *  +         * @param value +         *     allowed object is +         *     {@link String } +         *      +         */ +        public void setDoorNumber(String value) { +            this.doorNumber = value; +        } + +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/TelcomNumberType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/TelcomNumberType.java new file mode 100644 index 0000000..490b3e8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/TelcomNumberType.java @@ -0,0 +1,62 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for TelcomNumberType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="TelcomNumberType"> + *   <complexContent> + *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + *       <sequence> + *         <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}FormattedNumber"/> + *       </sequence> + *     </restriction> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelcomNumberType", propOrder = { +    "formattedNumber" +}) +public class TelcomNumberType { + +    @XmlElement(name = "FormattedNumber", required = true) +    protected String formattedNumber; + +    /** +     * Gets the value of the formattedNumber property. +     *  +     * @return +     *     possible object is +     *     {@link String } +     *      +     */ +    public String getFormattedNumber() { +        return formattedNumber; +    } + +    /** +     * Sets the value of the formattedNumber property. +     *  +     * @param value +     *     allowed object is +     *     {@link String } +     *      +     */ +    public void setFormattedNumber(String value) { +        this.formattedNumber = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/TelephoneAddressType.java b/src/main/java/at/gv/util/xsd/mzs/persondata/TelephoneAddressType.java new file mode 100644 index 0000000..9e59fc8 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/TelephoneAddressType.java @@ -0,0 +1,67 @@ + +package at.gv.util.xsd.mzs.persondata; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * phone numbers + *  + * <p>Java class for TelephoneAddressType complex type. + *  + * <p>The following schema fragment specifies the expected content contained within this class. + *  + * <pre> + * <complexType name="TelephoneAddressType"> + *   <complexContent> + *     <extension base="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AbstractAddressType"> + *       <sequence> + *         <element name="Number" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}TelcomNumberType"/> + *       </sequence> + *       <anyAttribute namespace='##other'/> + *     </extension> + *   </complexContent> + * </complexType> + * </pre> + *  + *  + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TelephoneAddressType", propOrder = { +    "number" +}) +public class TelephoneAddressType +    extends AbstractAddressType +{ + +    @XmlElement(name = "Number", required = true) +    protected TelcomNumberType number; + +    /** +     * Gets the value of the number property. +     *  +     * @return +     *     possible object is +     *     {@link TelcomNumberType } +     *      +     */ +    public TelcomNumberType getNumber() { +        return number; +    } + +    /** +     * Sets the value of the number property. +     *  +     * @param value +     *     allowed object is +     *     {@link TelcomNumberType } +     *      +     */ +    public void setNumber(TelcomNumberType value) { +        this.number = value; +    } + +} diff --git a/src/main/java/at/gv/util/xsd/mzs/persondata/package-info.java b/src/main/java/at/gv/util/xsd/mzs/persondata/package-info.java new file mode 100644 index 0000000..f01caea --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mzs/persondata/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mzs.persondata; | 
