aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common
diff options
context:
space:
mode:
authorThomas <>2023-04-11 18:20:25 +0200
committerThomas <>2023-04-11 18:20:25 +0200
commit5dc47d73d0fd22ddd159f339b518b01432ab4a5e (patch)
tree774ac9a121cb43994f696b456db9fc99ef1c4fed /pdf-as-common
parent93f1fcda5b0e619a75081bf55af0c0ab1a4b9a32 (diff)
downloadpdf-as-4-5dc47d73d0fd22ddd159f339b518b01432ab4a5e.tar.gz
pdf-as-4-5dc47d73d0fd22ddd159f339b518b01432ab4a5e.tar.bz2
pdf-as-4-5dc47d73d0fd22ddd159f339b518b01432ab4a5e.zip
fix(soap): add missing 'Serializable' implementations4.3.0
Diffstat (limited to 'pdf-as-common')
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java10
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java7
2 files changed, 12 insertions, 5 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java
index d02c7bbc..0b9b21af 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java
@@ -1,11 +1,15 @@
package at.gv.egiz.pdfas.api.ws;
+import java.io.Serializable;
+
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
-@XmlType(name="PropertyEntry")
-public class PDFASPropertyEntry {
- String key;
+@XmlType(name="PropertyEntry")
+public class PDFASPropertyEntry implements Serializable {
+ private static final long serialVersionUID = -312145729002273058L;
+
+ String key;
String value;
@XmlElement(required = true, nillable = false, name="key")
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java
index 34dca6d2..c3949849 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java
@@ -1,5 +1,6 @@
package at.gv.egiz.pdfas.api.ws;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
@@ -11,8 +12,10 @@ import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
@XmlType(name="PropertyMap")
-public class PDFASPropertyMap {
- List<PDFASPropertyEntry> propertyEntries;
+public class PDFASPropertyMap implements Serializable {
+ private static final long serialVersionUID = -8099703140108251423L;
+
+ List<PDFASPropertyEntry> propertyEntries;
@XmlElement(required = true, nillable = false, name="propertyEntries")
public List<PDFASPropertyEntry> getPropertyEntries() {