Class PlateEventData

java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.PlateEventData
All Implemented Interfaces:
IdentifiableData, LoggableData

public class PlateEventData extends BasicData implements 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 Details

  • Constructor Details

    • PlateEventData

      public PlateEventData()
  • Method Details

    • getPlate

      public PlateData 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

      public void setPlate(PlateData plate)
    • getPlateEventType

      public PlateEventTypeData 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

      public void setPlateEventType(PlateEventTypeData plateEventType)
    • getProtocol

      public ProtocolData getProtocol()
      The protocol used for the event.
      Hibernate: many-to-one
      column="`protocol_id`" not-null="false" outer-join="false"
    • setProtocol

      public void setProtocol(ProtocolData protocol)
    • getUser

      public UserData 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

      public void setUser(UserData user)
    • getEntryDate

      public Date getEntryDate()
      Get the date this event was added to the database.
      Hibernate: property
      column="`entry_date`" type="date" not-null="true" update="false"
    • setEntryDate

      public void setEntryDate(Date entryDate)
    • 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)
    • 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)
    • getComment

      public String getComment()
      Get the comment about this event.
      Hibernate: property
      column="`comment`" type="text" not-null="false"
    • setComment

      public void setComment(String comment)