Class MinimalOrganismUpdater
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<Organism>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalOrganismEnricher
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalOrganismUpdater
-
- All Implemented Interfaces:
MIEnricher<Organism>
,OrganismEnricher
- Direct Known Subclasses:
FullOrganismUpdater
public class MinimalOrganismUpdater extends MinimalOrganismEnricher
Provides minimum update of a Organism. - update taxid if different from fetched organism taxid. - update common name if different from fetched organism common name. - update scientific name if different from fetched organism scientific name. The organism fetcher is required for enriching organism- Since:
- 13/06/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MinimalOrganismUpdater(OrganismFetcher organismFetcher)
Constructor for MinimalOrganismUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processCommonName(Organism organismToEnrich, Organism organismFetched)
processCommonName.protected void
processScientificName(Organism organismToEnrich, Organism organismFetched)
processScientificName.protected void
processTaxid(Organism organismToEnrich, Organism organismFetched)
processTaxid.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalOrganismEnricher
enrich, find, getCvTermEnricher, getOrganismEnricherListener, getOrganismFetcher, getRetryCount, onEnrichedVersionNotFound, processOtherProperties, setCvTermEnricher, setOrganismEnricherListener, setRetryCount
-
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
-
MinimalOrganismUpdater
public MinimalOrganismUpdater(OrganismFetcher organismFetcher)
Constructor for MinimalOrganismUpdater.
- Parameters:
organismFetcher
- aOrganismFetcher
object.
-
-
Method Detail
-
processScientificName
protected void processScientificName(Organism organismToEnrich, Organism organismFetched)
processScientificName.
- Overrides:
processScientificName
in classMinimalOrganismEnricher
- Parameters:
organismToEnrich
- aOrganism
object.organismFetched
- aOrganism
object.
-
processCommonName
protected void processCommonName(Organism organismToEnrich, Organism organismFetched)
processCommonName.
- Overrides:
processCommonName
in classMinimalOrganismEnricher
- Parameters:
organismToEnrich
- aOrganism
object.organismFetched
- aOrganism
object.
-
processTaxid
protected void processTaxid(Organism organismToEnrich, Organism organismFetched) throws EnricherException
processTaxid.
- Overrides:
processTaxid
in classMinimalOrganismEnricher
- Parameters:
organismToEnrich
- aOrganism
object.organismFetched
- aOrganism
object.- Throws:
EnricherException
- if any.
-
-