|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.BioMaterialEventData
public class BioMaterialEventData
This class is used to register events for measured biomaterials.
BioMaterialEvent
,
Biomaterials overviewField Summary | |
---|---|
private MeasuredBioMaterialData |
bioMaterial
|
private String |
comment
|
private Date |
entryDate
|
private Date |
eventDate
|
private int |
eventType
|
private HardwareData |
hardware
|
private HybridizationData |
hybridization
|
static int |
MAX_COMMENT_LENGTH
The maximum length of the comment about this event. |
private ProtocolData |
protocol
|
private Map<MeasuredBioMaterialData,UsedQuantity> |
sources
|
private Float |
usedQuantity
|
private UserData |
user
|
Constructor Summary | |
---|---|
BioMaterialEventData()
|
Method Summary | |
---|---|
MeasuredBioMaterialData |
getBioMaterial()
Get the biomaterial produced or affected by this event. |
String |
getComment()
Get the comment about this event. |
Date |
getEntryDate()
Get the date this event was added to the database. |
Date |
getEventDate()
Get the date this event happened in the lab. |
int |
getEventType()
Get the type of event, 1=creation event, 2=hybridization event, 3=other event |
HardwareData |
getHardware()
Get the hardware used in this event |
HybridizationData |
getHybridization()
Get the hybridization that was created by this event. |
ProtocolData |
getProtocol()
Get the protocol used in this event. |
Map<MeasuredBioMaterialData,UsedQuantity> |
getSources()
Get a map containing the source biomaterials and the used quantity for this event. |
Float |
getUsedQuantity()
Get the used quantity of the biomaterial affected by this event. |
UserData |
getUser()
Get the user that is responsible for this event, typically this is the user that entered the information in the database. |
void |
setBioMaterial(MeasuredBioMaterialData bioMaterial)
|
void |
setComment(String comment)
|
void |
setEntryDate(Date entryDate)
|
void |
setEventDate(Date eventDate)
|
void |
setEventType(int eventType)
|
void |
setHardware(HardwareData hardware)
|
void |
setHybridization(HybridizationData hybridization)
|
void |
setProtocol(ProtocolData protocol)
|
(package private) void |
setSources(Map<MeasuredBioMaterialData,UsedQuantity> sources)
|
void |
setUsedQuantity(Float usedQuantity)
|
void |
setUser(UserData user)
|
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int eventType
private MeasuredBioMaterialData bioMaterial
private Float usedQuantity
private HybridizationData hybridization
private UserData user
private ProtocolData protocol
private HardwareData hardware
private Date entryDate
private Date eventDate
public static final int MAX_COMMENT_LENGTH
private String comment
private Map<MeasuredBioMaterialData,UsedQuantity> sources
Constructor Detail |
---|
public BioMaterialEventData()
Method Detail |
---|
public int getEventType()
public void setEventType(int eventType)
public MeasuredBioMaterialData getBioMaterial()
public void setBioMaterial(MeasuredBioMaterialData bioMaterial)
public Float getUsedQuantity()
public void setUsedQuantity(Float usedQuantity)
public HybridizationData getHybridization()
public void setHybridization(HybridizationData hybridization)
public UserData getUser()
public void setUser(UserData user)
public ProtocolData getProtocol()
public void setProtocol(ProtocolData protocol)
public HardwareData getHardware()
public void setHardware(HardwareData hardware)
public Date getEntryDate()
public void setEntryDate(Date entryDate)
public Date getEventDate()
public void setEventDate(Date eventDate)
public String getComment()
public void setComment(String comment)
public Map<MeasuredBioMaterialData,UsedQuantity> getSources()
void setSources(Map<MeasuredBioMaterialData,UsedQuantity> sources)
|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |