diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/java/at/gv/util/xsd/misstork | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/xsd/misstork')
5 files changed, 764 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/misstork/MisStorkError.java b/src/main/java/at/gv/util/xsd/misstork/MisStorkError.java new file mode 100644 index 0000000..e56e7ce --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/MisStorkError.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.misstork; + +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; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}anyType"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "errorCode", + "info" +}) +@XmlRootElement(name = "MisStorkError") +public class MisStorkError { + + @XmlElement(name = "ErrorCode", required = true) + protected Object errorCode; + @XmlElement(name = "Info", required = true) + protected Object info; + + /** + * Gets the value of the errorCode property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getErrorCode() { + return errorCode; + } + + /** + * Sets the value of the errorCode property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setErrorCode(Object value) { + this.errorCode = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setInfo(Object value) { + this.info = value; + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java b/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java new file mode 100644 index 0000000..0c5675b --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/MisStorkRequest.java @@ -0,0 +1,410 @@ + +package at.gv.util.xsd.misstork; + +import java.math.BigInteger; +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 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.persondata.CorporateBodyType; +import at.gv.util.xsd.persondata.PhysicalPersonType; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <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"/> + * </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"/> + * </sequence> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="Representative"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "storkMandateType", + "mandatorType", + "mandateIdentifiers", + "referenceValue", + "misMandateType", + "mandator", + "representative" +}) +@XmlRootElement(name = "MisStorkRequest") +public class MisStorkRequest { + + @XmlElement(name = "StorkMandateType") + 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 = "ReferenceValue") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String referenceValue; + @XmlElement(name = "MISMandateType") + protected String misMandateType; + @XmlElement(name = "Mandator") + protected MisStorkRequest.Mandator mandator; + @XmlElement(name = "Representative") + protected MisStorkRequest.Representative representative; + + /** + * Gets the value of the storkMandateType property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getStorkMandateType() { + return storkMandateType; + } + + /** + * Sets the value of the storkMandateType property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setStorkMandateType(BigInteger value) { + this.storkMandateType = value; + } + + /** + * Gets the value of the mandatorType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandatorType() { + return mandatorType; + } + + /** + * Sets the value of the mandatorType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandatorType(String value) { + this.mandatorType = value; + } + + /** + * 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; + } + + /** + * Gets the value of the referenceValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReferenceValue() { + return referenceValue; + } + + /** + * Sets the value of the referenceValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReferenceValue(String value) { + this.referenceValue = value; + } + + /** + * Gets the value of the misMandateType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMISMandateType() { + return misMandateType; + } + + /** + * Sets the value of the misMandateType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMISMandateType(String value) { + this.misMandateType = value; + } + + /** + * Gets the value of the mandator property. + * + * @return + * possible object is + * {@link MisStorkRequest.Mandator } + * + */ + public MisStorkRequest.Mandator getMandator() { + return mandator; + } + + /** + * Sets the value of the mandator property. + * + * @param value + * allowed object is + * {@link MisStorkRequest.Mandator } + * + */ + public void setMandator(MisStorkRequest.Mandator value) { + this.mandator = value; + } + + /** + * Gets the value of the representative property. + * + * @return + * possible object is + * {@link MisStorkRequest.Representative } + * + */ + public MisStorkRequest.Representative getRepresentative() { + return representative; + } + + /** + * Sets the value of the representative property. + * + * @param value + * allowed object is + * {@link MisStorkRequest.Representative } + * + */ + public void setRepresentative(MisStorkRequest.Representative value) { + this.representative = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <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"/> + * </sequence> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}CorporateBody"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "physicalPerson", + "corporateBody" + }) + public static class Mandator { + + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected PhysicalPersonType physicalPerson; + @XmlElement(name = "CorporateBody", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#") + protected CorporateBodyType corporateBody; + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + + /** + * Gets the value of the corporateBody property. + * + * @return + * possible object is + * {@link CorporateBodyType } + * + */ + public CorporateBodyType getCorporateBody() { + return corporateBody; + } + + /** + * Sets the value of the corporateBody property. + * + * @param value + * allowed object is + * {@link CorporateBodyType } + * + */ + public void setCorporateBody(CorporateBodyType value) { + this.corporateBody = value; + } + + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element ref="{http://reference.e-government.gv.at/namespace/persondata/20020228#}PhysicalPerson"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "physicalPerson" + }) + public static class Representative { + + @XmlElement(name = "PhysicalPerson", namespace = "http://reference.e-government.gv.at/namespace/persondata/20020228#", required = true) + protected PhysicalPersonType physicalPerson; + + /** + * Gets the value of the physicalPerson property. + * + * @return + * possible object is + * {@link PhysicalPersonType } + * + */ + public PhysicalPersonType getPhysicalPerson() { + return physicalPerson; + } + + /** + * Sets the value of the physicalPerson property. + * + * @param value + * allowed object is + * {@link PhysicalPersonType } + * + */ + public void setPhysicalPerson(PhysicalPersonType value) { + this.physicalPerson = value; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/MisStorkResponse.java b/src/main/java/at/gv/util/xsd/misstork/MisStorkResponse.java new file mode 100644 index 0000000..4059843 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/MisStorkResponse.java @@ -0,0 +1,162 @@ + +package at.gv.util.xsd.misstork; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.List; +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 javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <choice> + * <sequence> + * <element name="MISMandateType" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element ref="{http://reference.e-government.gv.at/namespace/misstork/20131126/xsd}ReferenceValue"/> + * <element name="ERsBMandateType" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> + * </sequence> + * <sequence> + * <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary" maxOccurs="unbounded" minOccurs="0"/> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "misMandateType", + "referenceValue", + "eRsBMandateType", + "mandate" +}) +@XmlRootElement(name = "MisStorkResponse") +public class MisStorkResponse { + + @XmlElement(name = "MISMandateType") + protected String misMandateType; + @XmlElement(name = "ReferenceValue") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + protected String referenceValue; + @XmlElement(name = "ERsBMandateType") + protected BigInteger eRsBMandateType; + @XmlElement(name = "Mandate") + protected List<byte[]> mandate; + + /** + * Gets the value of the misMandateType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMISMandateType() { + return misMandateType; + } + + /** + * Sets the value of the misMandateType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMISMandateType(String value) { + this.misMandateType = value; + } + + /** + * Gets the value of the referenceValue property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getReferenceValue() { + return referenceValue; + } + + /** + * Sets the value of the referenceValue property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setReferenceValue(String value) { + this.referenceValue = value; + } + + /** + * Gets the value of the eRsBMandateType property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getERsBMandateType() { + return eRsBMandateType; + } + + /** + * Sets the value of the eRsBMandateType property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setERsBMandateType(BigInteger value) { + this.eRsBMandateType = value; + } + + /** + * Gets the value of the mandate 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 mandate property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandate().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * byte[] + * + */ + public List<byte[]> getMandate() { + if (mandate == null) { + mandate = new ArrayList<byte[]>(); + } + return this.mandate; + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java b/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java new file mode 100644 index 0000000..6cacbc4 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/ObjectFactory.java @@ -0,0 +1,98 @@ + +package at.gv.util.xsd.misstork; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +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.misstork 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 _ReferenceValue_QNAME = new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", "ReferenceValue"); + private final static QName _MandatorType_QNAME = new QName("http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", "MandatorType"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.misstork + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link MisStorkRequest } + * + */ + public MisStorkRequest createMisStorkRequest() { + return new MisStorkRequest(); + } + + /** + * Create an instance of {@link MisStorkResponse } + * + */ + public MisStorkResponse createMisStorkResponse() { + return new MisStorkResponse(); + } + + /** + * Create an instance of {@link MisStorkError } + * + */ + public MisStorkError createMisStorkError() { + return new MisStorkError(); + } + + /** + * Create an instance of {@link MisStorkRequest.Mandator } + * + */ + public MisStorkRequest.Mandator createMisStorkRequestMandator() { + return new MisStorkRequest.Mandator(); + } + + /** + * Create an instance of {@link MisStorkRequest.Representative } + * + */ + public MisStorkRequest.Representative createMisStorkRequestRepresentative() { + return new MisStorkRequest.Representative(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", name = "ReferenceValue") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + public JAXBElement<String> createReferenceValue(String value) { + return new JAXBElement<String>(_ReferenceValue_QNAME, String.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", name = "MandatorType") + public JAXBElement<String> createMandatorType(String value) { + return new JAXBElement<String>(_MandatorType_QNAME, String.class, null, value); + } + +} diff --git a/src/main/java/at/gv/util/xsd/misstork/package-info.java b/src/main/java/at/gv/util/xsd/misstork/package-info.java new file mode 100644 index 0000000..f729eb3 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/misstork/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/misstork/20131126/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.misstork; |