net.sf.basedb.core.data
Class ItemSubtypeFileTypeData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.ItemSubtypeFileTypeData
- All Implemented Interfaces:
- IdentifiableData
public class ItemSubtypeFileTypeData
- extends BasicData
This class hols information about which file types
can be used together with item subtypes.
- Since:
- 3.0
- Author:
- Nicklas
- See Also:
ItemSubtypeFileType
,
Developer documentation: Experimental platforms and item subtypes- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (Fri, 21 Oct 2011) $
- Hibernate: class
- table="`ItemSubtypeFileTypes`" lazy="true"
fileType
private DataFileTypeData fileType
subtype
private ItemSubtypeData subtype
required
private boolean required
multiple
private boolean multiple
ItemSubtypeFileTypeData
public ItemSubtypeFileTypeData()
getDataFileType
public DataFileTypeData getDataFileType()
- Get the file type.
- Hibernate: column
- name="`datafiletype_id`" not-null="true" unique-key="uniquefile"
- Hibernate: many-to-one
- outer-join="false" update="false"
setDataFileType
public void setDataFileType(DataFileTypeData fileType)
getItemSubtype
public ItemSubtypeData getItemSubtype()
- Get the item subtype.
- Hibernate: column
- name="`subtype_id`" not-null="true" unique-key="uniquefile"
- Hibernate: many-to-one
- outer-join="false" update="false"
setItemSubtype
public void setItemSubtype(ItemSubtypeData subtype)
isRequired
public boolean isRequired()
- If a file of this type is required or not.
- Hibernate: property
- column="`required`" type="boolean" not-null="true"
setRequired
public void setRequired(boolean required)
getAllowMultiple
public boolean getAllowMultiple()
- If multiple files of this type are allowed in a file set or not.
- Hibernate: property
- column="`allow_multiple`" type="boolean" not-null="true"
setAllowMultiple
public void setAllowMultiple(boolean multiple)