|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.BasicItem<D>
org.proteios.core.BioMaterialEvent<UpdateEventData>
org.proteios.core.UpdateEvent
public class UpdateEvent
This class represent UpdateEvent items. An UpdateEvent has information about a change in measured biomaterial in an experiment.
| Field Summary | |
|---|---|
static Item |
TYPE
The type of item represented by this class. |
| Fields inherited from class org.proteios.core.BioMaterialEvent |
|---|
MAX_COMMENT_LENGTH |
| Method Summary | |
|---|---|
void |
addUpdateComment(MeasuredBioMaterial measuredBioMaterial,
MeasuredBioMaterial oldMeasuredBioMaterial)
Adds an update event comment with info on what properties (if any) that have had their values updated. |
Set<Annotatable> |
getAnnotatableParents()
Always null. |
static UpdateEvent |
getById(DbControl dc,
int id)
Get a UpdateEvent item when you know the id. |
static ItemQuery<UpdateEvent> |
getQuery()
Get a query that returns UpdateEvent items. |
Item |
getType()
Get the type of item represented by the object. |
boolean |
isUsed()
Check that: no item has been created from this UpdateEvent |
| Methods inherited from class org.proteios.core.BioMaterialEvent |
|---|
addSource, getBioMaterial, getComment, getEntryDate, getEventDate, getEventType, getPreviousBioMaterialEvent, getProtocol, getQuery, getSourceBioMaterials, getSources, getUsedQuantityInMicroLiters, getUsedQuantityInMicroLiters, getUser, removeSource, setBioMaterial, setComment, setEntryDate, setEventDate, setPreviousBioMaterialEvent, setProtocol, setUsedQuantityInMicroLiters, setUser |
| Methods inherited from class org.proteios.core.BasicItem |
|---|
checkPermission, equals, getDbControl, getId, getPermissions, getSessionControl, getVersion, hashCode, hasPermission, isDetached, isInDatabase, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Item TYPE
Item.PROTEIOS_UPDATEEVENT,
getType()| Method Detail |
|---|
public static UpdateEvent getById(DbControl dc,
int id)
throws ItemNotFoundException,
BaseException
UpdateEvent item when you know the id.
dc - The DbControl which will be used for database
access.id - The id of the item to load
UpdateEvent item
ItemNotFoundException - If an item with the specified id is not
found
BaseException - If there is another errorpublic static ItemQuery<UpdateEvent> getQuery()
ItemQuery object.
public void addUpdateComment(MeasuredBioMaterial measuredBioMaterial,
MeasuredBioMaterial oldMeasuredBioMaterial)
measuredBioMaterial - MeasuredBioMaterial Item after update.oldMeasuredBioMaterial - MeasuredBioMaterial Item before update.public Item getType()
IdentifiableItem enumeration.
getType in interface IdentifiablegetType in class BioMaterialEvent<UpdateEventData>
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseException
public boolean isUsed()
throws BaseException
isUsed in class BioMaterialEvent<UpdateEventData>BaseException
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||