Class MinimalSourceUpdater
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<Source>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalSourceEnricher
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalSourceUpdater
-
- All Implemented Interfaces:
CvTermEnricher<Source>
,MIEnricher<Source>
,SourceEnricher
- Direct Known Subclasses:
FullSourceUpdater
public class MinimalSourceUpdater extends MinimalSourceEnricher
Provides minimum update of a Source. - update minimal properties of CvTerm (see MinimalCvTermUpdater for more details) - update publication properties using publication updater. If the publication in the source to enrich is different from the one from the fetched source (see DefaultPublicationComparator for more details), it will override the publication with the one from the fetched source before enriching it with the publication enricher,- Since:
29/01/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description MinimalSourceUpdater(SourceFetcher cvTermFetcher)
Constructor for MinimalSourceUpdater.protected
MinimalSourceUpdater(MinimalCvTermEnricher<Source> cvEnricher)
Constructor for MinimalSourceUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processPublication(Source cvTermToEnrich, Source cvTermFetched)
processPublication.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalSourceEnricher
enrich, find, getCvTermEnricherListener, getCvTermFetcher, getDelegate, getPublicationEnricher, onEnrichedVersionNotFound, processSource, setCvTermEnricherListener, setPublicationEnricher
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher
enrich, 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, enrich
-
-
-
-
Constructor Detail
-
MinimalSourceUpdater
public MinimalSourceUpdater(SourceFetcher cvTermFetcher)
Constructor for MinimalSourceUpdater.
- Parameters:
cvTermFetcher
- aSourceFetcher
object.
-
MinimalSourceUpdater
protected MinimalSourceUpdater(MinimalCvTermEnricher<Source> cvEnricher)
Constructor for MinimalSourceUpdater.
- Parameters:
cvEnricher
- aMinimalCvTermEnricher
object.
-
-
Method Detail
-
processPublication
protected void processPublication(Source cvTermToEnrich, Source cvTermFetched) throws EnricherException
processPublication.
- Overrides:
processPublication
in classMinimalSourceEnricher
- Parameters:
cvTermToEnrich
- aSource
object.cvTermFetched
- aSource
object.- Throws:
EnricherException
- if any.
-
-