diff options
author | tzefferer <tzefferer@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-07-27 08:56:53 +0000 |
---|---|---|
committer | tzefferer <tzefferer@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-07-27 08:56:53 +0000 |
commit | 5b885bcd03379faaacffbe8db7ccf2bbe01c3613 (patch) | |
tree | 7faacba60e5ee6c9481bca7b6beb925ae0fb02fb /src | |
parent | 4a62d9920761905bde7e6b08b60a0137955d2152 (diff) | |
download | pdf-as-3-5b885bcd03379faaacffbe8db7ccf2bbe01c3613.tar.gz pdf-as-3-5b885bcd03379faaacffbe8db7ccf2bbe01c3613.tar.bz2 pdf-as-3-5b885bcd03379faaacffbe8db7ccf2bbe01c3613.zip |
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@161 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/web/PDFContainer.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/PDFContainer.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/PDFContainer.java new file mode 100644 index 0000000..6c9823c --- /dev/null +++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/PDFContainer.java @@ -0,0 +1,27 @@ +package at.knowcenter.wag.egov.egiz.web;
+
+public class PDFContainer {
+
+ public long id;
+ public byte[] pdf;
+
+
+ public PDFContainer(byte[] pdf, long id) {
+ this.id = id;
+ this.pdf = pdf;
+ }
+
+ public boolean equals(Object pc) {
+ if(pc instanceof PDFContainer) {
+ return (this.id == ((PDFContainer)pc).id);
+ }
+ return false;
+ }
+ public int hashCode() {
+ Long l = new Long(this.id);
+ return l.intValue();
+ }
+
+}
+
+
|