2.17.2: 2011-06-17

net.sf.basedb.core.data
Class BioMaterialSourceEventData

java.lang.Object
  extended by 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) $

Field Summary
private  BioMaterialEventData event
           
private  int sourceGroup
           
private  Float usedQuantity
           
 
Constructor Summary
BioMaterialSourceEventData()
           
 
Method Summary
 BioMaterialEventData getEvent()
           
 int getSourceGroup()
           
 Float getUsedQuantity()
           
 void setEvent(BioMaterialEventData event)
           
private  void setSourceGroup(int sourceGroup)
           
 void setUsedQuantity(Float usedQuantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

private BioMaterialEventData event

usedQuantity

private Float usedQuantity

sourceGroup

private int sourceGroup
Constructor Detail

BioMaterialSourceEventData

public BioMaterialSourceEventData()
Method Detail

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)

2.17.2: 2011-06-17