summaryrefslogtreecommitdiff
path: root/utils/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/main/java/at')
-rw-r--r--utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java8
-rw-r--r--utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java2
2 files changed, 6 insertions, 4 deletions
diff --git a/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java
index 70cf1963..7499b9ac 100644
--- a/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java
+++ b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/ResponseAPDUType.java
@@ -26,7 +26,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
* <extension base="<http://www.w3.org/2001/XMLSchema>hexBinary">
* <attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* <attribute name="rc" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
- * <attribute name="sw" type="{http://www.w3.org/2001/XMLSchema}hexBinary" default="9000" />
+ * <attribute name="SW" type="{http://www.w3.org/2001/XMLSchema}hexBinary" default="9000" />
* </extension>
* </simpleContent>
* </complexType>
@@ -49,7 +49,7 @@ public class ResponseAPDUType {
protected BigInteger sequence;
@XmlAttribute
protected BigInteger rc;
- @XmlAttribute
+ @XmlAttribute(name = "SW")
@XmlJavaTypeAdapter(HexBinaryAdapter.class)
@XmlSchemaType(name = "hexBinary")
protected byte[] sw;
@@ -138,7 +138,7 @@ public class ResponseAPDUType {
* {@link String }
*
*/
- public byte[] getSw() {
+ public byte[] getSW() {
if (sw == null) {
return new HexBinaryAdapter().unmarshal("9000");
} else {
@@ -154,7 +154,7 @@ public class ResponseAPDUType {
* {@link String }
*
*/
- public void setSw(byte[] value) {
+ public void setSW(byte[] value) {
this.sw = ((byte[]) value);
}
diff --git a/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java
new file mode 100644
index 00000000..13f79000
--- /dev/null
+++ b/utils/src/main/java/at/buergerkarte/namespaces/cardchannel/package-info.java
@@ -0,0 +1,2 @@
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.buergerkarte.at/cardchannel", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package at.buergerkarte.namespaces.cardchannel;