diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/szr/persondata')
7 files changed, 120 insertions, 126 deletions
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; + } + } |