Package psidev.psi.mi.jami.utils.clone
Class ExperimentCloner
- java.lang.Object
-
- psidev.psi.mi.jami.utils.clone.ExperimentCloner
-
public class ExperimentCloner extends Object
Utility class for cloning experiments- Since:
13/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ExperimentCloner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyAndOverrideExperimentProperties(Experiment source, Experiment target)
This method will copy properties of experiment source in experiment target and will override all the other properties of Target experiment.static void
copyAndOverrideExperimentPropertiesAndInteractionEvidences(Experiment source, Experiment target)
This method will copy properties of experiment source in experiment target and will override all the other properties of Target experiment.
-
-
-
Method Detail
-
copyAndOverrideExperimentProperties
public static void copyAndOverrideExperimentProperties(Experiment source, Experiment target)
This method will copy properties of experiment source in experiment target and will override all the other properties of Target experiment. This method will ignore interaction evidences It will set the publication but will not add this experiment to the list of experiments of the publication reported in the source experiment It will fully clone all the VariableParameters and set their experiment to the current experiment target- Parameters:
source
- aExperiment
object.target
- aExperiment
object.
-
copyAndOverrideExperimentPropertiesAndInteractionEvidences
public static void copyAndOverrideExperimentPropertiesAndInteractionEvidences(Experiment source, Experiment target)
This method will copy properties of experiment source in experiment target and will override all the other properties of Target experiment. This method will also move interaction evidences from source to target It will set the publication but will not add this experiment to the list of experiments of the publication reported in the source experiment It will fully clone all the VariableParameters and set their experiment to the current experiment target- Parameters:
source
- aExperiment
object.target
- aExperiment
object.
-
-