ambit2.core.data.experiment
Class Study
java.lang.Object
com.jgoodies.binding.beans.Model
ambit2.base.data.AmbitBean
ambit2.core.data.experiment.Study
- All Implemented Interfaces:
- com.jgoodies.binding.beans.Observable, java.io.Serializable
- Direct Known Subclasses:
- AQUIREStudy
public class Study
- extends ambit2.base.data.AmbitBean
A single study, defined by its template Template
and conditions.
The template defines only condition names (e.g. "Species", "Duration") and here in the Study
class
the condition values have to be specified. (e.g. Species="Fathead Minnow", "Duration"="96h").
Conditions are stored in a Hashtable
.
Also, study results are stored in another Hashtable
, but this is for completeness, since the actual results per molecule are stored in Experiment
.
- See Also:
- Serialized Form
Field Summary |
protected int |
id
|
protected java.lang.String |
name
|
protected java.util.Hashtable |
studyResults
|
protected ambit2.base.data.Template |
template
|
Constructor Summary |
Study()
|
Study(java.lang.String name,
int id,
ambit2.base.data.Template template)
|
Study(java.lang.String name,
ambit2.base.data.Template template)
|
Methods inherited from class com.jgoodies.binding.beans.Model |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
template
protected ambit2.base.data.Template template
studyResults
protected java.util.Hashtable studyResults
name
protected java.lang.String name
id
protected int id
Study
public Study()
Study
public Study(java.lang.String name,
ambit2.base.data.Template template)
- Parameters:
name
-
Study
public Study(java.lang.String name,
int id,
ambit2.base.data.Template template)
- Parameters:
name
- id
-
getId
public int getId()
setId
public void setId(int id)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getTemplate
public ambit2.base.data.Template getTemplate()
setTemplate
public void setTemplate(ambit2.base.data.Template template)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class ambit2.base.data.AmbitBean
- Throws:
java.lang.CloneNotSupportedException
clear
public void clear()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getStudyResults
public java.util.Hashtable getStudyResults()
setStudyResults
public void setStudyResults(java.util.Hashtable studyResults)
getTemplateName
public java.lang.String getTemplateName()
setTemplateName
public void setTemplateName(java.lang.String templatename)