aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authortzefferer <tzefferer@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-27 08:56:53 +0000
committertzefferer <tzefferer@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-27 08:56:53 +0000
commit5b885bcd03379faaacffbe8db7ccf2bbe01c3613 (patch)
tree7faacba60e5ee6c9481bca7b6beb925ae0fb02fb /src/main/java/at
parent4a62d9920761905bde7e6b08b60a0137955d2152 (diff)
downloadpdf-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/main/java/at')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/web/PDFContainer.java27
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();
+ }
+
+}
+
+