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: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
Hibernate: class
table="`ItemSubtypeFileTypes`" lazy="true"
  • Field Details

    • fileType

      private DataFileTypeData fileType
    • subtype

      private ItemSubtypeData subtype
    • required

      private boolean required
    • multiple

      private boolean multiple
  • Constructor Details

    • ItemSubtypeFileTypeData

      public ItemSubtypeFileTypeData()
  • Method Details

    • getDataFileType

      public DataFileTypeData getDataFileType()
      Get the file type.
      Hibernate: column
      name="`datafiletype_id`" not-null="true" unique-key="ItemSubtypeFileType_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="ItemSubtypeFileType_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)