Class MeasuredBioMaterialData

    • Constructor Detail

      • MeasuredBioMaterialData

        public MeasuredBioMaterialData()
    • Method Detail

      • 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"
      • 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.
        Since:
        3.0
        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.
      • getEvents

        Set<BioMaterialEventData> getEvents()
        This is the inverse end.
        See Also:
        BioMaterialEventData.getBioMaterial()
        Hibernate: set
        lazy="true" inverse="true" cascade="delete"
        Hibernate: collection-key
        column="`biomaterial_id`"
        Hibernate: collection-one-to-many
        class="net.sf.basedb.core.data.BioMaterialEventData"
      • 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)