Source code: com/RuntimeCollective/webapps/bean/DBFile.java
1 /* $Header: /home/CVS/rjp/src/com/RuntimeCollective/webapps/bean/DBFile.java,v 1.4 2003/09/30 15:13:09 joe Exp $
2 * $Revision: 1.4 $
3 * $Date: 2003/09/30 15:13:09 $
4 *
5 * ====================================================================
6 *
7 * Josephine : http://www.runtime-collective.com/josephine/index.html
8 *
9 * Copyright (C) 2003 Runtime Collective
10 *
11 * This product includes software developed by the
12 * Apache Software Foundation (http://www.apache.org/).
13 *
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
18 *
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
23 *
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 *
28 */
29
30 package com.RuntimeCollective.webapps.bean;
31
32 /** Database entry which manages and refers to an file in the database
33 *
34 * @author Lee Denison (lee@runtime-collective.com)
35 * @version $Id: DBFile.java,v 1.4 2003/09/30 15:13:09 joe Exp $
36 */
37 public interface DBFile extends EntityBean {
38
39 /** get the file name. */
40 public String getName();
41 /** set the file name. */
42 public void setName(String name);
43
44 /** get the mime type. */
45 public String getMimeType();
46 /** set the mime type. */
47 public void setMimeType(String mimeType);
48
49 /** get the file data. */
50 public byte[] getFileData();
51 /** set the file data. */
52 public void setFileData(byte[] fileData);
53
54 }