Class BioMaterialEventData

    • Constructor Detail

      • BioMaterialEventData

        public BioMaterialEventData()
    • Method Detail

      • 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 int getEventType()
        Get the type of event, 1=creation event, 2=hybridization event, 3=other event
        Hibernate: property
        column="`event_type`" type="int" not-null="true" update="false"
      • setEventType

        public void setEventType​(int eventType)
      • getBioPlateEventParticipant

        public BioPlateEventParticipantData getBioPlateEventParticipant()
        Get the bioplate event that is the master event for this event. Null if no bioplate event exists for this event.
        Since:
        2.17
        Hibernate: many-to-one
        column="`bioplateeventparticipant_id`" not-null="false" outer-join="false" update="false"
      • getBioMaterial

        public MeasuredBioMaterialData getBioMaterial()
        Get the biomaterial produced or affected by this event.
        Hibernate: many-to-one
        column="`biomaterial_id`" not-null="false" outer-join="false" update="false"
      • getUsedQuantity

        public Float getUsedQuantity()
        Get the used quantity of the biomaterial affected by this event. This can be both positive and negative.
        Hibernate: property
        column="`used_quantity`" type="float" not-null="false"
      • setUsedQuantity

        public void setUsedQuantity​(Float usedQuantity)
      • getPhysicalBioAssay

        public PhysicalBioAssayData getPhysicalBioAssay()
        Get the physical bioassay that was created by this event.
        Hibernate: many-to-one
        column="`physicalbioassay_id`" not-null="false" outer-join="false" update="false"
      • 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="true" outer-join="false" update="false"
      • setUser

        public void setUser​(UserData user)
      • 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)
      • getKit

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

        public void setKit​(KitData kit)
      • 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)
      • 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)
      • getSources

        public Map<BioMaterialData,​BioMaterialEventSourceData> getSources()
        Get a map containing information about the source biomaterials used in the event. This is only used for events that create child biomaterial or physical bioassay. This is the inverse end. See BioMaterialEventSourceData.getEvent()
        Since:
        3.0
        Hibernate: map
        inverse="true" lazy="true" cascade="all"
        Hibernate: index-many-to-many
        column="`biomaterial_id`" class="net.sf.basedb.core.data.BioMaterialData"
        Hibernate: collection-key
        column="`event_id`"
        Hibernate: collection-one-to-many
        class="net.sf.basedb.core.data.BioMaterialEventSourceData"