01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com> and
03: * JR Boyens <gnu-jrb[remove] at gmx dot net>
04: * Distributed under the terms of either:
05: * - the common development and distribution license (CDDL), v1.0; or
06: * - the GNU Lesser General Public License, v2.1 or later
07: * $Id: BinaryBean.java 3634 2007-01-08 21:42:24Z gbevin $
08: */
09: package com.uwyn.rife.database.querymanagers.generic.beans;
10:
11: public class BinaryBean {
12: private int mId = -1;
13: private byte[] mTheBytes;
14:
15: public void setId(int id) {
16: mId = id;
17: }
18:
19: public int getId() {
20: return mId;
21: }
22:
23: public byte[] getTheBytes() {
24: return mTheBytes;
25: }
26:
27: public void setTheBytes(byte[] binary) {
28: mTheBytes = binary;
29: }
30: }
|