Package net.sf.basedb.core.data
Class WellData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.WellData
- All Implemented Interfaces:
AnnotatableData
,IdentifiableData
,NoAutoUnlinkAnyToAny
public class WellData extends BasicData implements AnnotatableData, NoAutoUnlinkAnyToAny
This class holds information about a well on a plate.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
Well
, Developer documentation: Array LIMS (plates)- Last modified
- $Date: 2023-11-21 10:31:51 +0100 (Tue, 21 Nov 2023) $
- Hibernate: class
- table="`Wells`" lazy="true"
-
Field Summary
Fields Modifier and Type Field Description private AnnotationSetData
annotationSet
private int
column
private Set<AnnotationLink>
links
private WellData
parent
private PlateData
plate
private ReporterData
reporter
private int
row
-
Constructor Summary
Constructors Constructor Description WellData()
-
Method Summary
Modifier and Type Method Description Set<AnnotationLink>
getAnnotations()
Short-cut to all annotations belonging to this item.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 aPlateMappingData
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.(package private) void
setAnnotations(Set<AnnotationLink> links)
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 Details
-
annotationSet
-
links
-
plate
-
row
private int row -
column
private int column -
parent
-
reporter
-
-
Constructor Details
-
WellData
public WellData()
-
-
Method Details
-
getAnnotationSet
Description copied from interface:AnnotatableData
Get the annotation set that holds the annotations for an item.- Specified by:
getAnnotationSet
in interfaceAnnotatableData
- Returns:
- An
AnnotationSetData
item or null if no annotations exist
-
setAnnotationSet
Description copied from interface:AnnotatableData
Change the annotation set. Use null to remove the annotations.- Specified by:
setAnnotationSet
in interfaceAnnotatableData
- Parameters:
annotationSet
- Annotation set to change to.
-
getAnnotations
Description copied from interface:AnnotatableData
Short-cut to all annotations belonging to this item. Used for HQL queries only. This is the inverse end. NOTE! The property-ref="annotationSet" require that AnnotationSetData implements Serializable- Specified by:
getAnnotations
in interfaceAnnotatableData
-
setAnnotations
-
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
-
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
If the plate was created from aPlateMappingData
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
-
getReporter
The reporter used in this well.- Hibernate: many-to-one
- column="`reporter_id`" not-null="false" outer-join="false" update="false"
-
setReporter
-