From 567c12ed55ad309aea3dc8edad7c86318f3d34be Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 2 Sep 2021 14:15:59 +0200 Subject: add new JaxB classes for PVP SOAP headers --- generatesources.bat | 4 +- .../java/at/gv/util/xsd/szr/ObjectFactory.java | 323 ------------------ src/main/java/at/gv/util/xsd/szr/package-info.java | 2 - .../java/at/gv/util/xsd/szr/pvp/DebugTicket.java | 64 ++++ .../java/at/gv/util/xsd/szr/pvp/ObjectFactory.java | 14 +- src/main/java/at/gv/util/xsd/szr/pvp/Param.java | 20 +- .../at/gv/util/xsd/szr/pvp/PvpPrincipalType.java | 28 +- .../java/at/gv/util/xsd/szr/pvp/PvpTokenType.java | 376 ++++++++++----------- src/main/java/at/gv/util/xsd/szr/pvp/Role.java | 22 +- .../java/at/gv/util/xsd/szr/pvp/sec/Security.java | 18 +- .../java/at/gv/util/xsd/szr/pvp19/DebugTicket.java | 64 ++++ .../at/gv/util/xsd/szr/pvp19/ObjectFactory.java | 22 +- 12 files changed, 381 insertions(+), 576 deletions(-) delete mode 100644 src/main/java/at/gv/util/xsd/szr/ObjectFactory.java delete mode 100644 src/main/java/at/gv/util/xsd/szr/package-info.java create mode 100644 src/main/java/at/gv/util/xsd/szr/pvp/DebugTicket.java create mode 100644 src/main/java/at/gv/util/xsd/szr/pvp19/DebugTicket.java diff --git a/generatesources.bat b/generatesources.bat index f225d01..bcd9f88 100644 --- a/generatesources.bat +++ b/generatesources.bat @@ -33,7 +33,7 @@ REM "%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/custom-binding REM "%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/custom-bindings/ur_V5-wsdl.xml -b ./src/main/resources/wsdl/custom-bindings/ur_V5-schemas.xml -d ./wsdlsources -encoding utf-8 ./src/main/resources/wsdl/ur_V5/URSucheService.wsdl -"%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/custom-bindings/ur_V7-wsdl.xml -b ./src/main/resources/wsdl/custom-bindings/ur_V7-schemas.xml -d ./wsdlsources -encoding utf-8 ./src/main/resources/wsdl/ur_V7/URSucheService.wsdl +REM "%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/custom-bindings/ur_V7-wsdl.xml -b ./src/main/resources/wsdl/custom-bindings/ur_V7-schemas.xml -d ./wsdlsources -encoding utf-8 ./src/main/resources/wsdl/ur_V7/URSucheService.wsdl REM "%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/custom-bindings/ersb-wsdl.xml -b ./src/main/resources/wsdl/custom-bindings/ersb-schemas.xml -d ./wsdlsources -encoding utf-8 ./src/main/resources/wsdl/ERsB/1.1/ErsbService.wsdl @@ -46,4 +46,4 @@ REM "%APACHE_CXF%\bin\wsdl2java.bat" -b xmlbeans -b ./src/main/resources/wsdl/cu REM "%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.xsd -b ./src/main/resources/wsdl/custom-bindings/mis_v2-wsdl.xml -b ./src/main/resources/wsdl/custom-bindings/mis_v2-schemas.xml -encoding utf-8 -d ./wsdlsources ./src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.wsdl -REM "%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/custom-bindings/szr_v4.0-wsdl.xml -b ./src/main/resources/wsdl/custom-bindings/szr_v4.0-schemas.xml -b ./src/main/resources/wsdl/szr_v4/pvp19.xsd -b ./src/main/resources/wsdl/szr_v4/szr_pvp_sec.xsd -encoding utf-8 -d ./wsdlsources ./src/main/resources/wsdl/szr_v4/SZR_v4.0.wsdl +"%APACHE_CXF%\bin\wsdl2java.bat" -b ./src/main/resources/wsdl/custom-bindings/szr_v4.0-wsdl.xml -b ./src/main/resources/wsdl/custom-bindings/szr_v4.0-schemas.xml -b ./src/main/resources/wsdl/szr_v4/pvp19.xsd -b ./src/main/resources/wsdl/szr_v4/szr_pvp_sec.xsd -encoding utf-8 -d ./wsdlsources ./src/main/resources/wsdl/szr_v4/SZR_v4.0.wsdl diff --git a/src/main/java/at/gv/util/xsd/szr/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/ObjectFactory.java deleted file mode 100644 index 82d6335..0000000 --- a/src/main/java/at/gv/util/xsd/szr/ObjectFactory.java +++ /dev/null @@ -1,323 +0,0 @@ - -package at.gv.util.xsd.szr; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -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.szr package. - *

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 _SZRException_QNAME = new QName("urn:SZRServices", "SZRException"); - private final static QName _GetVersion_QNAME = new QName("urn:SZRServices", "GetVersion"); - private final static QName _PersonInfoTypeTravelDocument_QNAME = new QName("urn:SZRServices", "TravelDocument"); - private final static QName _PersonInfoTypeDateOfBirthWildcard_QNAME = new QName("urn:SZRServices", "DateOfBirthWildcard"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link GetBPKKombiResponseType } - * - */ - public GetBPKKombiResponseType createGetBPKKombiResponseType() { - return new GetBPKKombiResponseType(); - } - - /** - * Create an instance of {@link GetStammzahlResponse } - * - */ - public GetStammzahlResponse createGetStammzahlResponse() { - return new GetStammzahlResponse(); - } - - /** - * Create an instance of {@link ValidateIdentityLinkResponse } - * - */ - public ValidateIdentityLinkResponse createValidateIdentityLinkResponse() { - return new ValidateIdentityLinkResponse(); - } - - /** - * Create an instance of {@link GetBPKKombi } - * - */ - public GetBPKKombi createGetBPKKombi() { - return new GetBPKKombi(); - } - - /** - * Create an instance of {@link GetBPKKombiRequestType } - * - */ - public GetBPKKombiRequestType createGetBPKKombiRequestType() { - return new GetBPKKombiRequestType(); - } - - /** - * Create an instance of {@link GetIdentityLink } - * - */ - public GetIdentityLink createGetIdentityLink() { - return new GetIdentityLink(); - } - - /** - * Create an instance of {@link PersonInfoType } - * - */ - public PersonInfoType createPersonInfoType() { - return new PersonInfoType(); - } - - /** - * Create an instance of {@link ValidateIdentityLink } - * - */ - public ValidateIdentityLink createValidateIdentityLink() { - return new ValidateIdentityLink(); - } - - /** - * Create an instance of {@link IdentityLinkType } - * - */ - public IdentityLinkType createIdentityLinkType() { - return new IdentityLinkType(); - } - - /** - * Create an instance of {@link BasiszahlZuBPKResponse } - * - */ - public BasiszahlZuBPKResponse createBasiszahlZuBPKResponse() { - return new BasiszahlZuBPKResponse(); - } - - /** - * Create an instance of {@link BasiszahlZuBPKReturnType } - * - */ - public BasiszahlZuBPKReturnType createBasiszahlZuBPKReturnType() { - return new BasiszahlZuBPKReturnType(); - } - - /** - * Create an instance of {@link BasiszahlZuBPK } - * - */ - public BasiszahlZuBPK createBasiszahlZuBPK() { - return new BasiszahlZuBPK(); - } - - /** - * Create an instance of {@link FremdBPKRequestType } - * - */ - public FremdBPKRequestType createFremdBPKRequestType() { - return new FremdBPKRequestType(); - } - - /** - * Create an instance of {@link BPKzuBasiszahl } - * - */ - public BPKzuBasiszahl createBPKzuBasiszahl() { - return new BPKzuBasiszahl(); - } - - /** - * Create an instance of {@link ZMRAnwendungsIntegration } - * - */ - public ZMRAnwendungsIntegration createZMRAnwendungsIntegration() { - return new ZMRAnwendungsIntegration(); - } - - /** - * Create an instance of {@link GetBPKKombiResponse } - * - */ - public GetBPKKombiResponse createGetBPKKombiResponse() { - return new GetBPKKombiResponse(); - } - - /** - * Create an instance of {@link SZRException } - * - */ - public SZRException createSZRException() { - return new SZRException(); - } - - /** - * Create an instance of {@link ZMRAnwendungsIntegrationResponse } - * - */ - public ZMRAnwendungsIntegrationResponse createZMRAnwendungsIntegrationResponse() { - return new ZMRAnwendungsIntegrationResponse(); - } - - /** - * Create an instance of {@link ZMRAnwendungsIntegrationReturnType } - * - */ - public ZMRAnwendungsIntegrationReturnType createZMRAnwendungsIntegrationReturnType() { - return new ZMRAnwendungsIntegrationReturnType(); - } - - /** - * Create an instance of {@link TransformBPK } - * - */ - public TransformBPK createTransformBPK() { - return new TransformBPK(); - } - - /** - * Create an instance of {@link TransformBPKResponse } - * - */ - public TransformBPKResponse createTransformBPKResponse() { - return new TransformBPKResponse(); - } - - /** - * Create an instance of {@link FremdBPKType } - * - */ - public FremdBPKType createFremdBPKType() { - return new FremdBPKType(); - } - - /** - * Create an instance of {@link GetStammzahl } - * - */ - public GetStammzahl createGetStammzahl() { - return new GetStammzahl(); - } - - /** - * Create an instance of {@link BPKzuBasiszahlResponse } - * - */ - public BPKzuBasiszahlResponse createBPKzuBasiszahlResponse() { - return new BPKzuBasiszahlResponse(); - } - - /** - * Create an instance of {@link GetBPKResponse } - * - */ - public GetBPKResponse createGetBPKResponse() { - return new GetBPKResponse(); - } - - /** - * Create an instance of {@link GetBPK } - * - */ - public GetBPK createGetBPK() { - return new GetBPK(); - } - - /** - * Create an instance of {@link GetVersionResponse } - * - */ - public GetVersionResponse createGetVersionResponse() { - return new GetVersionResponse(); - } - - /** - * Create an instance of {@link GetIdentityLinkResponse } - * - */ - public GetIdentityLinkResponse createGetIdentityLinkResponse() { - return new GetIdentityLinkResponse(); - } - - /** - * Create an instance of {@link AddressCodesType } - * - */ - public AddressCodesType createAddressCodesType() { - return new AddressCodesType(); - } - - /** - * Create an instance of {@link TravelDocumentType } - * - */ - public TravelDocumentType createTravelDocumentType() { - return new TravelDocumentType(); - } - - /** - * Create an instance of {@link GetBPKKombiResponseType.ResultRecord } - * - */ - public GetBPKKombiResponseType.ResultRecord createGetBPKKombiResponseTypeResultRecord() { - return new GetBPKKombiResponseType.ResultRecord(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SZRException }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:SZRServices", name = "SZRException") - public JAXBElement createSZRException(SZRException value) { - return new JAXBElement(_SZRException_QNAME, SZRException.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:SZRServices", name = "GetVersion") - public JAXBElement createGetVersion(Object value) { - return new JAXBElement(_GetVersion_QNAME, Object.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TravelDocumentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:SZRServices", name = "TravelDocument", scope = PersonInfoType.class) - public JAXBElement createPersonInfoTypeTravelDocument(TravelDocumentType value) { - return new JAXBElement(_PersonInfoTypeTravelDocument_QNAME, TravelDocumentType.class, PersonInfoType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "urn:SZRServices", name = "DateOfBirthWildcard", scope = PersonInfoType.class) - public JAXBElement createPersonInfoTypeDateOfBirthWildcard(Boolean value) { - return new JAXBElement(_PersonInfoTypeDateOfBirthWildcard_QNAME, Boolean.class, PersonInfoType.class, value); - } - -} diff --git a/src/main/java/at/gv/util/xsd/szr/package-info.java b/src/main/java/at/gv/util/xsd/szr/package-info.java deleted file mode 100644 index d3ee2d6..0000000 --- a/src/main/java/at/gv/util/xsd/szr/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "urn:SZRServices", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) -package at.gv.util.xsd.szr; diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/DebugTicket.java b/src/main/java/at/gv/util/xsd/szr/pvp/DebugTicket.java new file mode 100644 index 0000000..c7f3e4b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp/DebugTicket.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr.pvp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java-Klasse für anonymous complex type. + * + *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="txid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "txid" +}) +@XmlRootElement(name = "debug-ticket") +public class DebugTicket { + + @XmlElement(required = true) + protected String txid; + + /** + * Ruft den Wert der txid-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTxid() { + return txid; + } + + /** + * Legt den Wert der txid-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTxid(String value) { + this.txid = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java index d0e577b..39455f7 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp/ObjectFactory.java @@ -58,11 +58,11 @@ public class ObjectFactory { } /** - * Create an instance of {@link Param } + * Create an instance of {@link DebugTicket } * */ - public Param createParam() { - return new Param(); + public DebugTicket createDebugTicket() { + return new DebugTicket(); } /** @@ -73,6 +73,14 @@ public class ObjectFactory { return new Role(); } + /** + * Create an instance of {@link Param } + * + */ + public Param createParam() { + return new Param(); + } + /** * Create an instance of {@link PvpPrincipalType } * diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/Param.java b/src/main/java/at/gv/util/xsd/szr/pvp/Param.java index 5d56d55..a721bae 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp/Param.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp/Param.java @@ -14,16 +14,16 @@ import javax.xml.bind.annotation.XmlType; *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
  * 
* * diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java b/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java index b5f10d6..2db5148 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp/PvpPrincipalType.java @@ -19,20 +19,20 @@ import javax.xml.namespace.QName; *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

- * <complexType name="pvpPrincipalType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="cn" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="gvOuId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="ou" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="gvSecClass" type="{http://egov.gv.at/pvp1.xsd}gvSecClassType" minOccurs="0"/>
- *       </sequence>
- *       <anyAttribute processContents='lax'/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
+ * <complexType name="pvpPrincipalType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="cn" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="gvOuId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="ou" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="gvSecClass" type="{http://egov.gv.at/pvp1.xsd}gvSecClassType" minOccurs="0"/>
+ *       </sequence>
+ *       <anyAttribute processContents='lax'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
  * 
* * diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java b/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java index 297bccc..7e36c5f 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp/PvpTokenType.java @@ -23,97 +23,97 @@ import org.w3c.dom.Element; *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

- * <complexType name="pvpTokenType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="authenticate">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *                   <choice>
- *                     <element name="userPrincipal">
- *                       <complexType>
- *                         <complexContent>
- *                           <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
- *                             <sequence>
- *                               <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                               <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *                             </sequence>
- *                             <anyAttribute processContents='lax'/>
- *                           </extension>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/>
- *                   </choice>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="authorize" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/>
- *                   <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="accounting" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   <element name="gvCostCenterId" maxOccurs="unbounded">
- *                     <complexType>
- *                       <simpleContent>
- *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
- *                           <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- *                         </extension>
- *                       </simpleContent>
- *                     </complexType>
- *                   </element>
- *                   <element name="gvChargeCode" maxOccurs="unbounded">
- *                     <complexType>
- *                       <simpleContent>
- *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
- *                           <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
- *                         </extension>
- *                       </simpleContent>
- *                     </complexType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="pvpChainedToken" type="{http://egov.gv.at/pvp1.xsd}pvpTokenType" minOccurs="0"/>
- *         <element name="pvpExtension" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <any processContents='lax' maxOccurs="unbounded"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *       <attribute name="version" use="required" type="{http://egov.gv.at/pvp1.xsd}gvVersionType" />
- *       <anyAttribute processContents='lax'/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
+ * <complexType name="pvpTokenType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="authenticate">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                   <choice>
+ *                     <element name="userPrincipal">
+ *                       <complexType>
+ *                         <complexContent>
+ *                           <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
+ *                             <sequence>
+ *                               <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                               <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *                             </sequence>
+ *                             <anyAttribute processContents='lax'/>
+ *                           </extension>
+ *                         </complexContent>
+ *                       </complexType>
+ *                     </element>
+ *                     <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/>
+ *                   </choice>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="authorize" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/>
+ *                   <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="accounting" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *                   <element name="gvCostCenterId" maxOccurs="unbounded">
+ *                     <complexType>
+ *                       <simpleContent>
+ *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                           <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *                         </extension>
+ *                       </simpleContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="gvChargeCode" maxOccurs="unbounded">
+ *                     <complexType>
+ *                       <simpleContent>
+ *                         <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                           <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *                         </extension>
+ *                       </simpleContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="pvpChainedToken" type="{http://egov.gv.at/pvp1.xsd}pvpTokenType" minOccurs="0"/>
+ *         <element name="pvpExtension" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='lax' maxOccurs="unbounded"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *       <attribute name="version" use="required" type="{http://egov.gv.at/pvp1.xsd}gvVersionType" />
+ *       <anyAttribute processContents='lax'/>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
  * 
* * @@ -308,33 +308,33 @@ public class PvpTokenType { *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         <element name="gvCostCenterId" maxOccurs="unbounded">
-     *           <complexType>
-     *             <simpleContent>
-     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
-     *                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
-     *               </extension>
-     *             </simpleContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="gvChargeCode" maxOccurs="unbounded">
-     *           <complexType>
-     *             <simpleContent>
-     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
-     *                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
-     *               </extension>
-     *             </simpleContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="invoiceRecptId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         <element name="gvCostCenterId" maxOccurs="unbounded">
+     *           <complexType>
+     *             <simpleContent>
+     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+     *               </extension>
+     *             </simpleContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="gvChargeCode" maxOccurs="unbounded">
+     *           <complexType>
+     *             <simpleContent>
+     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *                 <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+     *               </extension>
+     *             </simpleContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
      * 
* * @@ -443,13 +443,13 @@ public class PvpTokenType { *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-         * <complexType>
-         *   <simpleContent>
-         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
-         *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
-         *     </extension>
-         *   </simpleContent>
-         * </complexType>
+         * <complexType>
+         *   <simpleContent>
+         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+         *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+         *     </extension>
+         *   </simpleContent>
+         * </complexType>
          * 
* * @@ -526,13 +526,13 @@ public class PvpTokenType { *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-         * <complexType>
-         *   <simpleContent>
-         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
-         *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
-         *     </extension>
-         *   </simpleContent>
-         * </complexType>
+         * <complexType>
+         *   <simpleContent>
+         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+         *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+         *     </extension>
+         *   </simpleContent>
+         * </complexType>
          * 
* * @@ -611,32 +611,32 @@ public class PvpTokenType { *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
-     *         <choice>
-     *           <element name="userPrincipal">
-     *             <complexType>
-     *               <complexContent>
-     *                 <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
-     *                   <sequence>
-     *                     <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *                     <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
-     *                   </sequence>
-     *                   <anyAttribute processContents='lax'/>
-     *                 </extension>
-     *               </complexContent>
-     *             </complexType>
-     *           </element>
-     *           <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/>
-     *         </choice>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="participantId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *         <element name="gvOuDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *         <choice>
+     *           <element name="userPrincipal">
+     *             <complexType>
+     *               <complexContent>
+     *                 <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
+     *                   <sequence>
+     *                     <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+     *                     <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+     *                   </sequence>
+     *                   <anyAttribute processContents='lax'/>
+     *                 </extension>
+     *               </complexContent>
+     *             </complexType>
+     *           </element>
+     *           <element name="systemPrincipal" type="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType"/>
+     *         </choice>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
      * 
* * @@ -759,17 +759,17 @@ public class PvpTokenType { *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-         * <complexType>
-         *   <complexContent>
-         *     <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
-         *       <sequence>
-         *         <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
-         *         <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
-         *       </sequence>
-         *       <anyAttribute processContents='lax'/>
-         *     </extension>
-         *   </complexContent>
-         * </complexType>
+         * <complexType>
+         *   <complexContent>
+         *     <extension base="{http://egov.gv.at/pvp1.xsd}pvpPrincipalType">
+         *       <sequence>
+         *         <element name="gvGid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+         *         <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+         *       </sequence>
+         *       <anyAttribute processContents='lax'/>
+         *     </extension>
+         *   </complexContent>
+         * </complexType>
          * 
* * @@ -846,16 +846,16 @@ public class PvpTokenType { *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/>
-     *         <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element ref="{http://egov.gv.at/pvp1.xsd}role" maxOccurs="unbounded"/>
+     *         <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
      * 
* * @@ -933,15 +933,15 @@ public class PvpTokenType { *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <any processContents='lax' maxOccurs="unbounded"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='lax' maxOccurs="unbounded"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
      * 
* * diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/Role.java b/src/main/java/at/gv/util/xsd/szr/pvp/Role.java index efdfcac..d429877 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp/Role.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp/Role.java @@ -17,17 +17,17 @@ import javax.xml.bind.annotation.XmlType; *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{http://egov.gv.at/pvp1.xsd}param" maxOccurs="unbounded"/>
- *         <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
- *       </sequence>
- *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://egov.gv.at/pvp1.xsd}param" maxOccurs="unbounded"/>
+ *         <element name="dummy" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
  * 
* * diff --git a/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java b/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java index 42a3d37..04c86ba 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp/sec/Security.java @@ -15,15 +15,15 @@ import at.gv.util.xsd.szr.pvp.PvpTokenType; *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{http://egov.gv.at/pvp1.xsd}pvpToken"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element ref="{http://egov.gv.at/pvp1.xsd}pvpToken"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
  * 
* * diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/DebugTicket.java b/src/main/java/at/gv/util/xsd/szr/pvp19/DebugTicket.java new file mode 100644 index 0000000..c490518 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/DebugTicket.java @@ -0,0 +1,64 @@ + +package at.gv.util.xsd.szr.pvp19; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java-Klasse für anonymous complex type. + * + *

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="txid" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "txid" +}) +@XmlRootElement(name = "debug-ticket") +public class DebugTicket { + + @XmlElement(required = true) + protected String txid; + + /** + * Ruft den Wert der txid-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTxid() { + return txid; + } + + /** + * Legt den Wert der txid-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTxid(String value) { + this.txid = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/pvp19/ObjectFactory.java index 0c20144..e731d10 100644 --- a/src/main/java/at/gv/util/xsd/szr/pvp19/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/ObjectFactory.java @@ -1,10 +1,7 @@ package at.gv.util.xsd.szr.pvp19; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; /** @@ -24,7 +21,6 @@ import javax.xml.namespace.QName; @XmlRegistry public class ObjectFactory { - private final static QName _PvpToken_QNAME = new QName("http://egov.gv.at/pvp1.xsd", "pvpToken"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.pvp19 @@ -81,6 +77,14 @@ public class ObjectFactory { return new PvpTokenType.PvpExtension(); } + /** + * Create an instance of {@link DebugTicket } + * + */ + public DebugTicket createDebugTicket() { + return new DebugTicket(); + } + /** * Create an instance of {@link PvpPrincipalType } * @@ -104,15 +108,5 @@ public class ObjectFactory { public PvpTokenType.Authenticate.UserPrincipal createPvpTokenTypeAuthenticateUserPrincipal() { return new PvpTokenType.Authenticate.UserPrincipal(); } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link PvpTokenType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://egov.gv.at/pvp1.xsd", name = "pvpToken") - public JAXBElement createPvpToken(PvpTokenType value) { - return new JAXBElement(_PvpToken_QNAME, PvpTokenType.class, null, value); - } - } -- cgit v1.2.3