Package net.sf.basedb.core.data
Interface FileStoreEnabledData
-
- All Superinterfaces:
IdentifiableData
- All Known Implementing Classes:
ArrayDesignData
,BioAssaySetData
,DerivedBioAssayData
,ExtraValueData
,RawBioAssayData
public interface FileStoreEnabledData extends IdentifiableData
Items implementing this interface can store data in files instead of in the database. Files are collected in file sets.This interface defines Hibernate database mapping for the
fileSet
property to the database columnfileset_id
. If a subclass wants to map the property to another column, it should override thegetFileSet()
method and add a Hibernate tag in the comment.Reference implementation
private FileSetData fileSet; public FileSetData getFileSet() { return fileSet; } public void setFileSet(FileSetData fileSet) { this.fileSet = fileSet; }
- Version:
- 2.5
- Author:
- Nicklas
- See Also:
- Developer documentation: Experimental platforms and item subtypes
- Last modified
- $Date: 2015-04-21 09:59:42 +0200 (ti, 21 apr 2015) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileSetData
getFileSet()
Get the file set attached to this item.void
setFileSet(FileSetData file)
Attach a file set to the item.-
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
-
-
-
-
Method Detail
-
getFileSet
@NotLoggable FileSetData getFileSet()
Get the file set attached to this item.- Returns:
- A
FileSetData
object or null if no files are attached - Hibernate: many-to-one
- column="`fileset_id`" not-null="false" outer-join="false" unique="true" cascade="delete"
-
setFileSet
void setFileSet(FileSetData file)
Attach a file set to the item. Null is allowed to unlink it.
-
-