Class MinimalCvTermUpdater<C extends CvTerm>

  • All Implemented Interfaces:
    CvTermEnricher<C>, MIEnricher<C>

    public class MinimalCvTermUpdater<C extends CvTerm>
    extends MinimalCvTermEnricher<C>
    Provides minimal update of cv term. - update shortName of CvTerm if different from the shortname of the fetched CvTerm - update fullname of CvTerm if different from the fullName of the fetched CvTerm - update identifiers of CvTerm. It will add missing identifiers and remove any existing identifiers that are not in the fetched CvTerm using DefaultXrefComparator It will ignore all other properties of a CvTerm
    Since:
    13/06/13
    Author:
    Gabriel Aldam (galdam@ebi.ac.uk)
    • Constructor Detail

      • MinimalCvTermUpdater

        public MinimalCvTermUpdater​(CvTermFetcher<C> cvTermFetcher)
        A constructor matching super.
        Parameters:
        cvTermFetcher - The fetcher to initiate the enricher with. If null, an illegal state exception will be thrown at the next enrichment.