aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/moazs/scheme
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/egiz/moazs/scheme')
-rw-r--r--src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java b/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java
index c4fd0b7..f105278 100644
--- a/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java
+++ b/src/main/java/at/gv/egiz/moazs/scheme/MsgResponse.java
@@ -26,12 +26,13 @@ public abstract class MsgResponse <T> {
public String getResponseID() {
return id;
}
+ public String getRootElementLocalPart() {return getResponseAsJAXBElement().getName().getLocalPart();}
+ public abstract DeliveryAnswerType getAnswer();
public abstract T getResponse();
public abstract JAXBElement<T> getResponseAsJAXBElement();
public abstract String getAppDeliveryID();
public abstract String getZSDeliveryID();
- public abstract DeliveryAnswerType getAnswer();
/**
* Create an error response that is based on the current response.