From 5dc47d73d0fd22ddd159f339b518b01432ab4a5e Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Tue, 11 Apr 2023 18:20:25 +0200 Subject: fix(soap): add missing 'Serializable' implementations --- .../main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java | 10 +++++++--- .../main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyMap.java | 7 +++++-- 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 propertyEntries; +public class PDFASPropertyMap implements Serializable { + private static final long serialVersionUID = -8099703140108251423L; + + List propertyEntries; @XmlElement(required = true, nillable = false, name="propertyEntries") public List getPropertyEntries() { -- cgit v1.2.3