Class MinimalCuratedPublicationUpdater
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<Publication>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalCuratedPublicationEnricher
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalCuratedPublicationUpdater
-
- All Implemented Interfaces:
CuratedPublicationEnricher
,MIEnricher<Publication>
,PublicationEnricher
public class MinimalCuratedPublicationUpdater extends MinimalCuratedPublicationEnricher
Provides minimal update of curated Publication. - enrich minimal properties of publication. See description in MinimalPublicationUpdater - enrich source of a publication if the sourceEnricher is not null. If the source of the publication to enrich is different from the source of the fetched publication (see DefaultCvTermComparator), it will override the source with the source of the fetched publication It will ignore all other properties of a publication- Since:
- 01/08/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description MinimalCuratedPublicationUpdater(PublicationFetcher fetcher)
Constructor for MinimalCuratedPublicationUpdater.protected
MinimalCuratedPublicationUpdater(MinimalPublicationEnricher delegate)
Constructor for MinimalCuratedPublicationUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processSource(Publication publicationToEnrich, Publication fetchedPublication)
processSource.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalCuratedPublicationEnricher
enrich, find, getDelegate, getPublicationEnricherListener, getPublicationFetcher, getSourceEnricher, onEnrichedVersionNotFound, processOtherProperties, processPublication, setPublicationEnricherListener, setSourceEnricher
-
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
-
MinimalCuratedPublicationUpdater
public MinimalCuratedPublicationUpdater(PublicationFetcher fetcher)
Constructor for MinimalCuratedPublicationUpdater.
- Parameters:
fetcher
- aPublicationFetcher
object.
-
MinimalCuratedPublicationUpdater
protected MinimalCuratedPublicationUpdater(MinimalPublicationEnricher delegate)
Constructor for MinimalCuratedPublicationUpdater.
- Parameters:
delegate
- aMinimalPublicationEnricher
object.
-
-
Method Detail
-
processSource
protected void processSource(Publication publicationToEnrich, Publication fetchedPublication) throws EnricherException
processSource.
- Overrides:
processSource
in classMinimalCuratedPublicationEnricher
- Parameters:
publicationToEnrich
- aPublication
object.fetchedPublication
- aPublication
object.- Throws:
EnricherException
- if any.
-
-