1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.jetspeed.om.apps.email;
17
18 import org.apache.commons.lang.ObjectUtils;
19
20 import org.apache.torque.om.Persistent;
21
22 /***
23 * The skeleton for this class was autogenerated by Torque on:
24 *
25 * [Wed Mar 10 18:18:45 PST 2004]
26 *
27 * You should add additional methods to this class to meet the
28 * application requirements. This class will only be generated as
29 * long as it does not already exist in the output directory.
30 *
31 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
32 * @version $Id: EmailInbox.java,v 1.1 2004/03/11 18:32:05 taylor Exp $
33 *
34 */
35 public class EmailInbox
36 extends org.apache.jetspeed.om.apps.email.BaseEmailInbox
37 implements Persistent
38 {
39 /***
40 * The value for the attachment field
41 */
42 private byte[] attachment;
43
44 /***
45 * Get the Attachment
46 *
47 * @return byte[]
48 */
49 public byte[] getAttachment()
50 {
51 return attachment;
52 }
53
54
55 /***
56 * Set the value of Attachment
57 *
58 * @param v new value
59 */
60 public void setAttachment(byte[] v)
61 {
62 if (!ObjectUtils.equals(this.attachment, v))
63 {
64 this.attachment = v;
65 setModified(true);
66 }
67 }
68
69
70
71 }