diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd')
9 files changed, 247 insertions, 140 deletions
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 5294758..7bf7837 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,41 +1,37 @@ 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; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the at.gv.util.xsd.szr.pvp19 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 + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.pvp19 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 _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 - * + * */ public ObjectFactory() { } /** * Create an instance of {@link PvpTokenType } - * + * */ public PvpTokenType createPvpTokenType() { return new PvpTokenType(); @@ -43,7 +39,7 @@ public class ObjectFactory { /** * Create an instance of {@link PvpTokenType.Authorize } - * + * */ public PvpTokenType.Authorize createPvpTokenTypeAuthorize() { return new PvpTokenType.Authorize(); @@ -51,7 +47,7 @@ public class ObjectFactory { /** * Create an instance of {@link PvpTokenType.Authenticate } - * + * */ public PvpTokenType.Authenticate createPvpTokenTypeAuthenticate() { return new PvpTokenType.Authenticate(); @@ -59,7 +55,7 @@ public class ObjectFactory { /** * Create an instance of {@link PvpToken } - * + * */ public PvpToken createPvpToken() { return new PvpToken(); @@ -67,7 +63,7 @@ public class ObjectFactory { /** * Create an instance of {@link PvpTokenType.Accounting } - * + * */ public PvpTokenType.Accounting createPvpTokenTypeAccounting() { return new PvpTokenType.Accounting(); @@ -75,7 +71,7 @@ public class ObjectFactory { /** * Create an instance of {@link PvpTokenType.PvpExtension } - * + * */ public PvpTokenType.PvpExtension createPvpTokenTypePvpExtension() { return new PvpTokenType.PvpExtension(); @@ -83,7 +79,7 @@ public class ObjectFactory { /** * Create an instance of {@link PvpPrincipalType } - * + * */ public PvpPrincipalType createPvpPrincipalType() { return new PvpPrincipalType(); @@ -91,7 +87,7 @@ public class ObjectFactory { /** * Create an instance of {@link PvpTokenType.Authorize.Role } - * + * */ public PvpTokenType.Authorize.Role createPvpTokenTypeAuthorizeRole() { return new PvpTokenType.Authorize.Role(); @@ -99,19 +95,10 @@ public class ObjectFactory { /** * Create an instance of {@link PvpTokenType.Authenticate.UserPrincipal } - * + * */ 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<PvpTokenType> createPvpToken(PvpTokenType value) { - return new JAXBElement<PvpTokenType>(_PvpToken_QNAME, PvpTokenType.class, null, value); - } - } diff --git a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedRequestType.java b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedRequestType.java index a9b2c85..ef19afd 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedRequestType.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedRequestType.java @@ -24,7 +24,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="StammzahlEncrypted" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType" minOccurs="0"/> * <element name="VKZ" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="Target" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> @@ -52,7 +52,7 @@ public class GetBPKFromStammzahlEncryptedRequestType { @XmlElement(name = "VKZ", required = true) protected String vkz; @XmlElement(name = "BereichsKennung") - protected String bereichsKennung; + protected List<String> bereichsKennung; @XmlElement(name = "Target") protected List<FremdBPKRequestType> target; @XmlAttribute(name = "key") @@ -132,27 +132,32 @@ public class GetBPKFromStammzahlEncryptedRequestType { } /** - * Ruft den Wert der bereichsKennung-Eigenschaft ab. + * Gets the value of the bereichsKennung 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 bereichsKennung property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBereichsKennung().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } * - * @return - * possible object is - * {@link String } - * - */ - public String getBereichsKennung() { - return bereichsKennung; - } - - /** - * Legt den Wert der bereichsKennung-Eigenschaft fest. * - * @param value - * allowed object is - * {@link String } - * */ - public void setBereichsKennung(String value) { - this.bereichsKennung = value; + public List<String> getBereichsKennung() { + if (bereichsKennung == null) { + bereichsKennung = new ArrayList<String>(); + } + return this.bereichsKennung; } /** diff --git a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java index 7435a21..b3bfa30 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKFromStammzahlEncryptedResponseType.java @@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="bPK" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="FremdBPK" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> * <element name="Fault" type="{urn:SZRServices}Fault" minOccurs="0"/> * </sequence> @@ -42,7 +42,7 @@ import javax.xml.bind.annotation.XmlType; public class GetBPKFromStammzahlEncryptedResponseType { @XmlElement(name = "bPK") - protected String bpk; + protected List<String> bpk; @XmlElement(name = "FremdBPK") protected List<FremdBPKType> fremdBPK; @XmlElement(name = "Fault") @@ -52,27 +52,32 @@ public class GetBPKFromStammzahlEncryptedResponseType { protected String key; /** - * Ruft den Wert der bpk-Eigenschaft ab. + * Gets the value of the bpk 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 bpk property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBPK().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } * - * @return - * possible object is - * {@link String } - * - */ - public String getBPK() { - return bpk; - } - - /** - * Legt den Wert der bpk-Eigenschaft fest. * - * @param value - * allowed object is - * {@link String } - * */ - public void setBPK(String value) { - this.bpk = value; + public List<String> getBPK() { + if (bpk == null) { + bpk = new ArrayList<String>(); + } + return this.bpk; } /** diff --git a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java index 3dc9734..b713ee7 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKs.java @@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="PersonInfo" type="{urn:SZRServices}PersonInfoType" maxOccurs="unbounded"/> - * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BereichsKennung" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="VKZ" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Target" type="{urn:SZRServices}FremdBPKRequestType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> @@ -45,7 +45,7 @@ public class GetBPKs { @XmlElement(name = "PersonInfo", required = true) protected List<PersonInfoType> personInfo; @XmlElement(name = "BereichsKennung") - protected String bereichsKennung; + protected List<String> bereichsKennung; @XmlElement(name = "VKZ", required = true) protected String vkz; @XmlElement(name = "Target") @@ -81,27 +81,32 @@ public class GetBPKs { } /** - * Ruft den Wert der bereichsKennung-Eigenschaft ab. + * Gets the value of the bereichsKennung 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 bereichsKennung property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBereichsKennung().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } * - * @return - * possible object is - * {@link String } - * - */ - public String getBereichsKennung() { - return bereichsKennung; - } - - /** - * Legt den Wert der bereichsKennung-Eigenschaft fest. * - * @param value - * allowed object is - * {@link String } - * */ - public void setBereichsKennung(String value) { - this.bereichsKennung = value; + public List<String> getBereichsKennung() { + if (bereichsKennung == null) { + bereichsKennung = new ArrayList<String>(); + } + return this.bereichsKennung; } /** diff --git a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java index ab671f5..17aba4c 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/GetBPKsResponseType.java @@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="BPK" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BPK" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="FremdBPK" type="{urn:SZRServices}FremdBPKType" maxOccurs="unbounded" minOccurs="0"/> * <element name="Fault" minOccurs="0"> * <complexType> @@ -49,34 +49,39 @@ import javax.xml.bind.annotation.XmlType; public class GetBPKsResponseType { @XmlElement(name = "BPK") - protected String bpk; + protected List<String> bpk; @XmlElement(name = "FremdBPK") protected List<FremdBPKType> fremdBPK; @XmlElement(name = "Fault") protected GetBPKsResponseType.Fault fault; /** - * Ruft den Wert der bpk-Eigenschaft ab. + * Gets the value of the bpk 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 bpk property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getBPK().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } * - * @return - * possible object is - * {@link String } - * - */ - public String getBPK() { - return bpk; - } - - /** - * Legt den Wert der bpk-Eigenschaft fest. * - * @param value - * allowed object is - * {@link String } - * */ - public void setBPK(String value) { - this.bpk = value; + public List<String> getBPK() { + if (bpk == null) { + bpk = new ArrayList<String>(); + } + return this.bpk; } /** diff --git a/src/main/java/at/gv/util/xsd/szr_v4/JwsHeaderParam.java b/src/main/java/at/gv/util/xsd/szr_v4/JwsHeaderParam.java new file mode 100644 index 0000000..77ef18d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr_v4/JwsHeaderParam.java @@ -0,0 +1,85 @@ + +package at.gv.util.xsd.szr_v4; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für JwsHeaderParam complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType name="JwsHeaderParam"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "JwsHeaderParam") +public class JwsHeaderParam { + + @XmlAttribute(name = "key", required = true) + protected String key; + @XmlAttribute(name = "value", required = true) + protected String value; + + /** + * Ruft den Wert der key-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getKey() { + return key; + } + + /** + * Legt den Wert der key-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setKey(String value) { + this.key = value; + } + + /** + * Ruft den Wert der value-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Legt den Wert der value-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr_v4/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr_v4/ObjectFactory.java index 3b4cfb6..eb59d3e 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/ObjectFactory.java @@ -291,6 +291,14 @@ public class ObjectFactory { } /** + * Create an instance of {@link JwsHeaderParam } + * + */ + public JwsHeaderParam createJwsHeaderParam() { + return new JwsHeaderParam(); + } + + /** * Create an instance of {@link SignContentEntry } * */ diff --git a/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java b/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java index b5a59f9..8a76c6b 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/SignContent.java @@ -21,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="AppendCert" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="JWSHeaderParam" type="{urn:SZRServices}JwsHeaderParam" maxOccurs="unbounded" minOccurs="0"/> * <element name="In" type="{urn:SZRServices}SignContentEntry" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> @@ -33,6 +34,7 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "appendCert", + "jwsHeaderParam", "in" }) @XmlRootElement(name = "SignContent") @@ -40,6 +42,8 @@ public class SignContent { @XmlElement(name = "AppendCert", defaultValue = "false") protected Boolean appendCert; + @XmlElement(name = "JWSHeaderParam") + protected List<JwsHeaderParam> jwsHeaderParam; @XmlElement(name = "In") protected List<SignContentEntry> in; @@ -68,6 +72,35 @@ public class SignContent { } /** + * Gets the value of the jwsHeaderParam 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 jwsHeaderParam property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getJWSHeaderParam().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link JwsHeaderParam } + * + * + */ + public List<JwsHeaderParam> getJWSHeaderParam() { + if (jwsHeaderParam == null) { + jwsHeaderParam = new ArrayList<JwsHeaderParam>(); + } + return this.jwsHeaderParam; + } + + /** * Gets the value of the in property. * * <p> diff --git a/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java b/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java index 77343cc..8b02ee5 100644 --- a/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java +++ b/src/main/java/at/gv/util/xsd/szr_v4/SignContentResponseType.java @@ -20,7 +20,6 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="JwsAlg" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Cert" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> * <element name="Out" type="{urn:SZRServices}SignContentEntry" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> @@ -33,15 +32,12 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SignContentResponseType", propOrder = { "jwsAlg", - "cert", "out" }) public class SignContentResponseType { @XmlElement(name = "JwsAlg") protected String jwsAlg; - @XmlElement(name = "Cert") - protected byte[] cert; @XmlElement(name = "Out") protected List<SignContentEntry> out; @@ -70,28 +66,6 @@ public class SignContentResponseType { } /** - * Ruft den Wert der cert-Eigenschaft ab. - * - * @return - * possible object is - * byte[] - */ - public byte[] getCert() { - return cert; - } - - /** - * Legt den Wert der cert-Eigenschaft fest. - * - * @param value - * allowed object is - * byte[] - */ - public void setCert(byte[] value) { - this.cert = value; - } - - /** * Gets the value of the out property. * * <p> |