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
This class hols information about which file types
are used on which experimental platforms and variants.
- Version:
- 2.5
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
- Hibernate: class
- table="`PlatformFileTypes`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate DataFileTypeData
private boolean
private PlatformData
private boolean
private PlatformVariantData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If multiple files of this type are allowed in a file set or not.Get the file type.Get the platform.Get the platform variant or null.boolean
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)
-