Package 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
, Developer documentation: Biomaterials LIMS- Last modified
- $Date: 2015-11-02 08:46:40 +0100 (må, 02 nov 2015) $
- Hibernate: class
- table="`BioPlateEvents`" lazy="true"
-
Field Summary
Fields Modifier and Type Field Description private Date
entryDate
private Date
eventDate
private BioPlateEventTypeData
eventType
private HardwareData
hardware
private KitData
kit
private Set<BioPlateEventParticipantData>
participants
private ProtocolData
protocol
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
Constructors Constructor Description BioPlateEventData()
-
Method Summary
Modifier and Type Method Description Date
getEntryDate()
Get the date this item was added to the database.Date
getEventDate()
Get the date this event happened in the lab.BioPlateEventTypeData
getEventType()
The type of the event.HardwareData
getHardware()
Get the hardware used in this eventKitData
getKit()
Get the kit used in this event.Set<BioPlateEventParticipantData>
getParticipants()
This is the inverse end.ProtocolData
getProtocol()
Get the protocol used in this event.void
setEntryDate(Date entryDate)
void
setEventDate(Date eventDate)
void
setEventType(BioPlateEventTypeData eventType)
void
setHardware(HardwareData hardware)
void
setKit(KitData kit)
(package private) void
setParticipants(Set<BioPlateEventParticipantData> participants)
void
setProtocol(ProtocolData protocol)
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
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
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
-
Field Details
-
entryDate
-
eventType
-
eventDate
-
protocol
-
hardware
-
kit
-
participants
-
-
Constructor Details
-
BioPlateEventData
public BioPlateEventData()
-
-
Method Details
-
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 interfaceRegisteredData
-
setEntryDate
-
getEventType
The type of the event.- Hibernate: many-to-one
- column="`bioplateeventtype_id`" not-null="true" outer-join="false"
-
setEventType
-
getEventDate
Get the date this event happened in the lab.- Hibernate: property
- column="`event_date`" type="date" not-null="false"
-
setEventDate
-
getProtocol
Get the protocol used in this event.- Hibernate: many-to-one
- column="`protocol_id`" not-null="false" outer-join="false"
-
setProtocol
-
getHardware
Get the hardware used in this event- Hibernate: many-to-one
- column="`hardware_id`" not-null="false" outer-join="false"
-
setHardware
-
getKit
Get the kit used in this event.- Since:
- 3.7
- Hibernate: many-to-one
- column="`kit_id`" not-null="false" outer-join="false"
-
setKit
-
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
-