1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */16packageorg.apache.jetspeed.om.apps.email;
1718import org.apache.commons.lang.ObjectUtils;
1920import org.apache.torque.om.Persistent;
2122/*** 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 the28 * application requirements. This class will only be generated as29 * 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 */35publicclass EmailInbox
36extends org.apache.jetspeed.om.apps.email.BaseEmailInbox
37 implements Persistent
38 {
39/***40 * The value for the attachment field41 */42private byte[] attachment;
4344/***45 * Get the Attachment46 *47 * @return byte[]48 */49public byte[] getAttachment()
50 {
51return attachment;
52 }
535455/***56 * Set the value of Attachment57 *58 * @param v new value59 */60publicvoid setAttachment(byte[] v)
61 {
62if (!ObjectUtils.equals(this.attachment, v))
63 {
64this.attachment = v;
65 setModified(true);
66 }
67 }
68697071 }