public class BioMaterialEventData extends BasicData implements RegisteredData, LoggableData
BioMaterialEvent
,
Developer documentation: Biomaterials LIMSModifier and Type | Field and Description |
---|---|
private PhysicalBioAssayData |
bioassay |
private MeasuredBioMaterialData |
bioMaterial |
private BioPlateEventParticipantData |
bioPlateEventParticipant |
private String |
comment |
private Date |
entryDate |
private Date |
eventDate |
private int |
eventType |
private HardwareData |
hardware |
private KitData |
kit |
static int |
MAX_COMMENT_LENGTH
The maximum length of the comment about this event.
|
private ProtocolData |
protocol |
private Map<BioMaterialData,BioMaterialEventSourceData> |
sources |
private Float |
usedQuantity |
private UserData |
user |
Constructor and Description |
---|
BioMaterialEventData() |
Modifier and Type | Method and Description |
---|---|
MeasuredBioMaterialData |
getBioMaterial()
Get the biomaterial produced or affected by this event.
|
BioPlateEventParticipantData |
getBioPlateEventParticipant()
Get the bioplate event that is the master event for this event.
|
String |
getComment()
Get the comment about this event.
|
Date |
getEntryDate()
Get the date this item was added to the database.
|
Date |
getEventDate()
Get the date this event happened in the lab.
|
int |
getEventType()
Get the type of event, 1=creation event, 2=hybridization event, 3=other event
|
HardwareData |
getHardware()
Get the hardware used in this event
|
KitData |
getKit()
Get the kit used in this event.
|
PhysicalBioAssayData |
getPhysicalBioAssay()
Get the physical bioassay that was created by this event.
|
ProtocolData |
getProtocol()
Get the protocol used in this event.
|
Map<BioMaterialData,BioMaterialEventSourceData> |
getSources()
Get a map containing information about the source biomaterials used
in the event.
|
Float |
getUsedQuantity()
Get the used quantity of the biomaterial affected by this event.
|
UserData |
getUser()
Get the user that is responsible for this event, typically this is the user that
entered the information in the database.
|
void |
setBioMaterial(MeasuredBioMaterialData bioMaterial) |
void |
setBioPlateEventParticipant(BioPlateEventParticipantData bioPlateEventParticipant) |
void |
setComment(String comment) |
void |
setEntryDate(Date entryDate) |
void |
setEventDate(Date eventDate) |
void |
setEventType(int eventType) |
void |
setHardware(HardwareData hardware) |
void |
setKit(KitData kit) |
void |
setPhysicalBioAssay(PhysicalBioAssayData bioassay) |
void |
setProtocol(ProtocolData protocol) |
(package private) void |
setSources(Map<BioMaterialData,BioMaterialEventSourceData> sources) |
void |
setUsedQuantity(Float usedQuantity) |
void |
setUser(UserData user) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private Date entryDate
private int eventType
private BioPlateEventParticipantData bioPlateEventParticipant
private MeasuredBioMaterialData bioMaterial
private Float usedQuantity
private PhysicalBioAssayData bioassay
private UserData user
private ProtocolData protocol
private HardwareData hardware
private KitData kit
private Date eventDate
public static final int MAX_COMMENT_LENGTH
private String comment
private Map<BioMaterialData,BioMaterialEventSourceData> sources
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public int getEventType()
public void setEventType(int eventType)
public BioPlateEventParticipantData getBioPlateEventParticipant()
public void setBioPlateEventParticipant(BioPlateEventParticipantData bioPlateEventParticipant)
public MeasuredBioMaterialData getBioMaterial()
public void setBioMaterial(MeasuredBioMaterialData bioMaterial)
public Float getUsedQuantity()
public void setUsedQuantity(Float usedQuantity)
public PhysicalBioAssayData getPhysicalBioAssay()
public void setPhysicalBioAssay(PhysicalBioAssayData bioassay)
public UserData getUser()
public void setUser(UserData user)
public ProtocolData getProtocol()
public void setProtocol(ProtocolData protocol)
public HardwareData getHardware()
public void setHardware(HardwareData hardware)
public KitData getKit()
public void setKit(KitData kit)
public Date getEventDate()
public void setEventDate(Date eventDate)
public String getComment()
public void setComment(String comment)
public Map<BioMaterialData,BioMaterialEventSourceData> getSources()
BioMaterialEventSourceData.getEvent()
void setSources(Map<BioMaterialData,BioMaterialEventSourceData> sources)