net.sf.basedb.core.data
Class BioPlateEventData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.BioPlateEventData
- All Implemented Interfaces:
- IdentifiableData, LoggableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData
public class BioPlateEventData
- extends CommonData
- implements LoggableData, RegisteredData
This class holds information about a bioplate event. An
event can involve one or more bioplate participants. It is
also possible to link BioMaterialEventData
items to
a bioplate event (via a participant). Some information (eg.
protocol, hardware, etc. is then linked so that an update on
the bioplate event is automatically transfered to all biomaterial
events.
- Since:
- 2.17
- Author:
- Nicklas
- See Also:
BioPlateEvent
,
Biomaterials overview- Last modified
- $Date: 2010-12-02 14:35:04 +0100 (Thu, 02 Dec 2010) $
- Hibernate: class
- table="`BioPlateEvents`" lazy="true"
entryDate
private Date entryDate
eventType
private BioPlateEventTypeData eventType
eventDate
private Date eventDate
protocol
private ProtocolData protocol
hardware
private HardwareData hardware
participants
private Set<BioPlateEventParticipantData> participants
BioPlateEventData
public BioPlateEventData()
getEntryDate
public Date getEntryDate()
- Description copied from interface:
RegisteredData
- Get the date this item was added to the database. The value is
generated at creation time and can't be modified later.
- Specified by:
getEntryDate
in interface RegisteredData
setEntryDate
public void setEntryDate(Date entryDate)
getEventType
public BioPlateEventTypeData getEventType()
- The type of the event.
- Hibernate: many-to-one
- column="`bioplateeventtype_id`" not-null="true" outer-join="false"
setEventType
public void setEventType(BioPlateEventTypeData eventType)
getEventDate
public Date getEventDate()
- Get the date this event happened in the lab.
- Hibernate: property
- column="`event_date`" type="date" not-null="false"
setEventDate
public void setEventDate(Date eventDate)
getProtocol
public ProtocolData getProtocol()
- Get the protocol used in this event.
- Hibernate: many-to-one
- column="`protocol_id`" not-null="false" outer-join="false"
setProtocol
public void setProtocol(ProtocolData protocol)
getHardware
public HardwareData getHardware()
- Get the hardware used in this event
- Hibernate: many-to-one
- column="`hardware_id`" not-null="false" outer-join="false"
setHardware
public void setHardware(HardwareData hardware)
getParticipants
public Set<BioPlateEventParticipantData> getParticipants()
- This is the inverse end.
- See Also:
BioPlateEventParticipantData.getEvent()
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`event_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.BioPlateEventParticipantData"
setParticipants
void setParticipants(Set<BioPlateEventParticipantData> participants)