Package net.sf.basedb.core.data
Class ArraySlideData
- 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.ArraySlideData
-
- All Implemented Interfaces:
AnnotatableData
,IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
public class ArraySlideData extends AnnotatedData implements RegisteredData
This class represents a phycsical microarray slide.- Version:
- 2.0
- Author:
- enell
- See Also:
ArraySlide
, Developer documentation: Array LIMS (arrays)- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
- Hibernate: class
- table="`ArraySlides`" lazy="true"
-
-
Field Summary
Fields Modifier and Type Field Description private ArrayBatchData
arrayBatch
private String
barcode
private int
batchIndex
private PhysicalBioAssayData
bioassay
private boolean
destroyed
private Date
entryDate
static int
MAX_BARCODE_LENGTH
-
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ArraySlideData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayBatchData
getArrayBatch()
Get the arrayBatch of this slide.String
getBarcode()
Get the barcode of the slide.int
getBatchIndex()
Get the index of this slide in the batch.Date
getEntryDate()
Get the date this item was added to the database.PhysicalBioAssayData
getPhysicalBioAssay()
Get the bioassay.boolean
isDestroyed()
Check if the slide is flagged as destroyed or not.void
setArrayBatch(ArrayBatchData arrayBatch)
void
setBarcode(String barcode)
void
setBatchIndex(int batchIndex)
void
setDestroyed(boolean destroyed)
void
setEntryDate(Date entryDate)
void
setPhysicalBioAssay(PhysicalBioAssayData bioassay)
-
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
-
entryDate
private Date entryDate
-
batchIndex
private int batchIndex
-
destroyed
private boolean destroyed
-
MAX_BARCODE_LENGTH
public static final int MAX_BARCODE_LENGTH
- See Also:
- Constant Field Values
-
barcode
private String barcode
-
arrayBatch
private ArrayBatchData arrayBatch
-
bioassay
private PhysicalBioAssayData bioassay
-
-
Method Detail
-
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)
-
getBatchIndex
public int getBatchIndex()
Get the index of this slide in the batch.- Hibernate: property
- column="`batch_index`" type="int" not-null="true"
-
setBatchIndex
public void setBatchIndex(int batchIndex)
-
isDestroyed
public boolean isDestroyed()
Check if the slide is flagged as destroyed or not.- Hibernate: property
- column="`destroyed`" type="boolean" not-null="true"
-
setDestroyed
public void setDestroyed(boolean destroyed)
-
getBarcode
public String getBarcode()
Get the barcode of the slide.- Hibernate: property
- column="`barcode`" type="string" length="255" not-null="false"
-
setBarcode
public void setBarcode(String barcode)
-
getArrayBatch
public ArrayBatchData getArrayBatch()
Get the arrayBatch of this slide.- Hibernate: many-to-one
- column="`arraybatch_id`" not-null="true" update="false"
-
setArrayBatch
public void setArrayBatch(ArrayBatchData arrayBatch)
-
getPhysicalBioAssay
public PhysicalBioAssayData getPhysicalBioAssay()
Get the bioassay.- Since:
- 3.0
- Hibernate: one-to-one
- property-ref="arraySlide"
-
setPhysicalBioAssay
public void setPhysicalBioAssay(PhysicalBioAssayData bioassay)
-
-