|
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<StainingEventData>
org.proteios.core.StainingEvent
public class StainingEvent
This class represent StainingEvent items. A StainingEvent has information about the stain 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 | |
|---|---|
Set<Annotatable> |
getAnnotatableParents()
Always null. |
static StainingEvent |
getById(DbControl dc,
int id)
Get a StainingEvent item when you know the id. |
GelElectrophoresis |
getGelElectrophoresis()
Get the GelElectrophoresis this StainingEvent is associated with. |
HardwareConfiguration |
getHardwareSettings()
|
static ItemQuery<StainingEvent> |
getQuery()
Get a query that returns StainingEvent items. |
String |
getStain()
|
Item |
getType()
Get the type of item represented by the object. |
boolean |
isUsed()
Check that: no item has been created from this StainingEvent |
void |
setGelElectrophoresis(GelElectrophoresis gelElectrophoresis)
Set the GelElectrophoresis this StainingEvent is associated with. |
void |
setHardwareSettings(HardwareConfiguration hardwareSettings)
|
void |
setStain(String stain)
|
| 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_STAININGEVENT,
getType()| Method Detail |
|---|
public static StainingEvent getById(DbControl dc,
int id)
throws ItemNotFoundException,
BaseException
StainingEvent item when you know the id.
dc - The DbControl which will be used for database
access.id - The id of the item to load
StainingEvent item
ItemNotFoundException - If an item with the specified id is not
found
BaseException - If there is another errorpublic static ItemQuery<StainingEvent> getQuery()
ItemQuery object.public Item getType()
IdentifiableItem enumeration.
getType in interface IdentifiablegetType in class BioMaterialEvent<StainingEventData>
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseException
public boolean isUsed()
throws BaseException
isUsed in class BioMaterialEvent<StainingEventData>BaseException
public GelElectrophoresis getGelElectrophoresis()
throws BaseException
GelElectrophoresis this StainingEvent is associated with.
GelElectrophoresis item or null if not known
BaseException - If there is another error
public void setGelElectrophoresis(GelElectrophoresis gelElectrophoresis)
throws BaseException
GelElectrophoresis this StainingEvent is associated with.
gelElectrophoresis - The new GelElectrophoresis item
BaseException - If there is another error
public String getStain()
throws BaseException
BaseException
public void setStain(String stain)
throws InvalidDataException
InvalidDataException
public HardwareConfiguration getHardwareSettings()
throws BaseException
BaseException
public void setHardwareSettings(HardwareConfiguration hardwareSettings)
throws InvalidDataException
InvalidDataException
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||