net.sf.basedb.core.data
Class BioMaterialSourceEventData
java.lang.Object
net.sf.basedb.core.data.BioMaterialSourceEventData
public class BioMaterialSourceEventData
- extends Object
This class is needed to be able to map the inverse relation
MeasuredBioMaterialData.getSourceEvents()
and still be able
to filter in the used quantity or the source group property. This class
is related to the UsedQuantity
class which is used for the
same relation in the other direction: BioMaterialEventData.getSources()
.
- Version:
- 2.6
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
event
private BioMaterialEventData event
usedQuantity
private Float usedQuantity
sourceGroup
private int sourceGroup
BioMaterialSourceEventData
public BioMaterialSourceEventData()
getEvent
public BioMaterialEventData getEvent()
- Hibernate: many-to-one
- column="`event_id`" class="net.sf.basedb.core.data.BioMaterialEventData"
setEvent
public void setEvent(BioMaterialEventData event)
getUsedQuantity
public Float getUsedQuantity()
- Hibernate: property
- column="`used_quantity`" not-null="false" type="float"
setUsedQuantity
public void setUsedQuantity(Float usedQuantity)
getSourceGroup
public int getSourceGroup()
- Hibernate: property
- column="`dummy`" type="int" not-null="true"
setSourceGroup
private void setSourceGroup(int sourceGroup)