Class FullInteractorPoolEnricher
- 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>
-
- psidev.psi.mi.jami.enricher.impl.full.FullInteractorBaseEnricher<InteractorPool>
-
- psidev.psi.mi.jami.enricher.impl.full.FullInteractorPoolEnricher
-
- All Implemented Interfaces:
InteractorEnricher<InteractorPool>,InteractorPoolEnricher,MIEnricher<InteractorPool>
public class FullInteractorPoolEnricher extends FullInteractorBaseEnricher<InteractorPool> implements InteractorPoolEnricher
A full enricher for interactor pools. See description of minimal enrichment in AbstractInteractorEnricher. - enrich all interactors in existing pool using a composite interactor enricher if it is not null. It will only add missing interactors in the pool and not remove any interactors that are not in the fetched interactor pool- Since:
30/01/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description FullInteractorPoolEnricher()Constructor for FullInteractorPoolEnricher.FullInteractorPoolEnricher(InteractorFetcher<InteractorPool> fetcher)Constructor for FullInteractorPoolEnricher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<Interactor>getInteractorComparator()Getter for the fieldinteractorComparator.CompositeInteractorEnrichergetInteractorEnricher()Getter for the fieldinteractorEnricher.protected booleanisFullEnrichment()isFullEnrichment.protected voidprocessMembers(InteractorPool poolToEnrich, InteractorPool fetched)processMembers.protected voidprocessOtherProperties(InteractorPool poolToEnrich, InteractorPool fetched)processOtherProperties.voidsetInteractorComparator(Comparator<Interactor> interactorComparator)setInteractorComparator.voidsetInteractorEnricher(CompositeInteractorEnricher interactorEnricher)setInteractorEnricher.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractorBaseEnricher
find, onCompletedEnrichment, 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, 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.InteractorEnricher
getCvTermEnricher, getInteractorFetcher, getListener, getOrganismEnricher, setCvTermEnricher, setListener, setOrganismEnricher
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich, enrich, enrich
-
-
-
-
Constructor Detail
-
FullInteractorPoolEnricher
public FullInteractorPoolEnricher()
Constructor for FullInteractorPoolEnricher.
-
FullInteractorPoolEnricher
public FullInteractorPoolEnricher(InteractorFetcher<InteractorPool> fetcher)
Constructor for FullInteractorPoolEnricher.
- Parameters:
fetcher- aInteractorFetcherobject.
-
-
Method Detail
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
Getter for the field
interactorEnricher.- Specified by:
getInteractorEnricherin interfaceInteractorPoolEnricher- Returns:
- a
CompositeInteractorEnricherobject.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricherin interfaceInteractorPoolEnricher- Parameters:
interactorEnricher- aCompositeInteractorEnricherobject.
-
getInteractorComparator
public Comparator<Interactor> getInteractorComparator()
Getter for the field
interactorComparator.- Specified by:
getInteractorComparatorin interfaceInteractorPoolEnricher- Returns:
- a
Comparatorobject.
-
setInteractorComparator
public void setInteractorComparator(Comparator<Interactor> interactorComparator)
setInteractorComparator.
- Specified by:
setInteractorComparatorin interfaceInteractorPoolEnricher- Parameters:
interactorComparator- aComparatorobject.
-
isFullEnrichment
protected boolean isFullEnrichment()
isFullEnrichment.
- Overrides:
isFullEnrichmentin classFullInteractorBaseEnricher<InteractorPool>- Returns:
- a boolean.
-
processOtherProperties
protected void processOtherProperties(InteractorPool poolToEnrich, InteractorPool fetched) throws EnricherException
processOtherProperties.
- Overrides:
processOtherPropertiesin classAbstractInteractorEnricher<InteractorPool>- Parameters:
poolToEnrich- a T object.fetched- a T object.- Throws:
EnricherException- if any.
-
processMembers
protected void processMembers(InteractorPool poolToEnrich, InteractorPool fetched) throws EnricherException
processMembers.
- Parameters:
poolToEnrich- aInteractorPoolobject.fetched- aInteractorPoolobject.- Throws:
EnricherException- if any.
-
-