diff options
Diffstat (limited to 'src/main/java/at/gv/util/xsd/mms')
4 files changed, 529 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java b/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java new file mode 100644 index 0000000..9baf069 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/GetMandatesRequest.java @@ -0,0 +1,164 @@ + +package at.gv.util.xsd.mms; + +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; + + +/** + * <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="ssPIN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="MandateIdentifiers" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ssPIN", + "mandateIdentifiers" +}) +@XmlRootElement(name = "GetMandatesRequest") +public class GetMandatesRequest { + + @XmlElement(required = true) + protected String ssPIN; + @XmlElement(name = "MandateIdentifiers") + protected GetMandatesRequest.MandateIdentifiers mandateIdentifiers; + + /** + * Gets the value of the ssPIN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSsPIN() { + return ssPIN; + } + + /** + * Sets the value of the ssPIN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSsPIN(String value) { + this.ssPIN = value; + } + + /** + * Gets the value of the mandateIdentifiers property. + * + * @return + * possible object is + * {@link GetMandatesRequest.MandateIdentifiers } + * + */ + public GetMandatesRequest.MandateIdentifiers getMandateIdentifiers() { + return mandateIdentifiers; + } + + /** + * Sets the value of the mandateIdentifiers property. + * + * @param value + * allowed object is + * {@link GetMandatesRequest.MandateIdentifiers } + * + */ + public void setMandateIdentifiers(GetMandatesRequest.MandateIdentifiers value) { + this.mandateIdentifiers = 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 maxOccurs="unbounded"> + * <element name="MandateIdentifier" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateIdentifier" + }) + public static class MandateIdentifiers { + + @XmlElement(name = "MandateIdentifier", required = true) + protected List<String> mandateIdentifier; + + /** + * Gets the value of the mandateIdentifier 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 mandateIdentifier property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateIdentifier().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getMandateIdentifier() { + if (mandateIdentifier == null) { + mandateIdentifier = new ArrayList<String>(); + } + return this.mandateIdentifier; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java b/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java new file mode 100644 index 0000000..03a236a --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/GetMandatesResponse.java @@ -0,0 +1,291 @@ + +package at.gv.util.xsd.mms; + +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.XmlSchemaType; +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"> + * <choice> + * <sequence> + * <element name="ssPIN" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="Mandates"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <sequence> + * <element name="ErrorResponse"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * </choice> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ssPIN", + "mandates", + "errorResponse" +}) +@XmlRootElement(name = "GetMandatesResponse") +public class GetMandatesResponse { + + protected String ssPIN; + @XmlElement(name = "Mandates") + protected GetMandatesResponse.Mandates mandates; + @XmlElement(name = "ErrorResponse") + protected GetMandatesResponse.ErrorResponse errorResponse; + + /** + * Gets the value of the ssPIN property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSsPIN() { + return ssPIN; + } + + /** + * Sets the value of the ssPIN property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSsPIN(String value) { + this.ssPIN = value; + } + + /** + * Gets the value of the mandates property. + * + * @return + * possible object is + * {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates getMandates() { + return mandates; + } + + /** + * Sets the value of the mandates property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.Mandates } + * + */ + public void setMandates(GetMandatesResponse.Mandates value) { + this.mandates = value; + } + + /** + * Gets the value of the errorResponse property. + * + * @return + * possible object is + * {@link GetMandatesResponse.ErrorResponse } + * + */ + public GetMandatesResponse.ErrorResponse getErrorResponse() { + return errorResponse; + } + + /** + * Sets the value of the errorResponse property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.ErrorResponse } + * + */ + public void setErrorResponse(GetMandatesResponse.ErrorResponse value) { + this.errorResponse = 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 name="Code" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/> + * <element name="Info" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "code", + "info" + }) + public static class ErrorResponse { + + @XmlElement(name = "Code", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger code; + @XmlElement(name = "Info", required = true) + protected String info; + + /** + * Gets the value of the code property. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getCode() { + return code; + } + + /** + * Sets the value of the code property. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setCode(BigInteger value) { + this.code = value; + } + + /** + * Gets the value of the info property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfo() { + return info; + } + + /** + * Sets the value of the info property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfo(String value) { + this.info = 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 maxOccurs="unbounded"> + * <element name="Mandate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandate" + }) + public static class Mandates { + + @XmlElement(name = "Mandate", required = true) + protected List<byte[]> mandate; + + /** + * 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/mms/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java new file mode 100644 index 0000000..dbb7f62 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/ObjectFactory.java @@ -0,0 +1,72 @@ + +package at.gv.util.xsd.mms; + +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.mms 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.mms + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link GetMandatesRequest } + * + */ + public GetMandatesRequest createGetMandatesRequest() { + return new GetMandatesRequest(); + } + + /** + * Create an instance of {@link GetMandatesRequest.MandateIdentifiers } + * + */ + public GetMandatesRequest.MandateIdentifiers createGetMandatesRequestMandateIdentifiers() { + return new GetMandatesRequest.MandateIdentifiers(); + } + + /** + * Create an instance of {@link GetMandatesResponse.ErrorResponse } + * + */ + public GetMandatesResponse.ErrorResponse createGetMandatesResponseErrorResponse() { + return new GetMandatesResponse.ErrorResponse(); + } + + /** + * Create an instance of {@link GetMandatesResponse.Mandates } + * + */ + public GetMandatesResponse.Mandates createGetMandatesResponseMandates() { + return new GetMandatesResponse.Mandates(); + } + + /** + * Create an instance of {@link GetMandatesResponse } + * + */ + public GetMandatesResponse createGetMandatesResponse() { + return new GetMandatesResponse(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mms/package-info.java b/src/main/java/at/gv/util/xsd/mms/package-info.java new file mode 100644 index 0000000..a781218 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mms/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mms/1.0/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mms; |