|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 BioPlateEventParticipantData |
bioPlateEventParticipant
|
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 Set<MeasuredBioMaterialData> |
sourceBioMaterials
|
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. |
BioPlateEventParticipantData |
getBioPlateEventParticipant()
Get the bioplate event that is the master event for this event. |
String |
getComment()
Get the comment about this event. |
Date |
getEntryDate()
Get the date this item 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. |
(package private) Set<MeasuredBioMaterialData> |
getSourceBioMaterials()
This is the inverse end. |
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 |
setBioPlateEventParticipant(BioPlateEventParticipantData bioPlateEventParticipant)
|
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 |
setSourceBioMaterials(Set<MeasuredBioMaterialData> sourceBioMaterials)
|
(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 |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Field Detail |
---|
private Date entryDate
private int eventType
private BioPlateEventParticipantData bioPlateEventParticipant
private MeasuredBioMaterialData bioMaterial
private Float usedQuantity
private HybridizationData hybridization
private UserData user
private ProtocolData protocol
private HardwareData hardware
private Date eventDate
public static final int MAX_COMMENT_LENGTH
private String comment
private Map<MeasuredBioMaterialData,UsedQuantity> sources
private Set<MeasuredBioMaterialData> sourceBioMaterials
Constructor Detail |
---|
public BioMaterialEventData()
Method Detail |
---|
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public int getEventType()
public void setEventType(int eventType)
public BioPlateEventParticipantData getBioPlateEventParticipant()
public void setBioPlateEventParticipant(BioPlateEventParticipantData bioPlateEventParticipant)
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 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)
Set<MeasuredBioMaterialData> getSourceBioMaterials()
MeasuredBioMaterialData.getParent()
void setSourceBioMaterials(Set<MeasuredBioMaterialData> sourceBioMaterials)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |