Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps.bean
Interface DBFile  view DBFile download DBFile.java

All Superinterfaces:
EntityBean, java.io.Serializable
All Known Implementing Classes:
ServletFile, SimpleDBFile

public interface DBFile
extends EntityBean

Database entry which manages and refers to an file in the database

Version:
$Id: DBFile.java,v 1.4 2003/09/30 15:13:09 joe Exp $

Field Summary
 
Fields inherited from interface com.RuntimeCollective.webapps.bean.EntityBean
DATABASE_TABLE, INTERFACE_BEAN, NULL_ID
 
Method Summary
 byte[] getFileData()
          get the file data.
 java.lang.String getMimeType()
          get the mime type.
 java.lang.String getName()
          get the file name.
 void setFileData(byte[] fileData)
          set the file data.
 void setMimeType(java.lang.String mimeType)
          set the mime type.
 void setName(java.lang.String name)
          set the file name.
 
Methods inherited from interface com.RuntimeCollective.webapps.bean.EntityBean
delete, getId, save, setId
 

Method Detail

getName

public java.lang.String getName()
get the file name.


setName

public void setName(java.lang.String name)
set the file name.


getMimeType

public java.lang.String getMimeType()
get the mime type.


setMimeType

public void setMimeType(java.lang.String mimeType)
set the mime type.


getFileData

public byte[] getFileData()
get the file data.


setFileData

public void setFileData(byte[] fileData)
set the file data.