Class FileSetData

java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.FileSetData
All Implemented Interfaces:
IdentifiableData, NoAutoUnlinkAnyToAny

public class FileSetData extends BasicData implements NoAutoUnlinkAnyToAny
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:
Last modified
$Date: 2023-11-21 10:31:51 +0100 (Tue, 21 Nov 2023) $
Hibernate: class
table="`FileSets`" lazy="true"
  • Field Details

  • Constructor Details

    • FileSetData

      public FileSetData()
  • Method Details

    • 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 Set<FileSetMemberData> getMembers()
      The members of this file set. This is the inverse end.
      Since:
      3.0 (was returning a Map in BASE 2.x)
      See Also:
      Hibernate: set
      lazy="true" cascade="delete" inverse="true"
      Hibernate: collection-key
      column="`fileset_id`"
      Hibernate: collection-one-to-many
      class="net.sf.basedb.core.data.FileSetMemberData"
    • setMembers

      void setMembers(Set<FileSetMemberData> members)