|
3.2.1: 2012-12-13 | ||||||||
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
,
Developer documentation: Biomaterials LIMSField Summary | |
---|---|
private PhysicalBioAssayData |
bioassay
|
private MeasuredBioMaterialData |
bioMaterial
|
private BioPlateEventParticipantData |
bioPlateEventParticipant
|
private String |
comment
|
private Date |
entryDate
|
private Date |
eventDate
|
private int |
eventType
|
private HardwareData |
hardware
|
static int |
MAX_COMMENT_LENGTH
The maximum length of the comment about this event. |
private ProtocolData |
protocol
|
private Map<BioMaterialData,BioMaterialEventSourceData> |
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 |
PhysicalBioAssayData |
getPhysicalBioAssay()
Get the physical bioassay that was created by this event. |
ProtocolData |
getProtocol()
Get the protocol used in this event. |
Map<BioMaterialData,BioMaterialEventSourceData> |
getSources()
Get a map containing information about the source biomaterials used in the 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 |
setPhysicalBioAssay(PhysicalBioAssayData bioassay)
|
void |
setProtocol(ProtocolData protocol)
|
(package private) void |
setSources(Map<BioMaterialData,BioMaterialEventSourceData> 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 PhysicalBioAssayData bioassay
private UserData user
private ProtocolData protocol
private HardwareData hardware
private Date eventDate
public static final int MAX_COMMENT_LENGTH
private String comment
private Map<BioMaterialData,BioMaterialEventSourceData> sources
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 PhysicalBioAssayData getPhysicalBioAssay()
public void setPhysicalBioAssay(PhysicalBioAssayData bioassay)
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<BioMaterialData,BioMaterialEventSourceData> getSources()
BioMaterialEventSourceData.getEvent()
void setSources(Map<BioMaterialData,BioMaterialEventSourceData> sources)
|
3.2.1: 2012-12-13 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |