From 5b885bcd03379faaacffbe8db7ccf2bbe01c3613 Mon Sep 17 00:00:00 2001 From: tzefferer Date: Fri, 27 Jul 2007 08:56:53 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@161 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../knowcenter/wag/egov/egiz/web/PDFContainer.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/main/java/at/knowcenter/wag/egov/egiz/web/PDFContainer.java (limited to 'src/main/java/at/knowcenter/wag') 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(); + } + +} + + -- cgit v1.2.3