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 T
find(T objectToEnrich)
find.protected boolean
isFullEnrichment()
isFullEnrichment.protected void
onCompletedEnrichment(T objectToEnrich)
onCompletedEnrichment.protected void
onInteractorCheckFailure(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
- aInteractorFetcher
object.
-
-
Method Detail
-
isFullEnrichment
protected boolean isFullEnrichment()
isFullEnrichment.
- Specified by:
isFullEnrichment
in classAbstractInteractorEnricher<T extends Interactor>
- Returns:
- a boolean.
-
onCompletedEnrichment
protected void onCompletedEnrichment(T objectToEnrich)
onCompletedEnrichment.
- Specified by:
onCompletedEnrichment
in classAbstractInteractorEnricher<T extends Interactor>
- Parameters:
objectToEnrich
- a T object.
-
onInteractorCheckFailure
protected void onInteractorCheckFailure(T objectToEnrich, T fetchedObject) throws EnricherException
onInteractorCheckFailure.
- Specified by:
onInteractorCheckFailure
in 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:
find
in classAbstractInteractorEnricher<T extends Interactor>
- Parameters:
objectToEnrich
- a T object.- Returns:
- a T object.
- Throws:
EnricherException
- if any.
-
-