Package psidev.psi.mi.jami.model
Interface VariableParameter
-
- All Known Implementing Classes:
DefaultVariableParameter,XmlVariableParameter,XmlVariableParameter,XmlVariableParameter
public interface VariableParameterA VariableParameter is a variable experimental parameter such as a drug treatment where several drug concentration were used and that affects some interactions (dynamic interactions).- Since:
21/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()A short description of this variableParameter such as PMA treatment, cell cycle, ...ExperimentgetExperiment()The experiment where this variableParameter has been used.CvTermgetUnit()The unit of the variableParameter if relevant.<V extends VariableParameterValue>
Collection<V>getVariableValues()The collection of values for this variableParameter in a specific experiment.voidsetDescription(String description)Sets the short description of this parameter.voidsetExperiment(Experiment experiment)Sets the experiment for this variableParametervoidsetExperimentAndAddVariableParameter(Experiment experiment)Sets the experiment for this variableParameter and add this variableParameter to the list of variableParameters of this experiment.voidsetUnit(CvTerm unit)Sets the unit of this variableParameter.
-
-
-
Method Detail
-
getDescription
String getDescription()
A short description of this variableParameter such as PMA treatment, cell cycle, ... It cannot be null.- Returns:
- the short description for this variableParameter
-
setDescription
void setDescription(String description)
Sets the short description of this parameter.- Parameters:
description- : description- Throws:
IllegalArgumentException- when description is null
-
getUnit
CvTerm getUnit()
The unit of the variableParameter if relevant. It is a controlled vocabulary term and can be null if not relevant- Returns:
- the unit
-
setUnit
void setUnit(CvTerm unit)
Sets the unit of this variableParameter.- Parameters:
unit- : unit
-
getVariableValues
<V extends VariableParameterValue> Collection<V> getVariableValues()
The collection of values for this variableParameter in a specific experiment. The collection cannot be null. If the VariableParameter does not have any values, this method should return an empty collection.- Type Parameters:
V- a V object- Returns:
- the collection of values for this variableParameter in a specific experiment
-
getExperiment
Experiment getExperiment()
The experiment where this variableParameter has been used. It can be null if the variableParameter is not attached to any experiments- Returns:
- the experiment where this variableParameter has been used
-
setExperiment
void setExperiment(Experiment experiment)
Sets the experiment for this variableParameter- Parameters:
experiment- : experiment to set
-
setExperimentAndAddVariableParameter
void setExperimentAndAddVariableParameter(Experiment experiment)
Sets the experiment for this variableParameter and add this variableParameter to the list of variableParameters of this experiment. If experiment is null, remove the variableParameter from the previous experiment attached to this variableParameter- Parameters:
experiment- : experiment to set
-
-