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
This class holds information about a well on a plate.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2023-11-21 10:31:51 +0100 (Tue, 21 Nov 2023) $
- Hibernate: class
- table="`Wells`" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate AnnotationSetData
private int
private Set<AnnotationLink>
private WellData
private PlateData
private ReporterData
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionShort-cut to all annotations belonging to this item.Get the annotation set that holds the annotations for an item.int
The column coordinate of this well.If the plate was created from aPlateMappingData
this property points to the well on the source plate used in the mapping.getPlate()
The plate this well belongs to.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
void
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:
- 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:
- 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
-