org.proteios.core.data
Class MeasuredBioMaterialData
java.lang.Object
org.proteios.core.data.BasicData
org.proteios.core.data.OwnedData
org.proteios.core.data.SharedData
org.proteios.core.data.CommonData
org.proteios.core.data.AnnotatedData
org.proteios.core.data.BioMaterialData
org.proteios.core.data.MeasuredBioMaterialData
- All Implemented Interfaces:
- AnnotatableData, IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData
- Direct Known Subclasses:
- ExtractData, LabeledExtractData, MeasuredAreaData, SampleData
public abstract class MeasuredBioMaterialData
- extends BioMaterialData
This class is the root class for measured biomaterials, ie biomaterials for
where the quantity is tracked.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
MeasuredBioMaterial,
Biomaterials
overview- Last modified
- $Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
- Hibernate: subclass
- discriminator-value="-1" lazy="false"
MeasuredBioMaterialData
public MeasuredBioMaterialData()
getParent
public BioMaterialData getParent()
- Get the parent biomaterial. Used for non-pooled biomaterials. The core
must add logic to check that only a biomaterial of the parent type is
linked.
- Hibernate: many-to-one
- column="`parent_id`" not-null="false"
outer-join="false"
setParent
public void setParent(BioMaterialData parent)
getConcentrationInGramsPerLiter
public Float getConcentrationInGramsPerLiter()
- Get the concentration of the biomaterial. Normally this is the protein concentration in g/l
- Hibernate: property
- column="`concentration`" type="float"
not-null="false"
setConcentrationInGramsPerLiter
public void setConcentrationInGramsPerLiter(Float concentration)
getOriginalQuantityInMicroLiters
public Float getOriginalQuantityInMicroLiters()
- Get the original quantity of the biomaterial measured in microliters.
- Hibernate: property
- column="`original_quantity`" type="float"
not-null="false"
setOriginalQuantityInMicroLiters
public void setOriginalQuantityInMicroLiters(Float originalQuantity)
getRemainingQuantityInMicroLiters
public Float getRemainingQuantityInMicroLiters()
- Get the remaining quantity of the biomaterial measured in microliters.
- Hibernate: property
- column="`remaining_quantity`" type="float"
not-null="false"
setRemainingQuantityInMicroLiters
public void setRemainingQuantityInMicroLiters(Float remainingQuantity)
isPooled
public boolean isPooled()
- If the biomaterial was created by pooling other biomaterials of the same
type or not.
- Hibernate: property
- column="`pooled`" type="boolean" not-null="false"
setPooled
public void setPooled(boolean pooled)
getCreationEvent
public CreationEventData getCreationEvent()
- Returns:
- Returns the creationEvent.
- Hibernate: many-to-one
- class="org.proteios.core.data.CreationEventData"
column="`creationEventId`"
setCreationEvent
public void setCreationEvent(CreationEventData creationEvent)
- Parameters:
creationEvent - The creationEvent to set.
getEvents
public Set<BioMaterialEventData> getEvents()
- These are the events that have used this biomaterial. This is the inverse
end.
- Hibernate: set
- table="`BioMaterialEventSources`" lazy="true"
inverse="true"
- Hibernate: collection-key
- column="`biomaterial_id`"
- Hibernate: collection-many-to-many
- column="`event_id`"
class="org.proteios.core.data.BioMaterialEventData"
setEvents
public void setEvents(Set<BioMaterialEventData> events)