Class BioPlateEventParticipantData

java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.BioPlateEventParticipantData
All Implemented Interfaces:
IdentifiableData

public class BioPlateEventParticipantData extends BasicData
Registers a plate as a participant in a bioplate event. Each participant may have a 'role' that is simply a free textual description of how the plate was used. Eg. for a 'move' event there can be 'source' and 'destination' plates. If the ordering of plates are important it is also possible to specify an index value. The index doesn't have to unique, but a plate can only be a registered as a participant once per event.
Since:
2.17
Author:
Nicklas
See Also:
Last modified
$Date: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
Hibernate: class
table="`BioPlateEventParticipants`" lazy="true"
  • Field Details

  • Constructor Details

    • BioPlateEventParticipantData

      public BioPlateEventParticipantData()
  • Method Details

    • getBioPlate

      public BioPlateData getBioPlate()
      The bioplate that is participating in the event.
      Hibernate: many-to-one
      column="`bioplate_id`" not-null="true" outer-join="false" update="false" unique-key="BioPlateEventParticipant_uniqueevent"
    • setBioPlate

      public void setBioPlate(BioPlateData bioPlate)
    • getEvent

      public BioPlateEventData getEvent()
      The bioplate event.
      Hibernate: many-to-one
      column="`event_id`" not-null="true" outer-join="false" update="false" unique-key="BioPlateEventParticipant_uniqueevent"
    • setEvent

      public void setEvent(BioPlateEventData event)
    • getIndex

      public int getIndex()
      Get the index of this plate in the event. The index may or may not be unique depending on the event.
      Hibernate: property
      column="`index`" type="int" not-null="true"
    • setIndex

      public void setIndex(int index)
    • getRole

      public String getRole()
      Get the role of the plate in the event. The role is only a textual description and is not of concern to the core. The role can be null.
      Hibernate: property
      column="`role`" type="string" length="255" not-null="false"
    • setRole

      public void setRole(String role)
    • getBioMaterialEvents

      public Set<BioMaterialEventData> getBioMaterialEvents()
      This is the inverse end.
      See Also:
      Hibernate: set
      lazy="true" inverse="true"
      Hibernate: collection-key
      column="`bioplateeventparticipant_id`"
      Hibernate: collection-one-to-many
      class="net.sf.basedb.core.data.BioMaterialEventData"
    • setBioMaterialEvents

      void setBioMaterialEvents(Set<BioMaterialEventData> bioMaterialEvents)