Package net.sf.basedb.core.data
Class ExperimentData
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.ExperimentData
- All Implemented Interfaces:
AnnotatableData
,DiskConsumableData
,IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
public class ExperimentData extends AnnotatedData implements DiskConsumableData, RegisteredData, LoggableData
Holds information about an experiment.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
Experiment
, Developer documentation: Experiments and analysis- Last modified
- $Date: 2015-05-13 11:36:12 +0200 (on, 13 maj 2015) $
- Hibernate: class
- table="`Experiments`" lazy="true"
-
Field Summary
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
Constructors Constructor Description ExperimentData()
-
Method Summary
Modifier and Type Method Description String
getAbstract()
Get the abstract for this experiment.String
getAffiliations()
Get the affiliations for this experiment.String
getAuthors()
Get the authors for this experiment.(package private) Set<BioAssaySetData>
getBioAssaySets()
This is the inverse end.long
getBytes()
The number of bytes the analysed data in this experiment occupies on disk.DirectoryData
getDirectory()
Get the associatedDirectoryData
item directory where it is recommended for plugins to save files related to the experiment.DiskUsageData
getDiskUsage()
Get theDiskUsageData
that this item use.Date
getEntryDate()
Get the date this item was added to the database.Set<AnnotationTypeData>
getExperimentalFactors()
The annotation types which describes the experimental factors for this experiment.String
getExperimentDesign()
Get the experimental design for this experiment.String
getExperimentType()
Get the experimental type for this experiment.(package private) Set<JobData>
getJobs()
This is the inverse end.String
getPublication()
Get the publication for this experiment.Date
getPublicationDate()
Get the publication date for this experiment.String
getPubMedId()
Get the publication for this experiment.(package private) Set<RawBioAssayData>
getRawBioAssays()
Duplicates the mappinggetRootRawBioAssays()
.String
getRawDataType()
Get the name of the raw data type used in this experiment.(package private) Set<ReporterListData>
getReporterLists()
This is the inverse end.Map<RawBioAssayData,RootRawBioAssayData>
getRootRawBioAssays()
Manages which raw bioassays are available in the experiment.String
getTitle()
Get the title for this experiment.(package private) Set<TransformationData>
getTransformations()
This is the inverse end.VirtualDbData
getVirtualDb()
Get the virtual database this experiment stores the analyzed data in.void
setAbstract(String theAbstract)
void
setAffiliations(String affiliations)
void
setAuthors(String authors)
(package private) void
setBioAssaySets(Set<BioAssaySetData> bioAssaySets)
void
setBytes(long bytes)
void
setDirectory(DirectoryData directory)
(package private) void
setDiskUsage(DiskUsageData diskUsage)
void
setEntryDate(Date entryDate)
(package private) void
setExperimentalFactors(Set<AnnotationTypeData> experimentalFactors)
void
setExperimentDesign(String experimentDesign)
void
setExperimentType(String experimentType)
(package private) void
setJobs(Set<JobData> jobs)
void
setPublication(String publication)
void
setPublicationDate(Date publicationDate)
void
setPubMedId(String pubMedId)
(package private) void
setRawBioAssays(Set<RawBioAssayData> rawBioAssays)
void
setRawDataType(String rawDataType)
(package private) void
setReporterLists(Set<ReporterListData> reporterLists)
(package private) void
setRootRawBioAssays(Map<RawBioAssayData,RootRawBioAssayData> rootRawBioAssays)
void
setTitle(String title)
(package private) void
setTransformations(Set<TransformationData> transformations)
void
setVirtualDb(VirtualDbData virtualDb)
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
-
diskUsage
-
entryDate
-
bytes
private long bytes -
rawDataType
-
directory
-
MAX_AUTHORS_LENGTH
public static final int MAX_AUTHORS_LENGTH- See Also:
- Constant Field Values
-
authors
-
MAX_AFFILIATIONS_LENGTH
public static final int MAX_AFFILIATIONS_LENGTH- See Also:
- Constant Field Values
-
affiliations
-
MAX_TITLE_LENGTH
public static final int MAX_TITLE_LENGTH- See Also:
- Constant Field Values
-
title
-
MAX_ABSTRACT_LENGTH
public static final int MAX_ABSTRACT_LENGTH- See Also:
- Constant Field Values
-
theAbstract
-
MAX_EXPERIMENT_DESIGN_LENGTH
public static final int MAX_EXPERIMENT_DESIGN_LENGTH- See Also:
- Constant Field Values
-
experimentDesign
-
MAX_EXPERIMENT_TYPE_LENGTH
public static final int MAX_EXPERIMENT_TYPE_LENGTH- See Also:
- Constant Field Values
-
experimentType
-
MAX_PUBLICATION_LENGTH
public static final int MAX_PUBLICATION_LENGTH- See Also:
- Constant Field Values
-
publication
-
MAX_PUBMEDID_LENGTH
public static final int MAX_PUBMEDID_LENGTH- See Also:
- Constant Field Values
-
pubMedId
-
publicationDate
-
virtualDb
-
rootRawBioAssays
-
rawBioAssays
-
bioAssaySets
-
transformations
-
jobs
-
experimentalFactors
-
reporterLists
-
-
Constructor Details
-
ExperimentData
public ExperimentData()
-
-
Method Details
-
getDiskUsage
Description copied from interface:DiskConsumableData
Get theDiskUsageData
that this item use.- Specified by:
getDiskUsage
in interfaceDiskConsumableData
-
setDiskUsage
-
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
-
getBytes
public long getBytes()The number of bytes the analysed data in this experiment occupies on disk. Updates to this column are done through SQL statements and not through this object.- Hibernate: property
- column="`bytes`" type="long" not-null="true" update="false"
-
setBytes
public void setBytes(long bytes) -
getRawDataType
Get the name of the raw data type used in this experiment.- Hibernate: property
- column="`rawdatatype`" type="string" length="255" not-null="true" update="false"
-
setRawDataType
-
getDirectory
Get the associatedDirectoryData
item directory where it is recommended for plugins to save files related to the experiment.- Hibernate: column
- name="`directory_id`" not-null="false"
- Hibernate: many-to-one
- outer-join="false"
-
setDirectory
-
getAuthors
Get the authors for this experiment.- Hibernate: property
- column="`authors`" type="text" not-null="false"
-
setAuthors
-
getAffiliations
Get the affiliations for this experiment.- Hibernate: property
- column="`affiliations`" type="text" not-null="false"
-
setAffiliations
-
getTitle
Get the title for this experiment.- Hibernate: property
- column="`title`" type="text" not-null="false"
-
setTitle
-
getAbstract
Get the abstract for this experiment.- Hibernate: property
- column="`abstract`" type="text" not-null="false"
-
setAbstract
-
getExperimentDesign
Get the experimental design for this experiment.- Hibernate: property
- column="`experiment_design`" type="text" not-null="false"
-
setExperimentDesign
-
getExperimentType
Get the experimental type for this experiment.- Hibernate: property
- column="`experiment_type`" type="text" not-null="false"
-
setExperimentType
-
getPublication
Get the publication for this experiment.- Hibernate: property
- column="`publication`" type="text" not-null="false"
-
setPublication
-
getPubMedId
Get the publication for this experiment.- Hibernate: property
- column="`pubmed_id`" type="string" not-null="false" length="255"
-
setPubMedId
-
getPublicationDate
Get the publication date for this experiment.- Hibernate: property
- column="`publication_date`" type="date" not-null="false"
-
setPublicationDate
-
getVirtualDb
Get the virtual database this experiment stores the analyzed data in.- Hibernate: many-to-one
- column="`virtualdb_id`" not-null="true" unique="true" outer-join="false" update="false" cascade="save-update"
-
setVirtualDb
-
getRootRawBioAssays
Manages which raw bioassays are available in the experiment. This is the inverse end.- Hibernate: map
- lazy="true" cascade="all-delete-orphan" inverse="true"
- Hibernate: index-many-to-many
- column="`rawbioassay_id`" class="net.sf.basedb.core.data.RawBioAssayData"
- Hibernate: collection-key
- column="`experiment_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.RootRawBioAssayData"
-
setRootRawBioAssays
-
getRawBioAssays
Set<RawBioAssayData> getRawBioAssays()Duplicates the mappinggetRootRawBioAssays()
. Kept for backwards compatibility with queries that join raw bioassays.- Hibernate: set
- table="`RootRawBioAssays`" lazy="true" inverse="true"
- Hibernate: collection-key
- column="`experiment_id`"
- Hibernate: collection-many-to-many
- column="`rawbioassay_id`" class="net.sf.basedb.core.data.RawBioAssayData"
-
setRawBioAssays
-
getBioAssaySets
Set<BioAssaySetData> getBioAssaySets()This is the inverse end.- See Also:
BioAssaySetData.getExperiment()
- Hibernate: set
- lazy="true" inverse="true"
- Hibernate: collection-key
- column="`experiment_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.BioAssaySetData"
-
setBioAssaySets
-
getTransformations
Set<TransformationData> getTransformations()This is the inverse end.- See Also:
TransformationData.getExperiment()
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`experiment_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.TransformationData"
-
setTransformations
-
getJobs
This is the inverse end.- Since:
- 2.4
- See Also:
JobData.getExperiment()
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`experiment_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.JobData"
-
setJobs
-
getExperimentalFactors
The annotation types which describes the experimental factors for this experiment.- Hibernate: set
- table="`ExperimentalFactors`" lazy="true"
- Hibernate: collection-key
- column="`experiment_id`"
- Hibernate: collection-many-to-many
- column="`annotationtype_id`" class="net.sf.basedb.core.data.AnnotationTypeData"
-
setExperimentalFactors
-
getReporterLists
Set<ReporterListData> getReporterLists()This is the inverse end.- Since:
- 2.7
- See Also:
ReporterListData.getExperiment()
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`experiment_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ReporterListData"
-
setReporterLists
-