Package net.sf.basedb.core.data
Class ArrayDesignData
- 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.ArrayDesignData
-
- All Implemented Interfaces:
AnnotatableData
,FileStoreEnabledData
,IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
public class ArrayDesignData extends AnnotatedData implements FileStoreEnabledData, RegisteredData
This class holds information about an arrayDesign- Version:
- 2.0
- Author:
- enell
- See Also:
ArrayDesign
, Developer documentation: Array LIMS (arrays)- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
- Hibernate: class
- table="`ArrayDesigns`" lazy="true"
-
-
Field Summary
Fields Modifier and Type Field Description private Set<ArrayBatchData>
arrayBatches
private Set<ArrayDesignBlockData>
arrayDesignBlocks
private int
dbFeatures
private Date
entryDate
private int
featureIdentificationMethod
private int
fileFeatures
private FileSetData
fileSet
private boolean
hasFeatures
private JobData
job
private int
numArrays
private Set<ArrayDesignPlateData>
plates
private PlatformData
platform
private PlatformVariantData
variant
-
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ArrayDesignData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Set<ArrayBatchData>
getArrayBatches()
This is the inverse end.(package private) Set<ArrayDesignBlockData>
getArrayDesignBlocks()
This is the inverse end.Date
getEntryDate()
Get the date this item was added to the database.int
getFeatureIdentificationMethod()
The method to use for identiying features. 1 = COORDINATES, 2 = POSITION, 3 = FEATURE_IDFileSetData
getFileSet()
Get the file set attached to this item.boolean
getHasFeatures()
If the array design has features or not.JobData
getJob()
Get the job that was used to import features to this array desingint
getNumArrays()
The number of arrays on a single slide.int
getNumDbFeatures()
The number of features on this array design that are stored in the database.int
getNumFileFeatures()
The number of features on this array design that are stored inside files.Set<ArrayDesignPlateData>
getPlates()
The plates this design is made from.PlatformData
getPlatform()
Get the platform this raw bioassay usesPlatformVariantData
getVariant()
Get the platform variant this raw bioassay uses, or null.(package private) void
setArrayBatches(Set<ArrayBatchData> arrayBatches)
(package private) void
setArrayDesignBlocks(Set<ArrayDesignBlockData> arrayDesignBlocks)
void
setEntryDate(Date entryDate)
void
setFeatureIdentificationMethod(int featureIdentificationMethod)
void
setFileSet(FileSetData fileSet)
Attach a file set to the item.void
setHasFeatures(boolean hasFeatures)
void
setJob(JobData job)
void
setNumArrays(int numArrays)
void
setNumDbFeatures(int dbFeatures)
void
setNumFileFeatures(int fileFeatures)
(package private) void
setPlates(Set<ArrayDesignPlateData> plates)
void
setPlatform(PlatformData platform)
void
setVariant(PlatformVariantData variant)
-
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 Detail
-
fileSet
private FileSetData fileSet
-
entryDate
private Date entryDate
-
platform
private PlatformData platform
-
variant
private PlatformVariantData variant
-
job
private JobData job
-
numArrays
private int numArrays
-
hasFeatures
private boolean hasFeatures
-
dbFeatures
private int dbFeatures
-
fileFeatures
private int fileFeatures
-
featureIdentificationMethod
private int featureIdentificationMethod
-
arrayDesignBlocks
private Set<ArrayDesignBlockData> arrayDesignBlocks
-
plates
private Set<ArrayDesignPlateData> plates
-
arrayBatches
private Set<ArrayBatchData> arrayBatches
-
-
Method Detail
-
getFileSet
public FileSetData 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
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 interfaceFileStoreEnabledData
-
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 interfaceRegisteredData
-
setEntryDate
public void setEntryDate(Date entryDate)
-
getPlatform
public PlatformData getPlatform()
Get the platform this raw bioassay uses- Since:
- 2.5
- Hibernate: column
- name="`platform_id`" not-null="true"
- Hibernate: many-to-one
- outer-join="false"
-
setPlatform
public void setPlatform(PlatformData platform)
-
getVariant
public PlatformVariantData getVariant()
Get the platform variant this raw bioassay uses, or null.- Since:
- 2.5
- Hibernate: column
- name="`variant_id`"
- Hibernate: many-to-one
- outer-join="false"
-
setVariant
public void setVariant(PlatformVariantData variant)
-
getJob
public JobData getJob()
Get the job that was used to import features to this array desing- Since:
- 2.7
- Hibernate: many-to-one
- column="`job_id`" not-null="false" outer-join="false"
-
setJob
public void setJob(JobData job)
- Since:
- 2.7
-
getNumArrays
public int getNumArrays()
The number of arrays on a single slide.- Since:
- 2.6
- Hibernate: property
- column="`num_arrays`" type="int" not-null="true"
-
setNumArrays
public void setNumArrays(int numArrays)
-
getHasFeatures
public boolean getHasFeatures()
If the array design has features or not.- Hibernate: property
- column="`has_features`" type="boolean" not-null="true"
-
setHasFeatures
public void setHasFeatures(boolean hasFeatures)
-
getNumDbFeatures
public int getNumDbFeatures()
The number of features on this array design that are stored in the database.- Since:
- 2.5
- Hibernate: property
- column="`db_features`" type="int" not-null="true"
-
setNumDbFeatures
public void setNumDbFeatures(int dbFeatures)
-
getNumFileFeatures
public int getNumFileFeatures()
The number of features on this array design that are stored inside files.- Since:
- 2.5
- Hibernate: property
- column="`file_features`" type="int" not-null="true"
-
setNumFileFeatures
public void setNumFileFeatures(int fileFeatures)
-
getFeatureIdentificationMethod
public int getFeatureIdentificationMethod()
The method to use for identiying features. 1 = COORDINATES, 2 = POSITION, 3 = FEATURE_ID- Since:
- 2.6
- Hibernate: property
- column="`identification_method`" type="int" not-null="true"
-
setFeatureIdentificationMethod
public void setFeatureIdentificationMethod(int featureIdentificationMethod)
-
getArrayDesignBlocks
Set<ArrayDesignBlockData> getArrayDesignBlocks()
This is the inverse end.- See Also:
ArrayDesignBlockData.getArrayDesign()
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`arraydesign_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ArrayDesignBlockData"
-
setArrayDesignBlocks
void setArrayDesignBlocks(Set<ArrayDesignBlockData> arrayDesignBlocks)
-
getPlates
public Set<ArrayDesignPlateData> getPlates()
The plates this design is made from.- Hibernate: set
- lazy="true" inverse="true" cascade="all-delete-orphan"
- Hibernate: collection-key
- column="`arraydesign_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ArrayDesignPlateData"
-
setPlates
void setPlates(Set<ArrayDesignPlateData> plates)
-
getArrayBatches
Set<ArrayBatchData> getArrayBatches()
This is the inverse end.- See Also:
ArrayBatchData.getArrayDesign()
- Hibernate: set
- lazy="true" inverse="true"
- Hibernate: collection-key
- column="`arraydesign_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ArrayBatchData"
-
setArrayBatches
void setArrayBatches(Set<ArrayBatchData> arrayBatches)
-
-