3.1.2: 2012-07-31

net.sf.basedb.core.data
Class DerivedBioAssayData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.OwnedData
          extended by net.sf.basedb.core.data.SharedData
              extended by net.sf.basedb.core.data.CommonData
                  extended by net.sf.basedb.core.data.AnnotatedData
                      extended by 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: 2011-10-21 13:15:41 +0200 (Fri, 21 Oct 2011) $
Hibernate: class
table="`DerivedBioAssays`" lazy="true"

Field Summary
private  PhysicalBioAssayData bioAssay
           
private  Set<DerivedBioAssayData> children
           
private  Date entryDate
           
private  ExtractData extract
           
private  FileSetData fileSet
           
private  HardwareData hardware
           
private  JobData job
           
private  DerivedBioAssayData parent
           
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
DerivedBioAssayData()
           
 
Method Summary
(package private)  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.
 DerivedBioAssayData getParent()
          Get the bioassay that is the parent of this bioassay.
 PhysicalBioAssayData getPhysicalBioAssay()
          Get the physical bioassay that is the direct or indirect parent bioassay set.
 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.
(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 setParent(DerivedBioAssayData parent)
           
 void setPhysicalBioAssay(PhysicalBioAssayData bioAssay)
           
 void setProtocol(ProtocolData protocol)
           
(package private)  void setRawBioAssays(Set<RawBioAssayData> rawBioAssays)
           
 void setSoftware(SoftwareData software)
           
 
Methods inherited from class net.sf.basedb.core.data.AnnotatedData
getAnnotationSet, setAnnotationSet
 
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class net.sf.basedb.core.data.OwnedData
getOwner, setOwner
 
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 Detail

subtype

private ItemSubtypeData subtype

fileSet

private FileSetData fileSet

entryDate

private Date entryDate

bioAssay

private PhysicalBioAssayData bioAssay

parent

private DerivedBioAssayData parent

children

private Set<DerivedBioAssayData> children

rawBioAssays

private Set<RawBioAssayData> rawBioAssays

protocol

private ProtocolData protocol

hardware

private HardwareData hardware

software

private SoftwareData software

job

private JobData job

extract

private ExtractData extract
Constructor Detail

DerivedBioAssayData

public DerivedBioAssayData()
Method Detail

getItemSubtype

public ItemSubtypeData getItemSubtype()
Description copied from interface: SubtypableData
Get the subtype of the item.

Specified by:
getItemSubtype in interface SubtypableData

setItemSubtype

public void setItemSubtype(ItemSubtypeData subtype)
Description copied from interface: SubtypableData
Set the subtype of the item.

Specified by:
setItemSubtype in interface SubtypableData

getFileSet

public FileSetData getFileSet()
Description copied from interface: FileStoreEnabledData
Get the file set attached to this item.

Specified by:
getFileSet in interface FileStoreEnabledData
Returns:
A FileSetData object or null if no files are attached

setFileSet

public void setFileSet(FileSetData fileSet)
Description copied from interface: FileStoreEnabledData
Attach a file set to the item. Null is allowed to unlink it.

Specified by:
setFileSet in interface FileStoreEnabledData

getEntryDate

public Date 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 interface RegisteredData

setEntryDate

public void setEntryDate(Date entryDate)

getPhysicalBioAssay

public PhysicalBioAssayData getPhysicalBioAssay()
Get the physical bioassay that is the direct or indirect parent bioassay set.

Hibernate: many-to-one
column="`bioassay_id`" not-null="true" update="false" outer-join="false"

setPhysicalBioAssay

public void setPhysicalBioAssay(PhysicalBioAssayData bioAssay)

getParent

public DerivedBioAssayData getParent()
Get the bioassay that is the parent of this bioassay. Null if this bioassay was created from a physical bioassay.

Hibernate: many-to-one
column="`parent_id`" not-null="false" update="false" outer-join="false"

setParent

public void setParent(DerivedBioAssayData parent)

getChildren

Set<DerivedBioAssayData> getChildren()
This is the inverse end.

See Also:
getParent()
Hibernate: set
lazy="true" inverse="true"
Hibernate: collection-key
column="`parent_id`"
Hibernate: collection-one-to-many
class="net.sf.basedb.core.data.DerivedBioAssayData"

setChildren

void setChildren(Set<DerivedBioAssayData> children)

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

void setRawBioAssays(Set<RawBioAssayData> rawBioAssays)

getProtocol

public ProtocolData getProtocol()
Get the protocol used to create this bioassay set.

Hibernate: many-to-one
column="`protocol_id`" not-null="false" outer-join="false"

setProtocol

public void setProtocol(ProtocolData protocol)

getHardware

public HardwareData getHardware()
Get the hardware used to create this bioassay set.

Hibernate: many-to-one
column="`hardware_id`" not-null="false" outer-join="false"

setHardware

public void setHardware(HardwareData hardware)

getSoftware

public SoftwareData getSoftware()
Get the software used to create this bioassay set.

Hibernate: many-to-one
column="`software_id`" not-null="false" outer-join="false"

setSoftware

public void setSoftware(SoftwareData software)

getJob

public JobData getJob()
Get the job used to create this bioassay set.

Hibernate: many-to-one
column="`job_id`" not-null="false" update="false" outer-join="false"

setJob

public void setJob(JobData job)

getExtract

public ExtractData getExtract()
Get the extract that this bioassay is related to.

Hibernate: many-to-one
column="`extract_id`" not-null="false" outer-join="false"

setExtract

public void setExtract(ExtractData extract)

3.1.2: 2012-07-31