public class PlateData extends AnnotatedData implements RegisteredData
Plate
,
Developer documentation: Array LIMS (plates)Modifier and Type | Field and Description |
---|---|
private Set<ArrayDesignPlateData> |
arrayDesigns |
private String |
barcode |
private Set<PlateData> |
children |
private int |
destinationIndex |
private boolean |
destroyed |
private Date |
entryDate |
private Map<PlateEventTypeData,PlateEventData> |
events |
static int |
MAX_BARCODE_LENGTH
The maximum length of the barcode that can be stored in the database.
|
private Map<PlateData,Integer> |
parents |
private Set<PlateData> |
parentSet |
private PlateMappingData |
plateMapping |
private PlateTypeData |
plateType |
private Map<PlateCoordinate,WellData> |
wells |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
PlateData() |
Modifier and Type | Method and Description |
---|---|
(package private) Set<ArrayDesignPlateData> |
getArrayDesigns()
Used by Hibernate to link with the arraydesign for this plate.
|
String |
getBarcode()
Get the barcode for the plate.
|
(package private) Set<PlateData> |
getChildren()
The childs plates created by plate mappings.
|
int |
getDestinationIndex()
If the plate was created by a plate mapping, this is the index
of this plate in the list of created plates.
|
Date |
getEntryDate()
Get the date this item was added to the database.
|
Map<PlateEventTypeData,PlateEventData> |
getEvents()
The event for this plate.
|
Map<PlateData,Integer> |
getParents()
If the plate was created by a
PlateMappingData the source plates
are kept here. |
(package private) Set<PlateData> |
getParentSet()
Duplicate of
getParents() but with a set instead of a map. |
PlateMappingData |
getPlateMapping()
If this plate was created by a plate mapping, it is linked here.
|
PlateTypeData |
getPlateType()
The plate type of this plate.
|
Map<PlateCoordinate,WellData> |
getWells()
The wells on this plate.
|
boolean |
isDestroyed()
If the plate has been destroyed.
|
(package private) void |
setArrayDesigns(Set<ArrayDesignPlateData> arrayDesigns) |
void |
setBarcode(String barcode) |
(package private) void |
setChildren(Set<PlateData> children) |
void |
setDestinationIndex(int destinationIndex) |
void |
setDestroyed(boolean destroyed) |
void |
setEntryDate(Date entryDate) |
(package private) void |
setEvents(Map<PlateEventTypeData,PlateEventData> events) |
(package private) void |
setParents(Map<PlateData,Integer> parents) |
(package private) void |
setParentSet(Set<PlateData> parentSet) |
void |
setPlateMapping(PlateMappingData plateMapping) |
void |
setPlateType(PlateTypeData plateType) |
(package private) void |
setWells(Map<PlateCoordinate,WellData> wells) |
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
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
private PlateTypeData plateType
public static final int MAX_BARCODE_LENGTH
setBarcode(String)
,
Constant Field Valuesprivate String barcode
private boolean destroyed
private PlateMappingData plateMapping
private int destinationIndex
private Map<PlateEventTypeData,PlateEventData> events
private Map<PlateCoordinate,WellData> wells
private Set<ArrayDesignPlateData> arrayDesigns
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public PlateTypeData getPlateType()
PlateTypeData.getPlates()
public void setPlateType(PlateTypeData plateType)
public String getBarcode()
public void setBarcode(String barcode)
public boolean isDestroyed()
public void setDestroyed(boolean destroyed)
public PlateMappingData getPlateMapping()
getParents()
property.public void setPlateMapping(PlateMappingData plateMapping)
public int getDestinationIndex()
public void setDestinationIndex(int destinationIndex)
public Map<PlateData,Integer> getParents()
PlateMappingData
the source plates
are kept here.getPlateMapping()
Set<PlateData> getParentSet()
getParents()
but with a set instead of a map.
This is needed if we want to use the parent plates in a query.getParents()
Set<PlateData> getChildren()
getParents()
public Map<PlateEventTypeData,PlateEventData> getEvents()
PlateEventData.getPlate()
void setEvents(Map<PlateEventTypeData,PlateEventData> events)
public Map<PlateCoordinate,WellData> getWells()
WellData.getPlate()
void setWells(Map<PlateCoordinate,WellData> wells)
Set<ArrayDesignPlateData> getArrayDesigns()
void setArrayDesigns(Set<ArrayDesignPlateData> arrayDesigns)