public class PlateEventData extends BasicData implements LoggableData
PlateEvent
,
Developer documentation: Array LIMS (plates)Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comment |
private java.util.Date |
entryDate |
private java.util.Date |
eventDate |
private HardwareData |
hardware |
static int |
MAX_COMMENT_LENGTH
The maximum length of the comment about this event.
|
private PlateData |
plate |
private PlateEventTypeData |
plateEventType |
private ProtocolData |
protocol |
private UserData |
user |
Constructor and Description |
---|
PlateEventData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Get the comment about this event.
|
java.util.Date |
getEntryDate()
Get the date this event was added to the database.
|
java.util.Date |
getEventDate()
Get the date this event happened in the lab.
|
HardwareData |
getHardware()
Get the hardware used in this event.
|
PlateData |
getPlate()
The plate this event belongs to.
|
PlateEventTypeData |
getPlateEventType()
The event type of this event.
|
ProtocolData |
getProtocol()
The protocol used for the 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 |
setComment(java.lang.String comment) |
void |
setEntryDate(java.util.Date entryDate) |
void |
setEventDate(java.util.Date eventDate) |
void |
setHardware(HardwareData hardware) |
void |
setPlate(PlateData plate) |
void |
setPlateEventType(PlateEventTypeData plateEventType) |
void |
setProtocol(ProtocolData protocol) |
void |
setUser(UserData user) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
private PlateData plate
private PlateEventTypeData plateEventType
private ProtocolData protocol
private UserData user
private java.util.Date entryDate
private java.util.Date eventDate
private HardwareData hardware
public static final int MAX_COMMENT_LENGTH
private java.lang.String comment
public PlateData getPlate()
PlateData.getEvents()
public void setPlate(PlateData plate)
public PlateEventTypeData getPlateEventType()
PlateData.getPlateType()
,
PlateEventTypeData.getPlateType()
public void setPlateEventType(PlateEventTypeData plateEventType)
public ProtocolData getProtocol()
public void setProtocol(ProtocolData protocol)
public UserData getUser()
public void setUser(UserData user)
public java.util.Date getEntryDate()
public void setEntryDate(java.util.Date entryDate)
public java.util.Date getEventDate()
public void setEventDate(java.util.Date eventDate)
public HardwareData getHardware()
public void setHardware(HardwareData hardware)
public java.lang.String getComment()
public void setComment(java.lang.String comment)