Last update: 2011-06-23

org.proteios.core
Class SeparationEvent

java.lang.Object
  extended by org.proteios.core.BasicItem<D>
      extended by org.proteios.core.BioMaterialEvent<SeparationEventData>
          extended by org.proteios.core.SeparationEvent
All Implemented Interfaces:
AccessControlled, Identifiable

public class SeparationEvent
extends BioMaterialEvent<SeparationEventData>

This represents a SeparationEvent. Separation events can create objects like Gels or IPGstrips. These objects are described in a SeparationMethod. object. SeparationEvents are normally of type 2

Version:
2.0
Author:
Olle
Last modified
$Date: 2006-09-12 12:33:12Z $

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.
 HardwareConfiguration getHardwareSettings()
           
 SeparationMethod getSeparationMethod()
          Get the separation method object.
 File getSourceFile()
           
 Item getType()
          Get the type of item represented by the object.
 boolean isUsed()
          Check that: no item has been created from this SeparationEvent
 void setHardwareSettings(HardwareConfiguration hardwareSettings)
           
 void setSeparationMethod(SeparationMethod separationMethod)
          Set the separation method object.
 void setSourceFile(File sourceFile)
           
 
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

TYPE

public static final Item TYPE
The type of item represented by this class.

See Also:
Item.PROTEIOS_SEPARATIONEVENT, getType()
Method Detail

getType

public Item getType()
Description copied from interface: Identifiable
Get the type of item represented by the object. The returned value is one of the values defined in the Item enumeration.

Specified by:
getType in interface Identifiable
Overrides:
getType in class BioMaterialEvent<SeparationEventData>
Returns:
A value indicating the type of item

getAnnotatableParents

public Set<Annotatable> getAnnotatableParents()
                                       throws BaseException
Always null.

Throws:
BaseException

isUsed

public boolean isUsed()
               throws BaseException
Check that:

Overrides:
isUsed in class BioMaterialEvent<SeparationEventData>
Returns:
Always false
Throws:
BaseException

getSourceFile

public File getSourceFile()
                   throws BaseException
Throws:
BaseException

setSourceFile

public void setSourceFile(File sourceFile)
                   throws InvalidDataException
Throws:
InvalidDataException

getHardwareSettings

public HardwareConfiguration getHardwareSettings()
                                          throws BaseException
Throws:
BaseException

setHardwareSettings

public void setHardwareSettings(HardwareConfiguration hardwareSettings)
                         throws InvalidDataException
Throws:
InvalidDataException

getSeparationMethod

public SeparationMethod getSeparationMethod()
                                     throws BaseException
Get the separation method object. Note that this describes what is generated. The protocol should describe the process

Throws:
BaseException

setSeparationMethod

public void setSeparationMethod(SeparationMethod separationMethod)
                         throws InvalidDataException
Set the separation method object. Note that this describes what is generated. The protocol should describe the process

Throws:
InvalidDataException

Last update: 2011-06-23