public class BioPlateData extends AnnotatedData implements RegisteredData
BioPlate
,
Developer documentation: Biomaterials LIMSModifier and Type | Field and Description |
---|---|
private String |
barcode |
private BioPlateTypeData |
bioPlateType |
private Map<PlateCoordinate,BioWellData> |
bioWells |
private boolean |
destroyed |
private Date |
entryDate |
private Date |
eventDate |
private Set<BioPlateEventParticipantData> |
eventParticipants |
private String |
externalId |
private int |
freeWells |
private HardwareData |
freezer |
static int |
MAX_BARCODE_LENGTH
The maximum length of the barcode that can be stored in the database.
|
static int |
MAX_EXTERNAL_ID_LENGTH
The maximum length of the external id that can be stored in the database.
|
static int |
MAX_POSITION_LENGTH
The maximum length of the position coordinate that can be stored in the database.
|
static int |
MAX_SECTION_LENGTH
The maximum length of the section coordinate that can be stored in the database.
|
static int |
MAX_TRAY_LENGTH
The maximum length of the tray coordinate that can be stored in the database.
|
private PlateGeometryData |
plateGeometry |
private String |
position |
private String |
section |
private String |
tray |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
BioPlateData() |
Modifier and Type | Method and Description |
---|---|
String |
getBarcode()
Get the barcode for the bioplate.
|
BioPlateTypeData |
getBioPlateType()
Get the type of the bioplate.
|
Map<PlateCoordinate,BioWellData> |
getBioWells()
The wells on this plate.
|
Date |
getEntryDate()
Get the date this item was added to the database.
|
Date |
getEventDate()
Get the date this plate was created in the lab.
|
(package private) Set<BioPlateEventParticipantData> |
getEventParticipants()
This is the inverse end.
|
String |
getExternalId()
Get the external id for the biomaterial
|
int |
getFreeWells()
Get the number of wells that are free on the bioplate.
|
HardwareData |
getFreezer()
Get the hardware, ie. freezer where the plate is kept.
|
PlateGeometryData |
getPlateGeometry()
The geometry of this plate type.
|
String |
getPosition()
Get the position in the storage location were the bioplate is stored.
|
String |
getSection()
Get the section in the storage location were the bioplate is stored.
|
String |
getTray()
Get the tray in the storage location were the bioplate is stored.
|
boolean |
isDestroyed()
If the plate has been destroyed.
|
void |
setBarcode(String barcode) |
void |
setBioPlateType(BioPlateTypeData bioPlateType) |
(package private) void |
setBioWells(Map<PlateCoordinate,BioWellData> bioWells) |
void |
setDestroyed(boolean destroyed) |
void |
setEntryDate(Date entryDate) |
void |
setEventDate(Date eventDate) |
(package private) void |
setEventParticipants(Set<BioPlateEventParticipantData> eventParticipants) |
void |
setExternalId(String externalId) |
void |
setFreeWells(int freeWells) |
void |
setFreezer(HardwareData freezer) |
void |
setPlateGeometry(PlateGeometryData plateGeometry) |
void |
setPosition(String position) |
void |
setSection(String section) |
void |
setTray(String tray) |
void |
updateFreeWells(int diff)
Update the number of free wells with the given difference
|
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
getDescription, getName, isRemoved, setDescription, setName, setRemoved
getItemKey, getProjectKey, setItemKey, setProjectKey
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
getOwner, setOwner
private Date entryDate
public static final int MAX_EXTERNAL_ID_LENGTH
setExternalId(String)
,
Constant Field Valuesprivate String externalId
public static final int MAX_BARCODE_LENGTH
setBarcode(String)
,
Constant Field Valuesprivate String barcode
private boolean destroyed
private Date eventDate
private PlateGeometryData plateGeometry
private HardwareData freezer
public static final int MAX_SECTION_LENGTH
setSection(String)
,
Constant Field Valuesprivate String section
public static final int MAX_TRAY_LENGTH
setTray(String)
,
Constant Field Valuesprivate String tray
public static final int MAX_POSITION_LENGTH
setPosition(String)
,
Constant Field Valuesprivate String position
private BioPlateTypeData bioPlateType
private int freeWells
private Map<PlateCoordinate,BioWellData> bioWells
private Set<BioPlateEventParticipantData> eventParticipants
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public String getExternalId()
public void setExternalId(String externalId)
public String getBarcode()
public void setBarcode(String barcode)
public boolean isDestroyed()
public void setDestroyed(boolean destroyed)
public Date getEventDate()
public void setEventDate(Date eventDate)
public PlateGeometryData getPlateGeometry()
public void setPlateGeometry(PlateGeometryData plateGeometry)
public HardwareData getFreezer()
public void setFreezer(HardwareData freezer)
public String getSection()
public void setSection(String section)
public String getTray()
public void setTray(String tray)
public String getPosition()
public void setPosition(String position)
public BioPlateTypeData getBioPlateType()
public void setBioPlateType(BioPlateTypeData bioPlateType)
public int getFreeWells()
public void setFreeWells(int freeWells)
public void updateFreeWells(int diff)
public Map<PlateCoordinate,BioWellData> getBioWells()
BioWellData.getBioPlate()
void setBioWells(Map<PlateCoordinate,BioWellData> bioWells)
Set<BioPlateEventParticipantData> getEventParticipants()
BioPlateEventParticipantData.getBioPlate()
void setEventParticipants(Set<BioPlateEventParticipantData> eventParticipants)