Class MeasuredBioMaterialData

All Implemented Interfaces:
AnnotatableData, IdentifiableData, LoggableData, NameableData, OwnableData, RemovableData, ShareableData, SubtypableData
Direct Known Subclasses:
ExtractData, SampleData

public abstract class MeasuredBioMaterialData
extends BioMaterialData
This class is the root class for measured biomaterials, ie biomaterials for where the quantity is tracked.
See Also:
MeasuredBioMaterial, Developer documentation: Biomaterials LIMS
Last modified
$Date: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
Hibernate: subclass
discriminator-value="-2" lazy="true"
  • Field Details

  • Constructor Details

    • MeasuredBioMaterialData

      public MeasuredBioMaterialData()
  • Method Details

    • getParent

      public BioMaterialData getParent()
      Get the parent biomaterial. Used when a biomaterial has a single parent item.
      Hibernate: many-to-one
      column="`parent_id`" not-null="false" outer-join="false"
    • setParent

      public void setParent​(BioMaterialData parent)
    • getOriginalQuantity

      public Float getOriginalQuantity()
      Get the original quantity of the biomaterial.
      Hibernate: property
      column="`original_quantity`" type="float" not-null="false"
    • setOriginalQuantity

      public void setOriginalQuantity​(Float originalQuantity)
    • getRemainingQuantity

      public Float getRemainingQuantity()
      Get the remaining quantity of the biomaterial.
      Hibernate: property
      column="`remaining_quantity`" type="float" not-null="false" update="false"
    • setRemainingQuantity

      public void setRemainingQuantity​(Float remainingQuantity)
    • getParentType

      public Integer getParentType()
      Get the type of the parent item. Null if the biomaterial doesn't have any parents.
      Hibernate: property
      column="`parent_type`" type="int" not-null="false"
    • setParentType

      public void setParentType​(Integer parentType)
    • getCreationEvent

      public BioMaterialEventData getCreationEvent()
      Get the event that created this biomaterial. Mapping is defined in hibernate-properties-MeasuredBioMaterialData.xml since XDoclet cannot generate it.
    • setCreationEvent

      void setCreationEvent​(BioMaterialEventData creationEvent)
    • getEvents

      This is the inverse end.
      See Also:
      Hibernate: set
      lazy="true" inverse="true" cascade="delete"
      Hibernate: collection-key
      Hibernate: collection-one-to-many
    • setEvents

      void setEvents​(Set<BioMaterialEventData> events)
    • getBioWell

      public BioWellData getBioWell()
      Get the bio well.
      Hibernate: many-to-one
      column="`biowell_id`" not-null="false" unique="true" outer-join="false"
    • setBioWell

      public void setBioWell​(BioWellData bioWell)