Package net.sf.basedb.core.data
Class PlatformFileTypeData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.PlatformFileTypeData
- All Implemented Interfaces:
IdentifiableData
public class PlatformFileTypeData extends BasicData
This class hols information about which file types
are used on which experimental platforms and variants.
- Version:
- 2.5
- Author:
- Nicklas
- See Also:
PlatformFileType
, Developer documentation: Experimental platforms and item subtypes- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
- Hibernate: class
- table="`PlatformFileTypes`" lazy="true"
-
Field Summary
Fields Modifier and Type Field Description private DataFileTypeData
fileType
private boolean
multiple
private PlatformData
platform
private boolean
required
private PlatformVariantData
variant
-
Constructor Summary
Constructors Constructor Description PlatformFileTypeData()
-
Method Summary
Modifier and Type Method Description boolean
getAllowMultiple()
If multiple files of this type are allowed in a file set or not.DataFileTypeData
getDataFileType()
Get the file type.PlatformData
getPlatform()
Get the platform.PlatformVariantData
getVariant()
Get the platform variant or null.boolean
isRequired()
If a file of this type is required or not.void
setAllowMultiple(boolean multiple)
void
setDataFileType(DataFileTypeData fileType)
void
setPlatform(PlatformData platform)
void
setRequired(boolean required)
void
setVariant(PlatformVariantData variant)
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
fileType
-
platform
-
variant
-
required
private boolean required -
multiple
private boolean multiple
-
-
Constructor Details
-
PlatformFileTypeData
public PlatformFileTypeData()
-
-
Method Details
-
getDataFileType
Get the file type.- Hibernate: column
- name="`datafiletype_id`" not-null="true"
- Hibernate: many-to-one
- outer-join="false" update="false"
-
setDataFileType
-
getPlatform
Get the platform.- Hibernate: column
- name="`platform_id`" not-null="true"
- Hibernate: many-to-one
- outer-join="false" update="false"
-
setPlatform
-
getVariant
Get the platform variant or null.- Hibernate: column
- name="`variant_id`" not-null="false"
- Hibernate: many-to-one
- outer-join="false" update="false"
-
setVariant
-
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)
-