Package net.sf.basedb.core.data
Class MeasuredBioMaterialData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.AnnotatedData
net.sf.basedb.core.data.BioMaterialData
net.sf.basedb.core.data.MeasuredBioMaterialData
- All Implemented Interfaces:
AnnotatableData
,IdentifiableData
,LoggableData
,NameableData
,OwnableData
,RemovableData
,ShareableData
,SubtypableData
- Direct Known Subclasses:
ExtractData
,SampleData
This class is the root class for measured biomaterials, ie biomaterials for
where the quantity is tracked.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
- Hibernate: subclass
- discriminator-value="-2" lazy="true"
-
Field Summary
Modifier and TypeFieldDescriptionprivate BioWellData
private BioMaterialEventData
private Set<BioMaterialEventData>
private Float
private BioMaterialData
private Integer
private Float
Fields inherited from class net.sf.basedb.core.data.BioMaterialData
MAX_EXTERNAL_ID_LENGTH
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the bio well.Get the event that created this biomaterial.(package private) Set<BioMaterialEventData>
This is the inverse end.Get the original quantity of the biomaterial.Get the parent biomaterial.Get the type of the parent item.Get the remaining quantity of the biomaterial.void
setBioWell
(BioWellData bioWell) (package private) void
setCreationEvent
(BioMaterialEventData creationEvent) (package private) void
setEvents
(Set<BioMaterialEventData> events) void
setOriginalQuantity
(Float originalQuantity) void
setParent
(BioMaterialData parent) void
setParentType
(Integer parentType) void
setRemainingQuantity
(Float remainingQuantity) Methods inherited from class net.sf.basedb.core.data.BioMaterialData
equals, getChildCreationEvents, getChildren, getExternalId, getItemSubtype, setChildCreationEvents, setChildren, setExternalId, setItemSubtype
Methods inherited from class net.sf.basedb.core.data.AnnotatedData
getAnnotations, getAnnotationSet, setAnnotations, setAnnotationSet
Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
Methods inherited from class net.sf.basedb.core.data.BasicData
getId, getVersion, hashCode, setId, setVersion, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
-
Field Details
-
parent
-
originalQuantity
-
remainingQuantity
-
parentType
-
creationEvent
-
events
-
bioWell
-
-
Constructor Details
-
MeasuredBioMaterialData
public MeasuredBioMaterialData()
-
-
Method Details
-
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
-
getOriginalQuantity
Get the original quantity of the biomaterial.- Hibernate: property
- column="`original_quantity`" type="float" not-null="false"
-
setOriginalQuantity
-
getRemainingQuantity
Get the remaining quantity of the biomaterial.- Hibernate: property
- column="`remaining_quantity`" type="float" not-null="false" update="false"
-
setRemainingQuantity
-
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
-
getCreationEvent
Get the event that created this biomaterial. Mapping is defined in hibernate-properties-MeasuredBioMaterialData.xml since XDoclet cannot generate it. -
setCreationEvent
-
getEvents
Set<BioMaterialEventData> getEvents()This is the inverse end.- See Also:
- 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"
-
setEvents
-
getBioWell
Get the bio well.- Hibernate: many-to-one
- column="`biowell_id`" not-null="false" unique="true" outer-join="false"
-
setBioWell
-