summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-03-08 08:07:11 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-03-08 08:07:11 +0100
commitc7e92047632432346c13723925f45888461887e9 (patch)
tree3cc1e96e2d0bc59047b484bbb86f227e21aa9cb9 /src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token
parente5474ef416f8d9f6cb2c3b6e900ad1eb5ac20a38 (diff)
downloadegovutils-c7e92047632432346c13723925f45888461887e9.tar.gz
egovutils-c7e92047632432346c13723925f45888461887e9.tar.bz2
egovutils-c7e92047632432346c13723925f45888461887e9.zip
add USP_v2 client implementation
Diffstat (limited to 'src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token')
-rw-r--r--src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ActionTypeType.java51
-rw-r--r--src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenRequest.java92
-rw-r--r--src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResponse.java93
-rw-r--r--src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResultType.java65
-rw-r--r--src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenType.java143
-rw-r--r--src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ObjectFactory.java77
-rw-r--r--src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/package-info.java2
7 files changed, 523 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ActionTypeType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ActionTypeType.java
new file mode 100644
index 0000000..bac6108
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ActionTypeType.java
@@ -0,0 +1,51 @@
+
+package at.gv.util.xsd.mis.usp_v2.eai.token;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java-Klasse für ActionTypeType.
+ *
+ * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="ActionTypeType"&gt;
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
+ * &lt;enumeration value="CreateMandate"/&gt;
+ * &lt;enumeration value="TerminateMandate"/&gt;
+ * &lt;/restriction&gt;
+ * &lt;/simpleType&gt;
+ * </pre>
+ *
+ */
+@XmlType(name = "ActionTypeType")
+@XmlEnum
+public enum ActionTypeType {
+
+ @XmlEnumValue("CreateMandate")
+ CREATE_MANDATE("CreateMandate"),
+ @XmlEnumValue("TerminateMandate")
+ TERMINATE_MANDATE("TerminateMandate");
+ private final String value;
+
+ ActionTypeType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static ActionTypeType fromValue(String v) {
+ for (ActionTypeType c: ActionTypeType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenRequest.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenRequest.java
new file mode 100644
index 0000000..8dc0bdf
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenRequest.java
@@ -0,0 +1,92 @@
+
+package at.gv.util.xsd.mis.usp_v2.eai.token;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java-Klasse für anonymous complex type.
+ *
+ * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
+ *
+ * <pre>
+ * &lt;complexType&gt;
+ * &lt;complexContent&gt;
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
+ * &lt;sequence&gt;
+ * &lt;any namespace='##other'/&gt;
+ * &lt;/sequence&gt;
+ * &lt;attribute name="ActionType" type="{http://eai.brz.gv.at/services/vdds/token}ActionTypeType" /&gt;
+ * &lt;/restriction&gt;
+ * &lt;/complexContent&gt;
+ * &lt;/complexType&gt;
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "any"
+})
+@XmlRootElement(name = "ModificationTokenRequest")
+public class ModificationTokenRequest {
+
+ @XmlAnyElement(lax = true)
+ protected Object any;
+ @XmlAttribute(name = "ActionType")
+ protected ActionTypeType actionType;
+
+ /**
+ * Ruft den Wert der any-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Legt den Wert der any-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+ /**
+ * Ruft den Wert der actionType-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link ActionTypeType }
+ *
+ */
+ public ActionTypeType getActionType() {
+ return actionType;
+ }
+
+ /**
+ * Legt den Wert der actionType-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link ActionTypeType }
+ *
+ */
+ public void setActionType(ActionTypeType value) {
+ this.actionType = value;
+ }
+
+}
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResponse.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResponse.java
new file mode 100644
index 0000000..f7e895d
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResponse.java
@@ -0,0 +1,93 @@
+
+package at.gv.util.xsd.mis.usp_v2.eai.token;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java-Klasse für anonymous complex type.
+ *
+ * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
+ *
+ * <pre>
+ * &lt;complexType&gt;
+ * &lt;complexContent&gt;
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
+ * &lt;sequence&gt;
+ * &lt;element name="Result" type="{http://eai.brz.gv.at/services/vdds/token}ModificationTokenResultType"/&gt;
+ * &lt;any namespace='##other' minOccurs="0"/&gt;
+ * &lt;/sequence&gt;
+ * &lt;/restriction&gt;
+ * &lt;/complexContent&gt;
+ * &lt;/complexType&gt;
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "result",
+ "any"
+})
+@XmlRootElement(name = "ModificationTokenResponse")
+public class ModificationTokenResponse {
+
+ @XmlElement(name = "Result", required = true)
+ protected ModificationTokenResultType result;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+
+ /**
+ * Ruft den Wert der result-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link ModificationTokenResultType }
+ *
+ */
+ public ModificationTokenResultType getResult() {
+ return result;
+ }
+
+ /**
+ * Legt den Wert der result-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link ModificationTokenResultType }
+ *
+ */
+ public void setResult(ModificationTokenResultType value) {
+ this.result = value;
+ }
+
+ /**
+ * Ruft den Wert der any-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Legt den Wert der any-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+}
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResultType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResultType.java
new file mode 100644
index 0000000..11ee649
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenResultType.java
@@ -0,0 +1,65 @@
+
+package at.gv.util.xsd.mis.usp_v2.eai.token;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import at.gv.util.xsd.mis.usp_v2.eai.common.ReferableResultType;
+
+
+/**
+ * <p>Java-Klasse für ModificationTokenResultType complex type.
+ *
+ * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
+ *
+ * <pre>
+ * &lt;complexType name="ModificationTokenResultType"&gt;
+ * &lt;complexContent&gt;
+ * &lt;extension base="{http://eai.brz.gv.at/services/vdds/common}ReferableResultType"&gt;
+ * &lt;sequence&gt;
+ * &lt;element ref="{http://eai.brz.gv.at/services/vdds/token}ModificationToken" minOccurs="0"/&gt;
+ * &lt;/sequence&gt;
+ * &lt;/extension&gt;
+ * &lt;/complexContent&gt;
+ * &lt;/complexType&gt;
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ModificationTokenResultType", propOrder = {
+ "modificationToken"
+})
+public class ModificationTokenResultType
+ extends ReferableResultType
+{
+
+ @XmlElement(name = "ModificationToken")
+ protected ModificationTokenType modificationToken;
+
+ /**
+ * Ruft den Wert der modificationToken-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link ModificationTokenType }
+ *
+ */
+ public ModificationTokenType getModificationToken() {
+ return modificationToken;
+ }
+
+ /**
+ * Legt den Wert der modificationToken-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link ModificationTokenType }
+ *
+ */
+ public void setModificationToken(ModificationTokenType value) {
+ this.modificationToken = value;
+ }
+
+}
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenType.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenType.java
new file mode 100644
index 0000000..8d91583
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ModificationTokenType.java
@@ -0,0 +1,143 @@
+
+package at.gv.util.xsd.mis.usp_v2.eai.token;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java-Klasse für ModificationTokenType complex type.
+ *
+ * <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
+ *
+ * <pre>
+ * &lt;complexType name="ModificationTokenType"&gt;
+ * &lt;simpleContent&gt;
+ * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
+ * &lt;attribute name="IssuedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
+ * &lt;attribute name="ValidUntil" type="{http://www.w3.org/2001/XMLSchema}dateTime" /&gt;
+ * &lt;anyAttribute/&gt;
+ * &lt;/extension&gt;
+ * &lt;/simpleContent&gt;
+ * &lt;/complexType&gt;
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ModificationTokenType", propOrder = {
+ "value"
+})
+public class ModificationTokenType {
+
+ @XmlValue
+ protected String value;
+ @XmlAttribute(name = "IssuedAt")
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar issuedAt;
+ @XmlAttribute(name = "ValidUntil")
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar validUntil;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Ruft den Wert der value-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Legt den Wert der value-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Ruft den Wert der issuedAt-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getIssuedAt() {
+ return issuedAt;
+ }
+
+ /**
+ * Legt den Wert der issuedAt-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setIssuedAt(XMLGregorianCalendar value) {
+ this.issuedAt = value;
+ }
+
+ /**
+ * Ruft den Wert der validUntil-Eigenschaft ab.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public XMLGregorianCalendar getValidUntil() {
+ return validUntil;
+ }
+
+ /**
+ * Legt den Wert der validUntil-Eigenschaft fest.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setValidUntil(XMLGregorianCalendar value) {
+ this.validUntil = value;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * the map is keyed by the name of the attribute and
+ * the value is the string value of the attribute.
+ *
+ * the map returned by this method is live, and you can add new attribute
+ * by updating the map directly. Because of this design, there's no setter.
+ *
+ *
+ * @return
+ * always non-null
+ */
+ public Map<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ObjectFactory.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ObjectFactory.java
new file mode 100644
index 0000000..55fd842
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/ObjectFactory.java
@@ -0,0 +1,77 @@
+
+package at.gv.util.xsd.mis.usp_v2.eai.token;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+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.mis.usp_v2.eai.token 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 _ModificationToken_QNAME = new QName("http://eai.brz.gv.at/services/vdds/token", "ModificationToken");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: at.gv.util.xsd.mis.usp_v2.eai.token
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link ModificationTokenType }
+ *
+ */
+ public ModificationTokenType createModificationTokenType() {
+ return new ModificationTokenType();
+ }
+
+ /**
+ * Create an instance of {@link ModificationTokenRequest }
+ *
+ */
+ public ModificationTokenRequest createModificationTokenRequest() {
+ return new ModificationTokenRequest();
+ }
+
+ /**
+ * Create an instance of {@link ModificationTokenResponse }
+ *
+ */
+ public ModificationTokenResponse createModificationTokenResponse() {
+ return new ModificationTokenResponse();
+ }
+
+ /**
+ * Create an instance of {@link ModificationTokenResultType }
+ *
+ */
+ public ModificationTokenResultType createModificationTokenResultType() {
+ return new ModificationTokenResultType();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ModificationTokenType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://eai.brz.gv.at/services/vdds/token", name = "ModificationToken")
+ public JAXBElement<ModificationTokenType> createModificationToken(ModificationTokenType value) {
+ return new JAXBElement<ModificationTokenType>(_ModificationToken_QNAME, ModificationTokenType.class, null, value);
+ }
+
+}
diff --git a/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/package-info.java b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/package-info.java
new file mode 100644
index 0000000..5eb1f4f
--- /dev/null
+++ b/src/main/java/at/gv/util/xsd/mis/usp_v2/eai/token/package-info.java
@@ -0,0 +1,2 @@
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://eai.brz.gv.at/services/vdds/token", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package at.gv.util.xsd.mis.usp_v2.eai.token;