Package 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
,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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the item type this file set is associated with.The members of this file set.void
setItemType
(int itemType) (package private) void
setMembers
(Set<FileSetMemberData> members) Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
itemType
private int itemType -
members
-
-
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
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
-