Class MinimalInteractorBaseEnricher<T extends Interactor>
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.AbstractMIEnricher<T>
-
- psidev.psi.mi.jami.enricher.impl.AbstractInteractorEnricher<T>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractorBaseEnricher<T>
-
- All Implemented Interfaces:
InteractorEnricher<T>,MIEnricher<T>
- Direct Known Subclasses:
FullInteractorBaseEnricher
public class MinimalInteractorBaseEnricher<T extends Interactor> extends AbstractInteractorEnricher<T>
A basic minimal enricher for interactors. See description of minimal enrichment in AbstractInteractorEnricher- Since:
01/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MinimalInteractorBaseEnricher()Constructor for MinimalInteractorBaseEnricher.MinimalInteractorBaseEnricher(InteractorFetcher<T> fetcher)Constructor for MinimalInteractorBaseEnricher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tfind(T objectToEnrich)find.protected booleanisFullEnrichment()isFullEnrichment.protected voidonCompletedEnrichment(T objectToEnrich)onCompletedEnrichment.protected voidonInteractorCheckFailure(T objectToEnrich, T fetchedObject)onInteractorCheckFailure.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.AbstractInteractorEnricher
canEnrichInteractor, enrich, getCvTermEnricher, getInteractorFetcher, getListener, getOrganismEnricher, getRetryCount, onEnrichedVersionNotFound, processAliases, processAnnotations, processChecksums, processFullName, processIdentifiers, processInteractorType, processInteractorType, processOrganism, processOrganism, processOtherProperties, processShortLabel, processXrefs, setCvTermEnricher, setListener, setOrganismEnricher, 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
-
MinimalInteractorBaseEnricher
public MinimalInteractorBaseEnricher()
Constructor for MinimalInteractorBaseEnricher.
-
MinimalInteractorBaseEnricher
public MinimalInteractorBaseEnricher(InteractorFetcher<T> fetcher)
Constructor for MinimalInteractorBaseEnricher.
- Parameters:
fetcher- aInteractorFetcherobject.
-
-
Method Detail
-
isFullEnrichment
protected boolean isFullEnrichment()
isFullEnrichment.
- Specified by:
isFullEnrichmentin classAbstractInteractorEnricher<T extends Interactor>- Returns:
- a boolean.
-
onCompletedEnrichment
protected void onCompletedEnrichment(T objectToEnrich)
onCompletedEnrichment.
- Specified by:
onCompletedEnrichmentin classAbstractInteractorEnricher<T extends Interactor>- Parameters:
objectToEnrich- a T object.
-
onInteractorCheckFailure
protected void onInteractorCheckFailure(T objectToEnrich, T fetchedObject) throws EnricherException
onInteractorCheckFailure.
- Specified by:
onInteractorCheckFailurein classAbstractInteractorEnricher<T extends Interactor>- Parameters:
objectToEnrich- a T object.fetchedObject- a T object.- Throws:
EnricherException- if any.
-
find
public T find(T objectToEnrich) throws EnricherException
find.
- Specified by:
findin classAbstractInteractorEnricher<T extends Interactor>- Parameters:
objectToEnrich- a T object.- Returns:
- a T object.
- Throws:
EnricherException- if any.
-
-