diff options
Diffstat (limited to 'pdf-as-common/src/main/java/at/gv/egiz/pdfas')
-rw-r--r-- | pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASPropertyEntry.java | 10 | ||||
-rw-r--r-- | pdf-as-common/src/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<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() { |