Package net.sf.basedb.core.data
Class PlateEventData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.PlateEventData
- All Implemented Interfaces:
IdentifiableData
,LoggableData
This class holds information about a plate event.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
- Hibernate: class
- table="`PlateEvents`" lazy="false"
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private Date
private Date
private HardwareData
static final int
The maximum length of the comment about this event.private PlateData
private PlateEventTypeData
private ProtocolData
private UserData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the comment about this event.Get the date this event was added to the database.Get the date this event happened in the lab.Get the hardware used in this event.getPlate()
The plate this event belongs to.The event type of this event.The protocol used for the event.getUser()
Get the user that is responsible for this event, typically this is the user that entered the information in the database.void
setComment
(String comment) void
setEntryDate
(Date entryDate) void
setEventDate
(Date eventDate) void
setHardware
(HardwareData hardware) void
void
setPlateEventType
(PlateEventTypeData plateEventType) void
setProtocol
(ProtocolData protocol) void
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
plate
-
plateEventType
-
protocol
-
user
-
entryDate
-
eventDate
-
hardware
-
MAX_COMMENT_LENGTH
public static final int MAX_COMMENT_LENGTHThe maximum length of the comment about this event.- See Also:
-
comment
-
-
Constructor Details
-
PlateEventData
public PlateEventData()
-
-
Method Details
-
getPlate
The plate this event belongs to.- See Also:
- Hibernate: many-to-one
- column="`plate_id`" not-null="true" outer-join="false" update="false"
-
setPlate
-
getPlateEventType
The event type of this event. It must belong to the same plate type as the plate.- See Also:
- Hibernate: many-to-one
- column="`plateeventtype_id`" not-null="true" outer-join="false" update="false"
-
setPlateEventType
-
getProtocol
The protocol used for the event.- Hibernate: many-to-one
- column="`protocol_id`" not-null="false" outer-join="false"
-
setProtocol
-
getUser
Get the user that is responsible for this event, typically this is the user that entered the information in the database.- Hibernate: many-to-one
- column="`user_id`" not-null="false" outer-join="false" update="false"
-
setUser
-
getEntryDate
Get the date this event was added to the database.- Hibernate: property
- column="`entry_date`" type="date" not-null="true" update="false"
-
setEntryDate
-
getEventDate
Get the date this event happened in the lab.- Hibernate: property
- column="`event_date`" type="date" not-null="false"
-
setEventDate
-
getHardware
Get the hardware used in this event.- Hibernate: many-to-one
- column="`hardware_id`" not-null="false" outer-join="false"
-
setHardware
-
getComment
Get the comment about this event.- Hibernate: property
- column="`comment`" type="text" not-null="false"
-
setComment
-