3.0.2: 2012-01-25

net.sf.basedb.core.data
Class ItemSubtypeFileTypeData

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

Field Summary
private  DataFileTypeData fileType
           
private  boolean multiple
           
private  boolean required
           
private  ItemSubtypeData subtype
           
 
Constructor Summary
ItemSubtypeFileTypeData()
           
 
Method Summary
 boolean getAllowMultiple()
          If multiple files of this type are allowed in a file set or not.
 DataFileTypeData getDataFileType()
          Get the file type.
 ItemSubtypeData getItemSubtype()
          Get the item subtype.
 boolean isRequired()
          If a file of this type is required or not.
 void setAllowMultiple(boolean multiple)
           
 void setDataFileType(DataFileTypeData fileType)
           
 void setItemSubtype(ItemSubtypeData subtype)
           
 void setRequired(boolean required)
           
 
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

fileType

private DataFileTypeData fileType

subtype

private ItemSubtypeData subtype

required

private boolean required

multiple

private boolean multiple
Constructor Detail

ItemSubtypeFileTypeData

public ItemSubtypeFileTypeData()
Method Detail

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)

3.0.2: 2012-01-25