2.17.2: 2011-06-17

net.sf.basedb.core.data
Class FileSetData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by 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"

Field Summary
private  int itemType
           
private  Map<DataFileTypeData,FileSetMemberData> members
           
 
Constructor Summary
FileSetData()
           
 
Method Summary
 int getItemType()
          Get the item type this file set is associated with.
 Map<DataFileTypeData,FileSetMemberData> getMembers()
          The members of this file set.
 void setItemType(int itemType)
           
(package private)  void setMembers(Map<DataFileTypeData,FileSetMemberData> members)
           
 
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

itemType

private int itemType

members

private Map<DataFileTypeData,FileSetMemberData> members
Constructor Detail

FileSetData

public FileSetData()
Method Detail

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)

2.17.2: 2011-06-17