Package net.sf.basedb.core.data
Class DerivedBioAssayData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.AnnotatedData
net.sf.basedb.core.data.DerivedBioAssayData
- All Implemented Interfaces:
AnnotatableData
,FileStoreEnabledData
,IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
,SubtypableData
public class DerivedBioAssayData extends AnnotatedData implements RegisteredData, FileStoreEnabledData, SubtypableData
- Since:
- 3.0
- Author:
- Nicklas
- See Also:
- Developer documentation: Bioassays and raw data
- Last modified
- $Date: 2021-03-26 08:26:24 +0100 (Fri, 26 Mar 2021) $
- Hibernate: class
- table="`DerivedBioAssays`" lazy="true"
-
Field Summary
Fields Modifier and Type Field Description private Set<DerivedBioAssayData>
children
private Date
entryDate
private ExtractData
extract
private FileSetData
fileSet
private HardwareData
hardware
private boolean
isRoot
private JobData
job
private KitData
kit
private Set<DerivedBioAssayData>
parents
private Set<PhysicalBioAssayData>
physicalBioAssays
private ProtocolData
protocol
private Set<RawBioAssayData>
rawBioAssays
private SoftwareData
software
private ItemSubtypeData
subtype
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
Constructors Constructor Description DerivedBioAssayData()
-
Method Summary
Modifier and Type Method Description Set<DerivedBioAssayData>
getChildren()
This is the inverse end.Date
getEntryDate()
Get the date this item was added to the database.ExtractData
getExtract()
Get the extract that this bioassay is related to.FileSetData
getFileSet()
Get the file set attached to this item.HardwareData
getHardware()
Get the hardware used to create this bioassay set.ItemSubtypeData
getItemSubtype()
Get the subtype of the item.JobData
getJob()
Get the job used to create this bioassay set.KitData
getKit()
Get the kit used to create this bioassay set.Set<DerivedBioAssayData>
getParents()
A set that manages the parent bioassays that this derived bioassay related to.Set<PhysicalBioAssayData>
getPhysicalBioAssays()
A set that manages the parent physical bioassays that this derived bioassay is related to.ProtocolData
getProtocol()
Get the protocol used to create this bioassay set.(package private) Set<RawBioAssayData>
getRawBioAssays()
This is the inverse end.SoftwareData
getSoftware()
Get the software used to create this bioassay set.boolean
isRoot()
A flag indicating if this is a root derived bioassay or not.(package private) void
setChildren(Set<DerivedBioAssayData> children)
void
setEntryDate(Date entryDate)
void
setExtract(ExtractData extract)
void
setFileSet(FileSetData fileSet)
Attach a file set to the item.void
setHardware(HardwareData hardware)
void
setItemSubtype(ItemSubtypeData subtype)
Set the subtype of the item.void
setJob(JobData job)
void
setKit(KitData kit)
(package private) void
setParents(Set<DerivedBioAssayData> parents)
(package private) void
setPhysicalBioAssays(Set<PhysicalBioAssayData> physicalBioAssays)
void
setProtocol(ProtocolData protocol)
(package private) void
setRawBioAssays(Set<RawBioAssayData> rawBioAssays)
void
setRoot(boolean isRoot)
void
setSoftware(SoftwareData software)
Methods inherited from class net.sf.basedb.core.data.AnnotatedData
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
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
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
-
Field Details
-
subtype
-
fileSet
-
entryDate
-
isRoot
private boolean isRoot -
physicalBioAssays
-
parents
-
children
-
rawBioAssays
-
protocol
-
kit
-
hardware
-
software
-
job
-
extract
-
-
Constructor Details
-
DerivedBioAssayData
public DerivedBioAssayData()
-
-
Method Details
-
getItemSubtype
Description copied from interface:SubtypableData
Get the subtype of the item.- Specified by:
getItemSubtype
in interfaceSubtypableData
-
setItemSubtype
Description copied from interface:SubtypableData
Set the subtype of the item.- Specified by:
setItemSubtype
in interfaceSubtypableData
-
getFileSet
Description copied from interface:FileStoreEnabledData
Get the file set attached to this item.- Specified by:
getFileSet
in interfaceFileStoreEnabledData
- Returns:
- A
FileSetData
object or null if no files are attached
-
setFileSet
Description copied from interface:FileStoreEnabledData
Attach a file set to the item. Null is allowed to unlink it.- Specified by:
setFileSet
in interfaceFileStoreEnabledData
-
getEntryDate
Description copied from interface:RegisteredData
Get the date this item was added to the database. The value is generated at creation time and can't be modified later.- Specified by:
getEntryDate
in interfaceRegisteredData
-
setEntryDate
-
isRoot
public boolean isRoot()A flag indicating if this is a root derived bioassay or not. A root bioassay can only have physical bioassays as parents, while a non-root bioassay only can have other derived bioassays as parents (but the physical bioassays collection should be automatically managed to reflect the parents of the parents, etc.)- Since:
- 3.2
- Hibernate: property
- column="`is_root`" type="boolean" not-null="true"
-
setRoot
public void setRoot(boolean isRoot) -
getPhysicalBioAssays
A set that manages the parent physical bioassays that this derived bioassay is related to.- Since:
- 3.2
- Hibernate: set
- table="`ParentPhysicalBioAssays`" lazy="true"
- Hibernate: collection-key
- column="`derivedbioassay_id`"
- Hibernate: collection-many-to-many
- column="`physicalbioassay_id`" class="net.sf.basedb.core.data.PhysicalBioAssayData"
-
setPhysicalBioAssays
-
getParents
A set that manages the parent bioassays that this derived bioassay related to.- Since:
- 3.2
- Hibernate: set
- table="`ParentDerivedBioAssays`" lazy="true"
- Hibernate: collection-key
- column="`derivedbioassay_id`"
- Hibernate: collection-many-to-many
- column="`parentbioassay_id`" class="net.sf.basedb.core.data.DerivedBioAssayData"
-
setParents
-
getChildren
This is the inverse end.- See Also:
getParents()
- Hibernate: set
- table="`ParentDerivedBioAssays`" lazy="true" inverse="true"
- Hibernate: collection-key
- column="`parentbioassay_id`"
- Hibernate: collection-many-to-many
- column="`derivedbioassay_id`" class="net.sf.basedb.core.data.DerivedBioAssayData"
-
setChildren
-
getRawBioAssays
Set<RawBioAssayData> getRawBioAssays()This is the inverse end.- See Also:
RawBioAssayData.getParentBioAssay()
- Hibernate: set
- lazy="true" inverse="true"
- Hibernate: collection-key
- column="`bioassay_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.RawBioAssayData"
-
setRawBioAssays
-
getProtocol
Get the protocol used to create this bioassay set.- Hibernate: many-to-one
- column="`protocol_id`" not-null="false" outer-join="false"
-
setProtocol
-
getKit
Get the kit used to create this bioassay set.- Since:
- 3.7
- Hibernate: many-to-one
- column="`kit_id`" not-null="false" outer-join="false"
-
setKit
-
getHardware
Get the hardware used to create this bioassay set.- Hibernate: many-to-one
- column="`hardware_id`" not-null="false" outer-join="false"
-
setHardware
-
getSoftware
Get the software used to create this bioassay set.- Hibernate: many-to-one
- column="`software_id`" not-null="false" outer-join="false"
-
setSoftware
-
getJob
Get the job used to create this bioassay set.- Hibernate: many-to-one
- column="`job_id`" not-null="false" outer-join="false"
-
setJob
-
getExtract
Get the extract that this bioassay is related to.- Hibernate: many-to-one
- column="`extract_id`" not-null="false" outer-join="false"
-
setExtract
-