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/mis/usp | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/xsd/mis/usp')
5 files changed, 796 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java new file mode 100644 index 0000000..edc96a9 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesRequest.java @@ -0,0 +1,253 @@ + +package at.gv.util.xsd.mis.usp; + +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.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import javax.xml.datatype.XMLGregorianCalendar; + + +/** + * <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="Identification" type="{http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd}IdentificationType"/> + * <element name="MandateFilters" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded"> + * <element name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="RequestId" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> + * <attribute name="Timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> + * <attribute name="ApplicationId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "identification", + "mandateFilters" +}) +@XmlRootElement(name = "GetMandatesRequest") +public class GetMandatesRequest { + + @XmlElement(name = "Identification", required = true) + protected IdentificationType identification; + @XmlElement(name = "MandateFilters") + protected GetMandatesRequest.MandateFilters mandateFilters; + @XmlAttribute(name = "RequestId", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlSchemaType(name = "token") + protected String requestId; + @XmlAttribute(name = "Timestamp", required = true) + @XmlSchemaType(name = "dateTime") + protected XMLGregorianCalendar timestamp; + @XmlAttribute(name = "ApplicationId", required = true) + protected String applicationId; + + /** + * Gets the value of the identification property. + * + * @return + * possible object is + * {@link IdentificationType } + * + */ + public IdentificationType getIdentification() { + return identification; + } + + /** + * Sets the value of the identification property. + * + * @param value + * allowed object is + * {@link IdentificationType } + * + */ + public void setIdentification(IdentificationType value) { + this.identification = value; + } + + /** + * Gets the value of the mandateFilters property. + * + * @return + * possible object is + * {@link GetMandatesRequest.MandateFilters } + * + */ + public GetMandatesRequest.MandateFilters getMandateFilters() { + return mandateFilters; + } + + /** + * Sets the value of the mandateFilters property. + * + * @param value + * allowed object is + * {@link GetMandatesRequest.MandateFilters } + * + */ + public void setMandateFilters(GetMandatesRequest.MandateFilters value) { + this.mandateFilters = value; + } + + /** + * Gets the value of the requestId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRequestId() { + return requestId; + } + + /** + * Sets the value of the requestId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRequestId(String value) { + this.requestId = value; + } + + /** + * Gets the value of the timestamp property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getTimestamp() { + return timestamp; + } + + /** + * Sets the value of the timestamp property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setTimestamp(XMLGregorianCalendar value) { + this.timestamp = value; + } + + /** + * Gets the value of the applicationId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getApplicationId() { + return applicationId; + } + + /** + * Sets the value of the applicationId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setApplicationId(String value) { + this.applicationId = 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="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}string"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandateFilter" + }) + public static class MandateFilters { + + @XmlElement(name = "MandateFilter", required = true) + protected List<String> mandateFilter; + + /** + * Gets the value of the mandateFilter 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 mandateFilter property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getMandateFilter().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List<String> getMandateFilter() { + if (mandateFilter == null) { + mandateFilter = new ArrayList<String>(); + } + return this.mandateFilter; + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java new file mode 100644 index 0000000..016aff0 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/GetMandatesResponse.java @@ -0,0 +1,361 @@ + +package at.gv.util.xsd.mis.usp; + +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.XmlAttribute; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * <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="Mandates"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence maxOccurs="unbounded" minOccurs="0"> + * <element name="Mandate"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <sequence> + * <element name="Error"> + * <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 = { + "mandates", + "error" +}) +@XmlRootElement(name = "GetMandatesResponse") +public class GetMandatesResponse { + + @XmlElement(name = "Mandates") + protected GetMandatesResponse.Mandates mandates; + @XmlElement(name = "Error") + protected GetMandatesResponse.Error error; + + /** + * 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 error property. + * + * @return + * possible object is + * {@link GetMandatesResponse.Error } + * + */ + public GetMandatesResponse.Error getError() { + return error; + } + + /** + * Sets the value of the error property. + * + * @param value + * allowed object is + * {@link GetMandatesResponse.Error } + * + */ + public void setError(GetMandatesResponse.Error value) { + this.error = 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 Error { + + @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" minOccurs="0"> + * <element name="Mandate"> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </element> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mandate" + }) + public static class Mandates { + + @XmlElement(name = "Mandate") + protected List<GetMandatesResponse.Mandates.Mandate> 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 + * {@link GetMandatesResponse.Mandates.Mandate } + * + * + */ + public List<GetMandatesResponse.Mandates.Mandate> getMandate() { + if (mandate == null) { + mandate = new ArrayList<GetMandatesResponse.Mandates.Mandate>(); + } + return this.mandate; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> + * <attribute name="MandateFilter" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * </extension> + * </simpleContent> + * </complexType> + * </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "value" + }) + public static class Mandate { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "MandateFilter") + @XmlSchemaType(name = "anySimpleType") + protected String mandateFilter; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = ((byte[]) value); + } + + /** + * Gets the value of the mandateFilter property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMandateFilter() { + return mandateFilter; + } + + /** + * Sets the value of the mandateFilter property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMandateFilter(String value) { + this.mandateFilter = value; + } + + } + + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java b/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java new file mode 100644 index 0000000..69cbb1d --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/IdentificationType.java @@ -0,0 +1,92 @@ + +package at.gv.util.xsd.mis.usp; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Java class for IdentificationType complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <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"/> + * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IdentificationType", propOrder = { + "value", + "type" +}) +public class IdentificationType { + + @XmlElement(name = "Value", required = true) + protected String value; + @XmlElement(name = "Type", required = true) + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @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/mis/usp/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java new file mode 100644 index 0000000..3098483 --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/ObjectFactory.java @@ -0,0 +1,88 @@ + +package at.gv.util.xsd.mis.usp; + +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.mis.usp 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.mis.usp + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link GetMandatesResponse.Mandates.Mandate } + * + */ + public GetMandatesResponse.Mandates.Mandate createGetMandatesResponseMandatesMandate() { + return new GetMandatesResponse.Mandates.Mandate(); + } + + /** + * Create an instance of {@link GetMandatesResponse.Error } + * + */ + public GetMandatesResponse.Error createGetMandatesResponseError() { + return new GetMandatesResponse.Error(); + } + + /** + * 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(); + } + + /** + * Create an instance of {@link IdentificationType } + * + */ + public IdentificationType createIdentificationType() { + return new IdentificationType(); + } + + /** + * Create an instance of {@link GetMandatesRequest } + * + */ + public GetMandatesRequest createGetMandatesRequest() { + return new GetMandatesRequest(); + } + + /** + * Create an instance of {@link GetMandatesRequest.MandateFilters } + * + */ + public GetMandatesRequest.MandateFilters createGetMandatesRequestMandateFilters() { + return new GetMandatesRequest.MandateFilters(); + } + +} diff --git a/src/main/java/at/gv/util/xsd/mis/usp/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp/package-info.java new file mode 100644 index 0000000..2d58dba --- /dev/null +++ b/src/main/java/at/gv/util/xsd/mis/usp/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://reference.e-government.gv.at/namespace/mandates/mis/usp/1.0.2/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package at.gv.util.xsd.mis.usp; |