2.17.2: 2011-06-17

net.sf.basedb.core.data
Class WellData

java.lang.Object
  extended by net.sf.basedb.core.data.BasicData
      extended by net.sf.basedb.core.data.WellData
All Implemented Interfaces:
AnnotatableData, IdentifiableData

public class WellData
extends BasicData
implements AnnotatableData

This class holds information about a well on a plate.

Version:
2.0
Author:
Nicklas
See Also:
Well, Array LIMS - Plates overview
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
Hibernate: class
table="`Wells`" lazy="true"

Field Summary
private  AnnotationSetData annotationSet
           
private  int column
           
private  WellData parent
           
private  PlateData plate
           
private  ReporterData reporter
           
private  int row
           
 
Constructor Summary
WellData()
           
 
Method Summary
 AnnotationSetData getAnnotationSet()
          Get the annotation set that holds the annotations for an item.
 int getColumn()
          The column coordinate of this well.
 WellData getParent()
          If the plate was created from a PlateMappingData this property points to the well on the source plate used in the mapping.
 PlateData getPlate()
          The plate this well belongs to.
 ReporterData getReporter()
          The reporter used in this well.
 int getRow()
          The row coordinate of this well.
 void setAnnotationSet(AnnotationSetData annotationSet)
          Change the annotation set.
 void setColumn(int column)
           
 void setParent(WellData parent)
           
 void setPlate(PlateData plate)
           
 void setReporter(ReporterData reporter)
           
 void setRow(int row)
           
 
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
 

Field Detail

annotationSet

private AnnotationSetData annotationSet

plate

private PlateData plate

row

private int row

column

private int column

parent

private WellData parent

reporter

private ReporterData reporter
Constructor Detail

WellData

public WellData()
Method Detail

getAnnotationSet

public AnnotationSetData getAnnotationSet()
Description copied from interface: AnnotatableData
Get the annotation set that holds the annotations for an item.

Specified by:
getAnnotationSet in interface AnnotatableData
Returns:
An AnnotationSetData item or null if no annotations exist

setAnnotationSet

public void setAnnotationSet(AnnotationSetData annotationSet)
Description copied from interface: AnnotatableData
Change the annotation set. Use null to remove the annotations.

Specified by:
setAnnotationSet in interface AnnotatableData
Parameters:
annotationSet - Annotation set to change to.

getPlate

public PlateData getPlate()
The plate this well belongs to.

See Also:
PlateData.getWells()
Hibernate: many-to-one
column="`plate_id`" not-null="true" outer-join="false" update="false"

setPlate

public void setPlate(PlateData plate)

getRow

public int getRow()
The row coordinate of this well.

Hibernate: property
column="`row`" type="int" not-null="true" update="false"

setRow

public void setRow(int row)

getColumn

public int getColumn()
The column coordinate of this well.

Hibernate: property
column="`column`" type="int" not-null="true" update="false"

setColumn

public void setColumn(int column)

getParent

public WellData getParent()
If the plate was created from a PlateMappingData this property points to the well on the source plate used in the mapping.

See Also:
PlateMappingData.getDetails()
Hibernate: many-to-one
column="`parent_id`" not-null="false" outer-join="false" update="false"

setParent

public void setParent(WellData parent)

getReporter

public ReporterData getReporter()
The reporter used in this well.

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

setReporter

public void setReporter(ReporterData reporter)

2.17.2: 2011-06-17