summaryrefslogtreecommitdiff
path: root/utils/src/main/java/at
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-12-09 16:23:11 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-12-09 16:23:11 +0000
commit34f9096244278da49ffcf9313fe6ed0d03fd8386 (patch)
treefc6a135f18cb5db4f78994750826549e6023ee87 /utils/src/main/java/at
parent6f34b1722aa7e6c4a726a7376499a17fd2691f47 (diff)
downloadmocca-34f9096244278da49ffcf9313fe6ed0d03fd8386.tar.gz
mocca-34f9096244278da49ffcf9313fe6ed0d03fd8386.tar.bz2
mocca-34f9096244278da49ffcf9313fe6ed0d03fd8386.zip
SW case sensitive
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@245 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
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;
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>hexBinary">
* &lt;attribute name="sequence" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
* &lt;attribute name="rc" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
- * &lt;attribute name="sw" type="{http://www.w3.org/2001/XMLSchema}hexBinary" default="9000" />
+ * &lt;attribute name="SW" type="{http://www.w3.org/2001/XMLSchema}hexBinary" default="9000" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/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;