Last update: 2011-06-23

org.proteios.core.data
Class SeparationMethodData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.OwnedData
          extended by org.proteios.core.data.SharedData
              extended by org.proteios.core.data.SeparationMethodData
All Implemented Interfaces:
IdentifiableData, OwnableData, ShareableData
Direct Known Subclasses:
GelElectrophoresisData, IPGData, LiquidChromatographyData

public class SeparationMethodData
extends SharedData

This class is the root class for separation methods. The class describes the object that is the result of the method.

Version:
2.0
Author:
Olle
See Also:
SeparationMethod, SeparationMethods overview
Last modified
$Date: 2006-09-19 14:31:54Z $
Hibernate: class
table="`SeparationMethods`" lazy="false" discriminator-value="0"
Hibernate: discriminator
column="`discriminator`" type="int"

Field Summary
static int MAX_EXTERNAL_ID_LENGTH
          The maximum length of the external id that can be stored in the database.
 
Constructor Summary
SeparationMethodData()
           
 
Method Summary
 Set<BioMaterialEventData> getBioMaterialEvents()
           
 String getExternalId()
          Get the external id for the separation method
 void setBioMaterialEvents(Set<BioMaterialEventData> bioMaterialEvents)
           
 void setExternalId(String externalId)
           
 
Methods inherited from class org.proteios.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class org.proteios.core.data.OwnedData
getOwner, setOwner
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.proteios.core.data.OwnableData
getOwner, setOwner
 
Methods inherited from interface org.proteios.core.data.IdentifiableData
getId, getVersion
 

Field Detail

MAX_EXTERNAL_ID_LENGTH

public static final int MAX_EXTERNAL_ID_LENGTH
The maximum length of the external id that can be stored in the database.

See Also:
setExternalId(String), Constant Field Values
Constructor Detail

SeparationMethodData

public SeparationMethodData()
Method Detail

getExternalId

public String getExternalId()
Get the external id for the separation method

Hibernate: property
column="`external_id`" type="string" length="255" not-null="true" unique="true"

setExternalId

public void setExternalId(String externalId)

getBioMaterialEvents

public Set<BioMaterialEventData> getBioMaterialEvents()
Returns:
Returns the bioMaterialEvents.
Hibernate: set
table="`BioMaterialEvents`" cascade="delete" lazy="true" inverse="true"
Hibernate: collection-key
column="`separation_method_id`"
Hibernate: collection-one-to-many
class="org.proteios.core.data.BioMaterialEventData" not-null="false"

setBioMaterialEvents

public void setBioMaterialEvents(Set<BioMaterialEventData> bioMaterialEvents)
Parameters:
bioMaterialEvents - The BioMaterialEvents to set.

Last update: 2011-06-23