net.sf.basedb.core.data
Class FileSetData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.FileSetData
- All Implemented Interfaces:
- IdentifiableData
public class FileSetData
- extends BasicData
This class collects all files used to store data
for an item that store data in files instead of in the
database.
- Version:
- 2.5
- Author:
- Nicklas
- See Also:
FileSet
,
Data API - Experimental platforms- Last modified
- $Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $
- Hibernate: class
- table="`FileSets`" lazy="true"
itemType
private int itemType
members
private Map<DataFileTypeData,FileSetMemberData> members
FileSetData
public FileSetData()
getItemType
public int getItemType()
- Get the item type this file set is associated with.
- Hibernate: property
- column="`item_type`" type="int" not-null="true" update="false"
setItemType
public void setItemType(int itemType)
getMembers
public Map<DataFileTypeData,FileSetMemberData> getMembers()
- The members of this file set. This is the inverse end.
- See Also:
FileSetMemberData.getFileSet()
- Hibernate: map
- lazy="true" cascade="delete" inverse="true"
- Hibernate: index-many-to-many
- column="`datafiletype_id`" class="net.sf.basedb.core.data.DataFileTypeData"
- Hibernate: collection-key
- column="`fileset_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.FileSetMemberData"
setMembers
void setMembers(Map<DataFileTypeData,FileSetMemberData> members)