diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-01-23 13:47:25 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-01-23 13:47:25 +0100 |
commit | f7c97e3423fa51f9f3d32f0285f2468d95d5987d (patch) | |
tree | bd30f3c5ceabf149f42da518ec5b803e3c27b1ca /src/main/java/at/gv/util/xsd/szr | |
parent | 2708d02b25f55883b387a334b4fd85dfb9ea831a (diff) | |
download | egovutils-f7c97e3423fa51f9f3d32f0285f2468d95d5987d.tar.gz egovutils-f7c97e3423fa51f9f3d32f0285f2468d95d5987d.tar.bz2 egovutils-f7c97e3423fa51f9f3d32f0285f2468d95d5987d.zip |
add first version of SZR client v4.0
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr')
24 files changed, 1769 insertions, 217 deletions
diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java index 12d756c..a3414c4 100644 --- a/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/DomainParamsType.java @@ -13,15 +13,15 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="DomainParamsType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="NamedCurve" type="{http://www.w3.org/2001/04/xmldsig-more#}NamedCurveType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="DomainParamsType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="NamedCurve" type="{http://www.w3.org/2001/04/xmldsig-more#}NamedCurveType" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java index 47e8afd..e0647f9 100644 --- a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECDSAKeyValueType.java @@ -13,16 +13,16 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="ECDSAKeyValueType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="DomainParameters" type="{http://www.w3.org/2001/04/xmldsig-more#}DomainParamsType" minOccurs="0"/> - * <element name="PublicKey" type="{http://www.w3.org/2001/04/xmldsig-more#}ECPointType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="ECDSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DomainParameters" type="{http://www.w3.org/2001/04/xmldsig-more#}DomainParamsType" minOccurs="0"/> + * <element name="PublicKey" type="{http://www.w3.org/2001/04/xmldsig-more#}ECPointType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java index fc96885..37e0c9f 100644 --- a/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ECPointType.java @@ -13,16 +13,16 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="ECPointType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence minOccurs="0"> - * <element name="X" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> - * <element name="Y" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="ECPointType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence minOccurs="0"> + * <element name="X" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> + * <element name="Y" type="{http://www.w3.org/2001/04/xmldsig-more#}PrimeFieldElemType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java index 3ae485b..0e793b9 100644 --- a/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/NamedCurveType.java @@ -13,13 +13,13 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="NamedCurveType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="URN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="NamedCurveType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="URN" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java index 9243d14..70cca4f 100644 --- a/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/ObjectFactory.java @@ -42,35 +42,35 @@ public class ObjectFactory { } /** - * Create an instance of {@link ECPointType } + * Create an instance of {@link DomainParamsType } * */ - public ECPointType createECPointType() { - return new ECPointType(); + public DomainParamsType createDomainParamsType() { + return new DomainParamsType(); } /** - * Create an instance of {@link PrimeFieldElemType } + * Create an instance of {@link NamedCurveType } * */ - public PrimeFieldElemType createPrimeFieldElemType() { - return new PrimeFieldElemType(); + public NamedCurveType createNamedCurveType() { + return new NamedCurveType(); } /** - * Create an instance of {@link DomainParamsType } + * Create an instance of {@link ECPointType } * */ - public DomainParamsType createDomainParamsType() { - return new DomainParamsType(); + public ECPointType createECPointType() { + return new ECPointType(); } /** - * Create an instance of {@link NamedCurveType } + * Create an instance of {@link PrimeFieldElemType } * */ - public NamedCurveType createNamedCurveType() { - return new NamedCurveType(); + public PrimeFieldElemType createPrimeFieldElemType() { + return new PrimeFieldElemType(); } /** diff --git a/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java b/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java index c4b68f4..50483af 100644 --- a/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java +++ b/src/main/java/at/gv/util/xsd/szr/ecdsa/PrimeFieldElemType.java @@ -13,13 +13,13 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="PrimeFieldElemType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="PrimeFieldElemType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java b/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java index bf7c3c6..da6cbf3 100644 --- a/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java +++ b/src/main/java/at/gv/util/xsd/szr/persondata/AlternativeNameType.java @@ -3,9 +3,7 @@ package at.gv.util.xsd.szr.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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; @@ -15,16 +13,15 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="AlternativeNameType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string"/> - * </sequence> - * <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" fixed="MaidenName" /> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="AlternativeNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * @@ -35,11 +32,8 @@ import javax.xml.bind.annotation.XmlType; }) public class AlternativeNameType { - @XmlElement(name = "FamilyName", required = true) + @XmlElement(name = "FamilyName", required = true, nillable = true) protected String familyName; - @XmlAttribute(name = "Type") - @XmlSchemaType(name = "anySimpleType") - protected String type; /** * Ruft den Wert der familyName-Eigenschaft ab. @@ -65,32 +59,4 @@ public class AlternativeNameType { this.familyName = value; } - /** - * Ruft den Wert der type-Eigenschaft ab. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - if (type == null) { - return "MaidenName"; - } else { - return type; - } - } - - /** - * Legt den Wert der type-Eigenschaft fest. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - } diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/DeliveryAddressType.java b/src/main/java/at/gv/util/xsd/szr/persondata/DeliveryAddressType.java index 89759e9..0f4d31c 100644 --- a/src/main/java/at/gv/util/xsd/szr/persondata/DeliveryAddressType.java +++ b/src/main/java/at/gv/util/xsd/szr/persondata/DeliveryAddressType.java @@ -13,19 +13,19 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="DeliveryAddressType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <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> + * <complexType name="DeliveryAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <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> * * diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/IdentificationType.java b/src/main/java/at/gv/util/xsd/szr/persondata/IdentificationType.java index 7318306..7a7e0ac 100644 --- a/src/main/java/at/gv/util/xsd/szr/persondata/IdentificationType.java +++ b/src/main/java/at/gv/util/xsd/szr/persondata/IdentificationType.java @@ -13,16 +13,16 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="IdentificationType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="IdentificationType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/persondata/ObjectFactory.java index 40d8384..cad87de 100644 --- a/src/main/java/at/gv/util/xsd/szr/persondata/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/szr/persondata/ObjectFactory.java @@ -38,43 +38,43 @@ public class ObjectFactory { } /** - * Create an instance of {@link AlternativeNameType } + * Create an instance of {@link IdentificationType } * */ - public AlternativeNameType createAlternativeNameType() { - return new AlternativeNameType(); + public IdentificationType createIdentificationType() { + return new IdentificationType(); } /** - * Create an instance of {@link PostalAddressType } + * Create an instance of {@link PersonNameType } * */ - public PostalAddressType createPostalAddressType() { - return new PostalAddressType(); + public PersonNameType createPersonNameType() { + return new PersonNameType(); } /** - * Create an instance of {@link IdentificationType } + * Create an instance of {@link AlternativeNameType } * */ - public IdentificationType createIdentificationType() { - return new IdentificationType(); + public AlternativeNameType createAlternativeNameType() { + return new AlternativeNameType(); } /** - * Create an instance of {@link DeliveryAddressType } + * Create an instance of {@link PostalAddressType } * */ - public DeliveryAddressType createDeliveryAddressType() { - return new DeliveryAddressType(); + public PostalAddressType createPostalAddressType() { + return new PostalAddressType(); } /** - * Create an instance of {@link PersonNameType } + * Create an instance of {@link DeliveryAddressType } * */ - public PersonNameType createPersonNameType() { - return new PersonNameType(); + public DeliveryAddressType createDeliveryAddressType() { + return new DeliveryAddressType(); } } diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/PersonNameType.java b/src/main/java/at/gv/util/xsd/szr/persondata/PersonNameType.java index 28ec874..4a89479 100644 --- a/src/main/java/at/gv/util/xsd/szr/persondata/PersonNameType.java +++ b/src/main/java/at/gv/util/xsd/szr/persondata/PersonNameType.java @@ -13,18 +13,18 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="PersonNameType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="PrefixedDegree" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="SuffixedDegree" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="PersonNameType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PrefixedDegree" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="SuffixedDegree" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * @@ -40,9 +40,9 @@ public class PersonNameType { @XmlElement(name = "PrefixedDegree") protected String prefixedDegree; - @XmlElement(name = "GivenName", required = true) + @XmlElement(name = "GivenName", required = true, nillable = true) protected String givenName; - @XmlElement(name = "FamilyName", required = true) + @XmlElement(name = "FamilyName", required = true, nillable = true) protected String familyName; @XmlElement(name = "SuffixedDegree") protected String suffixedDegree; diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/PhysicalPersonType.java b/src/main/java/at/gv/util/xsd/szr/persondata/PhysicalPersonType.java index 7e235f8..bdc52c1 100644 --- a/src/main/java/at/gv/util/xsd/szr/persondata/PhysicalPersonType.java +++ b/src/main/java/at/gv/util/xsd/szr/persondata/PhysicalPersonType.java @@ -13,22 +13,22 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="PhysicalPersonType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" minOccurs="0"/> - * <element name="Name" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"/> - * <element name="AlternativeName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameType" minOccurs="0"/> - * <element name="Sex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="DateOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="PlaceOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="CountryOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Nationality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="PhysicalPersonType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Identification" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}IdentificationType" minOccurs="0"/> + * <element name="Name" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PersonNameType"/> + * <element name="AlternativeName" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}AlternativeNameType" minOccurs="0"/> + * <element name="Sex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DateOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PlaceOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="CountryOfBirth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Nationality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/persondata/PostalAddressType.java b/src/main/java/at/gv/util/xsd/szr/persondata/PostalAddressType.java index 3fbc0c2..72cb766 100644 --- a/src/main/java/at/gv/util/xsd/szr/persondata/PostalAddressType.java +++ b/src/main/java/at/gv/util/xsd/szr/persondata/PostalAddressType.java @@ -13,19 +13,20 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="PostalAddressType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Locality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="StateCode3" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="DeliveryAddress" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DeliveryAddressType" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="PostalAddressType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Municipality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Locality" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="StateCode3" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DeliveryAddress" type="{http://reference.e-government.gv.at/namespace/persondata/20020228#}DeliveryAddressType" minOccurs="0"/> + * <element name="HistoricRecord" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * @@ -36,7 +37,8 @@ import javax.xml.bind.annotation.XmlType; "municipality", "locality", "stateCode3", - "deliveryAddress" + "deliveryAddress", + "historicRecord" }) public class PostalAddressType { @@ -50,6 +52,8 @@ public class PostalAddressType { protected String stateCode3; @XmlElement(name = "DeliveryAddress") protected DeliveryAddressType deliveryAddress; + @XmlElement(name = "HistoricRecord") + protected Boolean historicRecord; /** * Ruft den Wert der postalCode-Eigenschaft ab. @@ -171,4 +175,28 @@ public class PostalAddressType { this.deliveryAddress = value; } + /** + * Ruft den Wert der historicRecord-Eigenschaft ab. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isHistoricRecord() { + return historicRecord; + } + + /** + * Legt den Wert der historicRecord-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setHistoricRecord(Boolean value) { + this.historicRecord = 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 new file mode 100644 index 0000000..5294758 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/ObjectFactory.java @@ -0,0 +1,117 @@ + +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 + * 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(); + } + + /** + * Create an instance of {@link PvpTokenType.Authorize } + * + */ + public PvpTokenType.Authorize createPvpTokenTypeAuthorize() { + return new PvpTokenType.Authorize(); + } + + /** + * Create an instance of {@link PvpTokenType.Authenticate } + * + */ + public PvpTokenType.Authenticate createPvpTokenTypeAuthenticate() { + return new PvpTokenType.Authenticate(); + } + + /** + * Create an instance of {@link PvpToken } + * + */ + public PvpToken createPvpToken() { + return new PvpToken(); + } + + /** + * Create an instance of {@link PvpTokenType.Accounting } + * + */ + public PvpTokenType.Accounting createPvpTokenTypeAccounting() { + return new PvpTokenType.Accounting(); + } + + /** + * Create an instance of {@link PvpTokenType.PvpExtension } + * + */ + public PvpTokenType.PvpExtension createPvpTokenTypePvpExtension() { + return new PvpTokenType.PvpExtension(); + } + + /** + * Create an instance of {@link PvpPrincipalType } + * + */ + public PvpPrincipalType createPvpPrincipalType() { + return new PvpPrincipalType(); + } + + /** + * Create an instance of {@link PvpTokenType.Authorize.Role } + * + */ + public PvpTokenType.Authorize.Role createPvpTokenTypeAuthorizeRole() { + return new PvpTokenType.Authorize.Role(); + } + + /** + * 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/pvp19/PvpPrincipalType.java b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java new file mode 100644 index 0000000..2a7d602 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpPrincipalType.java @@ -0,0 +1,268 @@ + +package at.gv.util.xsd.szr.pvp19; + +import java.math.BigInteger; +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * <p>Java-Klasse für pvpPrincipalType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <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="gvOuOKZ" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="gvSecClass" type="{http://egov.gv.at/pvp1.xsd}gvSecClassType" minOccurs="0"/> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pvpPrincipalType", propOrder = { + "userId", + "cn", + "gvOuId", + "ou", + "gvOuOKZ", + "gvSecClass", + "any" +}) +@XmlSeeAlso({ + at.gv.util.xsd.szr.pvp19.PvpTokenType.Authenticate.UserPrincipal.class +}) +public class PvpPrincipalType { + + @XmlElement(required = true) + protected String userId; + @XmlElement(required = true) + protected String cn; + @XmlElement(required = true) + protected String gvOuId; + @XmlElement(required = true) + protected String ou; + protected String gvOuOKZ; + protected BigInteger gvSecClass; + @XmlAnyElement(lax = true) + protected List<Object> any; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Ruft den Wert der userId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUserId() { + return userId; + } + + /** + * Legt den Wert der userId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUserId(String value) { + this.userId = value; + } + + /** + * Ruft den Wert der cn-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCn() { + return cn; + } + + /** + * Legt den Wert der cn-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCn(String value) { + this.cn = value; + } + + /** + * Ruft den Wert der gvOuId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuId() { + return gvOuId; + } + + /** + * Legt den Wert der gvOuId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuId(String value) { + this.gvOuId = value; + } + + /** + * Ruft den Wert der ou-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOu() { + return ou; + } + + /** + * Legt den Wert der ou-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOu(String value) { + this.ou = value; + } + + /** + * Ruft den Wert der gvOuOKZ-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuOKZ() { + return gvOuOKZ; + } + + /** + * Legt den Wert der gvOuOKZ-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuOKZ(String value) { + this.gvOuOKZ = value; + } + + /** + * Ruft den Wert der gvSecClass-Eigenschaft ab. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getGvSecClass() { + return gvSecClass; + } + + /** + * Legt den Wert der gvSecClass-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setGvSecClass(BigInteger value) { + this.gvSecClass = value; + } + + /** + * 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 } + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + /** + * 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/szr/pvp19/PvpToken.java b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpToken.java new file mode 100644 index 0000000..3a45c57 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpToken.java @@ -0,0 +1,35 @@ + +package at.gv.util.xsd.szr.pvp19; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <extension base="{http://egov.gv.at/pvp1.xsd}pvpTokenType"> + * <anyAttribute processContents='lax'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "") +@XmlRootElement(name = "pvpToken") +public class PvpToken + extends PvpTokenType +{ + + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/PvpTokenType.java b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpTokenType.java new file mode 100644 index 0000000..9274d01 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/PvpTokenType.java @@ -0,0 +1,1029 @@ + +package at.gv.util.xsd.szr.pvp19; + +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.XmlAnyElement; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; + + +/** + * <p>Java-Klasse für pvpTokenType complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <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="mail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="tel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="bpk" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <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> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="authorize" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="gvOuId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ou" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <element name="role" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="accounting" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </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='skip' maxOccurs="unbounded" minOccurs="0"/> + * </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> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "pvpTokenType", propOrder = { + "authenticate", + "authorize", + "accounting", + "pvpChainedToken", + "pvpExtension" +}) +@XmlSeeAlso({ + PvpToken.class +}) +public class PvpTokenType { + + @XmlElement(required = true) + protected PvpTokenType.Authenticate authenticate; + protected PvpTokenType.Authorize authorize; + protected PvpTokenType.Accounting accounting; + protected PvpTokenType pvpChainedToken; + protected PvpTokenType.PvpExtension pvpExtension; + @XmlAttribute(name = "version", required = true) + protected String version; + @XmlAnyAttribute + private Map<QName, String> otherAttributes = new HashMap<QName, String>(); + + /** + * Ruft den Wert der authenticate-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpTokenType.Authenticate } + * + */ + public PvpTokenType.Authenticate getAuthenticate() { + return authenticate; + } + + /** + * Legt den Wert der authenticate-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authenticate } + * + */ + public void setAuthenticate(PvpTokenType.Authenticate value) { + this.authenticate = value; + } + + /** + * Ruft den Wert der authorize-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpTokenType.Authorize } + * + */ + public PvpTokenType.Authorize getAuthorize() { + return authorize; + } + + /** + * Legt den Wert der authorize-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authorize } + * + */ + public void setAuthorize(PvpTokenType.Authorize value) { + this.authorize = value; + } + + /** + * Ruft den Wert der accounting-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpTokenType.Accounting } + * + */ + public PvpTokenType.Accounting getAccounting() { + return accounting; + } + + /** + * Legt den Wert der accounting-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpTokenType.Accounting } + * + */ + public void setAccounting(PvpTokenType.Accounting value) { + this.accounting = value; + } + + /** + * Ruft den Wert der pvpChainedToken-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpTokenType } + * + */ + public PvpTokenType getPvpChainedToken() { + return pvpChainedToken; + } + + /** + * Legt den Wert der pvpChainedToken-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpTokenType } + * + */ + public void setPvpChainedToken(PvpTokenType value) { + this.pvpChainedToken = value; + } + + /** + * Ruft den Wert der pvpExtension-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpTokenType.PvpExtension } + * + */ + public PvpTokenType.PvpExtension getPvpExtension() { + return pvpExtension; + } + + /** + * Legt den Wert der pvpExtension-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpTokenType.PvpExtension } + * + */ + public void setPvpExtension(PvpTokenType.PvpExtension value) { + this.pvpExtension = value; + } + + /** + * Ruft den Wert der version-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersion() { + return version; + } + + /** + * Legt den Wert der version-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersion(String value) { + this.version = 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-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class Accounting { + + @XmlAnyElement + protected List<Element> any; + + /** + * 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; + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <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="mail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="tel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="bpk" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <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> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "participantId", + "gvOuDomain", + "userPrincipal", + "systemPrincipal", + "any" + }) + public static class Authenticate { + + @XmlElement(required = true) + protected String participantId; + protected String gvOuDomain; + protected PvpTokenType.Authenticate.UserPrincipal userPrincipal; + protected PvpPrincipalType systemPrincipal; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Ruft den Wert der participantId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getParticipantId() { + return participantId; + } + + /** + * Legt den Wert der participantId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setParticipantId(String value) { + this.participantId = value; + } + + /** + * Ruft den Wert der gvOuDomain-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuDomain() { + return gvOuDomain; + } + + /** + * Legt den Wert der gvOuDomain-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuDomain(String value) { + this.gvOuDomain = value; + } + + /** + * Ruft den Wert der userPrincipal-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public PvpTokenType.Authenticate.UserPrincipal getUserPrincipal() { + return userPrincipal; + } + + /** + * Legt den Wert der userPrincipal-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpTokenType.Authenticate.UserPrincipal } + * + */ + public void setUserPrincipal(PvpTokenType.Authenticate.UserPrincipal value) { + this.userPrincipal = value; + } + + /** + * Ruft den Wert der systemPrincipal-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpPrincipalType } + * + */ + public PvpPrincipalType getSystemPrincipal() { + return systemPrincipal; + } + + /** + * Legt den Wert der systemPrincipal-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpPrincipalType } + * + */ + public void setSystemPrincipal(PvpPrincipalType value) { + this.systemPrincipal = value; + } + + /** + * 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 } + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <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="mail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="tel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="bpk" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="gvFunction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * <anyAttribute processContents='lax'/> + * </extension> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gvGid", + "mail", + "tel", + "bpk", + "gvFunction" + }) + public static class UserPrincipal + extends PvpPrincipalType + { + + @XmlElement(required = true) + protected String gvGid; + protected String mail; + protected String tel; + protected String bpk; + protected String gvFunction; + + /** + * Ruft den Wert der gvGid-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvGid() { + return gvGid; + } + + /** + * Legt den Wert der gvGid-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvGid(String value) { + this.gvGid = value; + } + + /** + * Ruft den Wert der mail-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMail() { + return mail; + } + + /** + * Legt den Wert der mail-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMail(String value) { + this.mail = value; + } + + /** + * Ruft den Wert der tel-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTel() { + return tel; + } + + /** + * Legt den Wert der tel-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTel(String value) { + this.tel = value; + } + + /** + * Ruft den Wert der bpk-Eigenschaft ab. + * + * @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; + } + + /** + * Ruft den Wert der gvFunction-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvFunction() { + return gvFunction; + } + + /** + * Legt den Wert der gvFunction-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvFunction(String value) { + this.gvFunction = value; + } + + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <sequence minOccurs="0"> + * <element name="gvOuId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="ou" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * <element name="role" maxOccurs="unbounded"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gvOuId", + "ou", + "role", + "any" + }) + public static class Authorize { + + protected String gvOuId; + protected String ou; + @XmlElement(required = true) + protected List<PvpTokenType.Authorize.Role> role; + @XmlAnyElement(lax = true) + protected List<Object> any; + + /** + * Ruft den Wert der gvOuId-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getGvOuId() { + return gvOuId; + } + + /** + * Legt den Wert der gvOuId-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setGvOuId(String value) { + this.gvOuId = value; + } + + /** + * Ruft den Wert der ou-Eigenschaft ab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOu() { + return ou; + } + + /** + * Legt den Wert der ou-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOu(String value) { + this.ou = value; + } + + /** + * Gets the value of the role 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 role property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getRole().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link PvpTokenType.Authorize.Role } + * + * + */ + public List<PvpTokenType.Authorize.Role> getRole() { + if (role == null) { + role = new ArrayList<PvpTokenType.Authorize.Role>(); + } + return this.role; + } + + /** + * 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 } + * {@link Object } + * + * + */ + public List<Object> getAny() { + if (any == null) { + any = new ArrayList<Object>(); + } + return this.any; + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class Role { + + @XmlAnyElement + protected List<Element> any; + @XmlAttribute(name = "value", required = true) + protected String value; + + /** + * 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; + } + + /** + * 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; + } + + } + + } + + + /** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + public static class PvpExtension { + + @XmlAnyElement + protected List<Element> any; + + /** + * 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; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/package-info.java b/src/main/java/at/gv/util/xsd/szr/pvp19/package-info.java new file mode 100644 index 0000000..2d5ddb1 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://egov.gv.at/pvp1.xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.pvp19; diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/sec/ObjectFactory.java b/src/main/java/at/gv/util/xsd/szr/pvp19/sec/ObjectFactory.java new file mode 100644 index 0000000..100cdbf --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/sec/ObjectFactory.java @@ -0,0 +1,40 @@ + +package at.gv.util.xsd.szr.pvp19.sec; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the at.gv.util.xsd.szr.pvp19.sec 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 { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.szr.pvp19.sec + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Security } + * + */ + public Security createSecurity() { + return new Security(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/sec/Security.java b/src/main/java/at/gv/util/xsd/szr/pvp19/sec/Security.java new file mode 100644 index 0000000..ead09cd --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/sec/Security.java @@ -0,0 +1,65 @@ + +package at.gv.util.xsd.szr.pvp19.sec; + +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; +import at.gv.util.xsd.szr.pvp19.PvpToken; + + +/** + * <p>Java-Klasse für anonymous complex type. + * + * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. + * + * <pre> + * <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> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "pvpToken" +}) +@XmlRootElement(name = "Security") +public class Security { + + @XmlElement(namespace = "http://egov.gv.at/pvp1.xsd", required = true) + protected PvpToken pvpToken; + + /** + * Ruft den Wert der pvpToken-Eigenschaft ab. + * + * @return + * possible object is + * {@link PvpToken } + * + */ + public PvpToken getPvpToken() { + return pvpToken; + } + + /** + * Legt den Wert der pvpToken-Eigenschaft fest. + * + * @param value + * allowed object is + * {@link PvpToken } + * + */ + public void setPvpToken(PvpToken value) { + this.pvpToken = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/szr/pvp19/sec/package-info.java b/src/main/java/at/gv/util/xsd/szr/pvp19/sec/package-info.java new file mode 100644 index 0000000..b172c43 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/szr/pvp19/sec/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.xmlsoap.org/ws/2002/04/secext", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.szr.pvp19.sec; diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java index 698e515..cf61762 100644 --- a/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/DSAKeyValueType.java @@ -13,21 +13,21 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="DSAKeyValueType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="P" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Q" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="J" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="G" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Y" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="PgenCounter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Seed" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="DSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="P" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Q" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="J" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="G" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Y" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PgenCounter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Seed" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java index 36e6c42..4d7990a 100644 --- a/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/KeyValueType.java @@ -14,17 +14,17 @@ import at.gv.util.xsd.szr.ecdsa.ECDSAKeyValueType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="KeyValueType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="DSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType" minOccurs="0"/> - * <element name="RSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType" minOccurs="0"/> - * <element ref="{http://www.w3.org/2001/04/xmldsig-more#}ECDSAKeyValue"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="KeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="DSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}DSAKeyValueType" minOccurs="0"/> + * <element name="RSAKeyValue" type="{http://www.w3.org/2000/09/xmldsig#}RSAKeyValueType" minOccurs="0"/> + * <element ref="{http://www.w3.org/2001/04/xmldsig-more#}ECDSAKeyValue"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * diff --git a/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java b/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java index 6eb4d0e..2c98162 100644 --- a/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java +++ b/src/main/java/at/gv/util/xsd/szr/xmldsig/RSAKeyValueType.java @@ -13,16 +13,16 @@ import javax.xml.bind.annotation.XmlType; * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist. * * <pre> - * <complexType name="RSAKeyValueType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Modulus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * </sequence> - * </restriction> - * </complexContent> - * </complexType> + * <complexType name="RSAKeyValueType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Modulus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Exponent" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> * </pre> * * |