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
.CompositeInteractorEnricher
getInteractorEnricher()
Getter for the fieldinteractorEnricher
.protected boolean
isFullEnrichment()
isFullEnrichment.protected void
processMembers(InteractorPool poolToEnrich, InteractorPool fetched)
processMembers.protected void
processOtherProperties(InteractorPool poolToEnrich, InteractorPool fetched)
processOtherProperties.void
setInteractorComparator(Comparator<Interactor> interactorComparator)
setInteractorComparator.void
setInteractorEnricher(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
- aInteractorFetcher
object.
-
-
Method Detail
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
Getter for the field
interactorEnricher
.- Specified by:
getInteractorEnricher
in interfaceInteractorPoolEnricher
- Returns:
- a
CompositeInteractorEnricher
object.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricher
in interfaceInteractorPoolEnricher
- Parameters:
interactorEnricher
- aCompositeInteractorEnricher
object.
-
getInteractorComparator
public Comparator<Interactor> getInteractorComparator()
Getter for the field
interactorComparator
.- Specified by:
getInteractorComparator
in interfaceInteractorPoolEnricher
- Returns:
- a
Comparator
object.
-
setInteractorComparator
public void setInteractorComparator(Comparator<Interactor> interactorComparator)
setInteractorComparator.
- Specified by:
setInteractorComparator
in interfaceInteractorPoolEnricher
- Parameters:
interactorComparator
- aComparator
object.
-
isFullEnrichment
protected boolean isFullEnrichment()
isFullEnrichment.
- Overrides:
isFullEnrichment
in classFullInteractorBaseEnricher<InteractorPool>
- Returns:
- a boolean.
-
processOtherProperties
protected void processOtherProperties(InteractorPool poolToEnrich, InteractorPool fetched) throws EnricherException
processOtherProperties.
- Overrides:
processOtherProperties
in 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
- aInteractorPool
object.fetched
- aInteractorPool
object.- Throws:
EnricherException
- if any.
-
-