summaryrefslogtreecommitdiff
path: root/STALService/src/main/java/at/gv/egiz/stal/service/types/GetNextRequestType.java
diff options
context:
space:
mode:
Diffstat (limited to 'STALService/src/main/java/at/gv/egiz/stal/service/types/GetNextRequestType.java')
-rw-r--r--STALService/src/main/java/at/gv/egiz/stal/service/types/GetNextRequestType.java29
1 files changed, 17 insertions, 12 deletions
diff --git a/STALService/src/main/java/at/gv/egiz/stal/service/types/GetNextRequestType.java b/STALService/src/main/java/at/gv/egiz/stal/service/types/GetNextRequestType.java
index eab3d40b..320d9136 100644
--- a/STALService/src/main/java/at/gv/egiz/stal/service/types/GetNextRequestType.java
+++ b/STALService/src/main/java/at/gv/egiz/stal/service/types/GetNextRequestType.java
@@ -3,11 +3,12 @@ package at.gv.egiz.stal.service.types;
import java.util.ArrayList;
import java.util.List;
+import javax.xml.bind.JAXBElement;
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.XmlElements;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlType;
@@ -24,6 +25,7 @@ import javax.xml.bind.annotation.XmlType;
* <element name="InfoboxReadResponse" type="{http://www.egiz.gv.at/stal}InfoboxReadResponseType"/>
* <element name="SignResponse" type="{http://www.egiz.gv.at/stal}SignResponseType"/>
* <element name="ErrorResponse" type="{http://www.egiz.gv.at/stal}ErrorResponseType"/>
+ * <element ref="{http://www.egiz.gv.at/stal}OtherResponse"/>
* </choice>
* <attribute name="SessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
@@ -39,12 +41,13 @@ import javax.xml.bind.annotation.XmlType;
})
public class GetNextRequestType {
- @XmlElements({
- @XmlElement(name = "SignResponse", type = SignResponseType.class),
- @XmlElement(name = "InfoboxReadResponse", type = InfoboxReadResponseType.class),
- @XmlElement(name = "ErrorResponse", type = ErrorResponseType.class)
+ @XmlElementRefs({
+ @XmlElementRef(name = "ErrorResponse", namespace = "http://www.egiz.gv.at/stal", type = JAXBElement.class),
+ @XmlElementRef(name = "SignResponse", namespace = "http://www.egiz.gv.at/stal", type = JAXBElement.class),
+ @XmlElementRef(name = "OtherResponse", namespace = "http://www.egiz.gv.at/stal", type = JAXBElement.class),
+ @XmlElementRef(name = "InfoboxReadResponse", namespace = "http://www.egiz.gv.at/stal", type = JAXBElement.class)
})
- protected List<ResponseType> infoboxReadResponseOrSignResponseOrErrorResponse;
+ protected List<JAXBElement<? extends at.gv.egiz.stal.service.types.ResponseType>> infoboxReadResponseOrSignResponseOrErrorResponse;
@XmlAttribute(name = "SessionId")
protected String sessionId;
@@ -66,15 +69,17 @@ public class GetNextRequestType {
*
* <p>
* Objects of the following type(s) are allowed in the list
- * {@link SignResponseType }
- * {@link InfoboxReadResponseType }
- * {@link ErrorResponseType }
+ * {@link JAXBElement }{@code <}{@link SignResponseType }{@code >}
+ * {@link JAXBElement }{@code <}{@link at.buergerkarte.namespaces.cardchannel.ResponseType }{@code >}
+ * {@link JAXBElement }{@code <}{@link ErrorResponseType }{@code >}
+ * {@link JAXBElement }{@code <}{@link at.gv.egiz.stal.service.types.ResponseType }{@code >}
+ * {@link JAXBElement }{@code <}{@link InfoboxReadResponseType }{@code >}
*
*
*/
- public List<ResponseType> getInfoboxReadResponseOrSignResponseOrErrorResponse() {
+ public List<JAXBElement<? extends at.gv.egiz.stal.service.types.ResponseType>> getInfoboxReadResponseOrSignResponseOrErrorResponse() {
if (infoboxReadResponseOrSignResponseOrErrorResponse == null) {
- infoboxReadResponseOrSignResponseOrErrorResponse = new ArrayList<ResponseType>();
+ infoboxReadResponseOrSignResponseOrErrorResponse = new ArrayList<JAXBElement<? extends at.gv.egiz.stal.service.types.ResponseType>>();
}
return this.infoboxReadResponseOrSignResponseOrErrorResponse;
}