From 269cee30ed94b35b9c774470e590c03f92186e8a Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 3 Mar 2014 16:54:37 +0100 Subject: update SZRGW client update MIS-STORK client --- .../at/gv/util/xsd/misstork/MisStorkRequest.java | 207 +++++++++++++++------ .../at/gv/util/xsd/misstork/ObjectFactory.java | 8 + 2 files changed, 156 insertions(+), 59 deletions(-) (limited to 'src/main/java/at/gv/util/xsd/misstork') diff --git a/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java b/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java index 0c5675b..52a3a67 100644 --- a/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java +++ b/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java @@ -10,8 +10,8 @@ import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import at.gv.util.xsd.mis.MandateIdentifiers; +import at.gv.util.xsd.mis.Target; import at.gv.util.xsd.persondata.CorporateBodyType; -import at.gv.util.xsd.persondata.PhysicalPersonType; /** @@ -27,18 +27,29 @@ import at.gv.util.xsd.persondata.PhysicalPersonType; * <sequence> * <element name="StorkMandateType" type="{http://www.w3.org/2001/XMLSchema}integer"/> * <element ref="{http://reference.e-government.gv.at/namespace/misstork/20131126/xsd}MandatorType"/> - * <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}MandateIdentifiers" minOccurs="0"/> + * <element name="Filters" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}MandateIdentifiers" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}Target" minOccurs="0"/> + * <element name="OAFriendlyName" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <sequence> * <element ref="{http://reference.e-government.gv.at/namespace/misstork/20131126/xsd}ReferenceValue"/> - * <element name="MISMandateType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Mandator"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * <element name="IdentityLink" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> * </sequence> * <sequence> * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> @@ -53,7 +64,7 @@ import at.gv.util.xsd.persondata.PhysicalPersonType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * <element name="IdentityLink" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> * </sequence> * </restriction> * </complexContent> @@ -72,9 +83,10 @@ import at.gv.util.xsd.persondata.PhysicalPersonType; @XmlType(name = "", propOrder = { "storkMandateType", "mandatorType", - "mandateIdentifiers", + "filters", + "target", + "oaFriendlyName", "referenceValue", - "misMandateType", "mandator", "representative" }) @@ -85,13 +97,15 @@ public class MisStorkRequest { protected BigInteger storkMandateType; @XmlElement(name = "MandatorType") protected String mandatorType; - @XmlElement(name = "MandateIdentifiers", namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd") - protected MandateIdentifiers mandateIdentifiers; + @XmlElement(name = "Filters") + protected MisStorkRequest.Filters filters; + @XmlElement(name = "Target", namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd") + protected Target target; + @XmlElement(name = "OAFriendlyName") + protected String oaFriendlyName; @XmlElement(name = "ReferenceValue") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String referenceValue; - @XmlElement(name = "MISMandateType") - protected String misMandateType; @XmlElement(name = "Mandator") protected MisStorkRequest.Mandator mandator; @XmlElement(name = "Representative") @@ -146,75 +160,99 @@ public class MisStorkRequest { } /** - * Gets the value of the mandateIdentifiers property. + * Gets the value of the filters property. * * @return * possible object is - * {@link MandateIdentifiers } + * {@link MisStorkRequest.Filters } * */ - public MandateIdentifiers getMandateIdentifiers() { - return mandateIdentifiers; + public MisStorkRequest.Filters getFilters() { + return filters; } /** - * Sets the value of the mandateIdentifiers property. + * Sets the value of the filters property. * * @param value * allowed object is - * {@link MandateIdentifiers } + * {@link MisStorkRequest.Filters } * */ - public void setMandateIdentifiers(MandateIdentifiers value) { - this.mandateIdentifiers = value; + public void setFilters(MisStorkRequest.Filters value) { + this.filters = value; } /** - * Gets the value of the referenceValue property. + * Gets the value of the target property. + * + * @return + * possible object is + * {@link Target } + * + */ + public Target getTarget() { + return target; + } + + /** + * Sets the value of the target property. + * + * @param value + * allowed object is + * {@link Target } + * + */ + public void setTarget(Target value) { + this.target = value; + } + + /** + * Gets the value of the oaFriendlyName property. * * @return * possible object is * {@link String } * */ - public String getReferenceValue() { - return referenceValue; + public String getOAFriendlyName() { + return oaFriendlyName; } /** - * Sets the value of the referenceValue property. + * Sets the value of the oaFriendlyName property. * * @param value * allowed object is * {@link String } * */ - public void setReferenceValue(String value) { - this.referenceValue = value; + public void setOAFriendlyName(String value) { + this.oaFriendlyName = value; } /** - * Gets the value of the misMandateType property. + * Gets the value of the referenceValue property. * * @return * possible object is * {@link String } * */ - public String getMISMandateType() { - return misMandateType; + public String getReferenceValue() { + return referenceValue; } /** - * Sets the value of the misMandateType property. + * Sets the value of the referenceValue property. * * @param value * allowed object is * {@link String } * */ - public void setMISMandateType(String value) { - this.misMandateType = value; + public void setReferenceValue(String value) { + this.referenceValue = value; } /** @@ -266,6 +304,61 @@ public class MisStorkRequest { } + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element ref="{http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd}MandateIdentifiers" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateIdentifiers" + }) + public static class Filters { + + @XmlElement(name = "MandateIdentifiers", namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/1.0/xsd") + protected MandateIdentifiers mandateIdentifiers; + + /** + * Gets the value of the mandateIdentifiers property. + * + * @return + * possible object is + * {@link MandateIdentifiers } + * + */ + public MandateIdentifiers getMandateIdentifiers() { + return mandateIdentifiers; + } + + /** + * Sets the value of the mandateIdentifiers property. + * + * @param value + * allowed object is + * {@link MandateIdentifiers } + * + */ + public void setMandateIdentifiers(MandateIdentifiers value) { + this.mandateIdentifiers = value; + } + + } + + /** *

Java class for anonymous complex type. * @@ -277,7 +370,7 @@ public class MisStorkRequest { * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * <element name="IdentityLink" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> * </sequence> * <sequence> * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> @@ -292,38 +385,36 @@ public class MisStorkRequest { */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "physicalPerson", + "identityLink", "corporateBody" }) public static class Mandator { - @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") - protected PhysicalPersonType physicalPerson; + @XmlElement(name = "IdentityLink") + protected byte[] identityLink; @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") protected CorporateBodyType corporateBody; /** - * Gets the value of the physicalPerson property. + * Gets the value of the identityLink property. * * @return * possible object is - * {@link PhysicalPersonType } - * + * byte[] */ - public PhysicalPersonType getPhysicalPerson() { - return physicalPerson; + public byte[] getIdentityLink() { + return identityLink; } /** - * Sets the value of the physicalPerson property. + * Sets the value of the identityLink property. * * @param value * allowed object is - * {@link PhysicalPersonType } - * + * byte[] */ - public void setPhysicalPerson(PhysicalPersonType value) { - this.physicalPerson = value; + public void setIdentityLink(byte[] value) { + this.identityLink = value; } /** @@ -363,7 +454,7 @@ public class MisStorkRequest { * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * <element name="IdentityLink" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> * </sequence> * </restriction> * </complexContent> @@ -374,35 +465,33 @@ public class MisStorkRequest { */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "physicalPerson" + "identityLink" }) public static class Representative { - @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", required = true) - protected PhysicalPersonType physicalPerson; + @XmlElement(name = "IdentityLink", required = true) + protected byte[] identityLink; /** - * Gets the value of the physicalPerson property. + * Gets the value of the identityLink property. * * @return * possible object is - * {@link PhysicalPersonType } - * + * byte[] */ - public PhysicalPersonType getPhysicalPerson() { - return physicalPerson; + public byte[] getIdentityLink() { + return identityLink; } /** - * Sets the value of the physicalPerson property. + * Sets the value of the identityLink property. * * @param value * allowed object is - * {@link PhysicalPersonType } - * + * byte[] */ - public void setPhysicalPerson(PhysicalPersonType value) { - this.physicalPerson = value; + public void setIdentityLink(byte[] value) { + this.identityLink = value; } } diff --git a/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java b/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java index 6cacbc4..b8ee2b5 100644 --- a/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java +++ b/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java @@ -60,6 +60,14 @@ public class ObjectFactory { return new MisStorkError(); } + /** + * Create an instance of {@link MisStorkRequest.Filters } + * + */ + public MisStorkRequest.Filters createMisStorkRequestFilters() { + return new MisStorkRequest.Filters(); + } + /** * Create an instance of {@link MisStorkRequest.Mandator } * -- cgit v1.2.3