|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileStoreEnabledData
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 column fileset_id
.
If a subclass wants to map the property to another column,
it should override the getFileSet()
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; }
Method Summary | |
---|---|
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 |
---|
FileSetData getFileSet()
FileSetData
object or null if no files are attachedvoid setFileSet(FileSetData file)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |