Class MinimalPublicationUpdater

  • All Implemented Interfaces:
    MIEnricher<Publication>, PublicationEnricher

    public class MinimalPublicationUpdater
    extends MinimalPublicationEnricher
    Provides minimal update of Publication. - 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 - enrich identifiers (pubmed, doi, etc.) of a publication. It will use DefaultXrefComparator to compare identifiers and add missing identifiers. It will also remove identifiers that are not in the fetched publication - enrich authors of a publication. It will add all missing authors. It will also remove authors that are not in the fetched publication - enrich publication date. If the publication date of the publication to enrich is different from the publication date of the fetched publication, it will override the publication date with the publication date of the fetched publication It will ignore all other properties of a publication
    Since:
    01/08/13
    Author:
    Gabriel Aldam (galdam@ebi.ac.uk)