Class MinimalExperimentUpdater
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<Experiment>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalExperimentEnricher
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalExperimentUpdater
-
- All Implemented Interfaces:
ExperimentEnricher
,MIEnricher<Experiment>
public class MinimalExperimentUpdater extends MinimalExperimentEnricher
Provides minimal update of experiment. - update publication using Publication enricher if not null. Will override an existing publication with the publication loaded with the fetched experiment if it is different (see DefaultCuratedPublicationComparator) - update interaction detection method using CvTerm enricher if not null. Will override an existing interaction detection method with the interaction detection method loaded with the fetched experiment if it is different (see DefaultCvTermComparator) - enrich host organism using Organism enricher if not null. Will override an existing host organism with the host organism loaded with the fetched experiment if it is different (see DefaultOrganismComparator) It will ignore all other properties of a Experiment- Since:
- 13/08/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MinimalExperimentUpdater()
Constructor for MinimalExperimentUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processInteractionDetectionMethod(Experiment experimentToEnrich, Experiment objectSource)
processInteractionDetectionMethod.protected void
processOrganism(Experiment experimentToEnrich, Experiment objectSource)
processOrganism.protected void
processPublication(Experiment experimentToEnrich, Experiment objectSource)
processPublication.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalExperimentEnricher
enrich, enrich, find, getCvTermEnricher, getExperimentEnricherListener, getOrganismEnricher, getPublicationEnricher, onEnrichedVersionNotFound, processExperiment, processExperiment, processInteractionDetectionMethod, processOrganism, processOtherProperties, processOtherProperties, processPublication, setCvTermEnricher, setExperimentEnricherListener, setOrganismEnricher, setPublicationEnricher
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher
enrich
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich
-
-
-
-
Method Detail
-
processInteractionDetectionMethod
protected void processInteractionDetectionMethod(Experiment experimentToEnrich, Experiment objectSource) throws EnricherException
processInteractionDetectionMethod.
- Overrides:
processInteractionDetectionMethod
in classMinimalExperimentEnricher
- Parameters:
experimentToEnrich
- aExperiment
object.objectSource
- aExperiment
object.- Throws:
EnricherException
- if any.
-
processPublication
protected void processPublication(Experiment experimentToEnrich, Experiment objectSource) throws EnricherException
processPublication.
- Overrides:
processPublication
in classMinimalExperimentEnricher
- Parameters:
experimentToEnrich
- aExperiment
object.objectSource
- aExperiment
object.- Throws:
EnricherException
- if any.
-
processOrganism
protected void processOrganism(Experiment experimentToEnrich, Experiment objectSource) throws EnricherException
processOrganism.
- Overrides:
processOrganism
in classMinimalExperimentEnricher
- Parameters:
experimentToEnrich
- aExperiment
object.objectSource
- aExperiment
object.- Throws:
EnricherException
- if any.
-
-