Package psidev.psi.mi.jami.enricher.impl
Class CompositeInteractorEnricher
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.CompositeInteractorEnricher
-
- All Implemented Interfaces:
InteractorEnricher<Interactor>
,MIEnricher<Interactor>
public class CompositeInteractorEnricher extends Object implements InteractorEnricher<Interactor>
General enricher for interactors that can use sub enrichers for enriching specific interactors- Since:
11/02/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description CompositeInteractorEnricher(AbstractInteractorEnricher<Interactor> interactorBaseEnricher)
Constructor for CompositeInteractorEnricher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enrich(Collection<Interactor> objects)
enrich.void
enrich(Interactor object)
enrich.void
enrich(Interactor object, Interactor objectSource)
enrich.InteractorEnricher<BioactiveEntity>
getBioactiveEntityEnricher()
Getter for the fieldbioactiveEntityEnricher
.ComplexEnricher
getComplexEnricher()
Getter for the fieldcomplexEnricher
.CvTermEnricher<CvTerm>
getCvTermEnricher()
getCvTermEnricher.InteractorEnricher<Gene>
getGeneEnricher()
Getter for the fieldgeneEnricher
.AbstractInteractorEnricher<Interactor>
getInteractorBaseEnricher()
Getter for the fieldinteractorBaseEnricher
.InteractorFetcher<Interactor>
getInteractorFetcher()
getInteractorFetcher.InteractorPoolEnricher
getInteractorPoolEnricher()
Getter for the fieldinteractorPoolEnricher
.InteractorEnricherListener<Interactor>
getListener()
getListener.OrganismEnricher
getOrganismEnricher()
getOrganismEnricher.InteractorEnricher<Polymer>
getPolymerBaseEnricher()
Getter for the fieldpolymerBaseEnricher
.ProteinEnricher
getProteinEnricher()
Getter for the fieldproteinEnricher
.void
setBioactiveEntityEnricher(InteractorEnricher<BioactiveEntity> bioactiveEntityEnricher)
Setter for the fieldbioactiveEntityEnricher
.void
setComplexEnricher(ComplexEnricher complexEnricher)
Setter for the fieldcomplexEnricher
.void
setCvTermEnricher(CvTermEnricher<CvTerm> enricher)
setCvTermEnricher.void
setGeneEnricher(InteractorEnricher<Gene> geneEnricher)
Setter for the fieldgeneEnricher
.void
setInteractorPoolEnricher(InteractorPoolEnricher interactorPoolEnricher)
Setter for the fieldinteractorPoolEnricher
.void
setListener(InteractorEnricherListener<Interactor> listener)
setListener.void
setOrganismEnricher(OrganismEnricher enricher)
setOrganismEnricher.void
setPolymerBaseEnricher(InteractorEnricher<Polymer> polymerBaseEnricher)
Setter for the fieldpolymerBaseEnricher
.void
setProteinEnricher(ProteinEnricher proteinEnricher)
Setter for the fieldproteinEnricher
.
-
-
-
Constructor Detail
-
CompositeInteractorEnricher
public CompositeInteractorEnricher(AbstractInteractorEnricher<Interactor> interactorBaseEnricher)
Constructor for CompositeInteractorEnricher.
- Parameters:
interactorBaseEnricher
- aAbstractInteractorEnricher
object.
-
-
Method Detail
-
getPolymerBaseEnricher
public InteractorEnricher<Polymer> getPolymerBaseEnricher()
Getter for the field
polymerBaseEnricher
.- Returns:
- a
InteractorEnricher
object.
-
setPolymerBaseEnricher
public void setPolymerBaseEnricher(InteractorEnricher<Polymer> polymerBaseEnricher)
Setter for the field
polymerBaseEnricher
.- Parameters:
polymerBaseEnricher
- aInteractorEnricher
object.
-
getInteractorPoolEnricher
public InteractorPoolEnricher getInteractorPoolEnricher()
Getter for the field
interactorPoolEnricher
.- Returns:
- a
InteractorPoolEnricher
object.
-
setInteractorPoolEnricher
public void setInteractorPoolEnricher(InteractorPoolEnricher interactorPoolEnricher)
Setter for the field
interactorPoolEnricher
.- Parameters:
interactorPoolEnricher
- aInteractorPoolEnricher
object.
-
getProteinEnricher
public ProteinEnricher getProteinEnricher()
Getter for the field
proteinEnricher
.- Returns:
- a
ProteinEnricher
object.
-
setProteinEnricher
public void setProteinEnricher(ProteinEnricher proteinEnricher)
Setter for the field
proteinEnricher
.- Parameters:
proteinEnricher
- aProteinEnricher
object.
-
getBioactiveEntityEnricher
public InteractorEnricher<BioactiveEntity> getBioactiveEntityEnricher()
Getter for the field
bioactiveEntityEnricher
.- Returns:
- a
InteractorEnricher
object.
-
setBioactiveEntityEnricher
public void setBioactiveEntityEnricher(InteractorEnricher<BioactiveEntity> bioactiveEntityEnricher)
Setter for the field
bioactiveEntityEnricher
.- Parameters:
bioactiveEntityEnricher
- aInteractorEnricher
object.
-
getGeneEnricher
public InteractorEnricher<Gene> getGeneEnricher()
Getter for the field
geneEnricher
.- Returns:
- a
InteractorEnricher
object.
-
setGeneEnricher
public void setGeneEnricher(InteractorEnricher<Gene> geneEnricher)
Setter for the field
geneEnricher
.- Parameters:
geneEnricher
- aInteractorEnricher
object.
-
getComplexEnricher
public ComplexEnricher getComplexEnricher()
Getter for the field
complexEnricher
.- Returns:
- a
ComplexEnricher
object.
-
setComplexEnricher
public void setComplexEnricher(ComplexEnricher complexEnricher)
Setter for the field
complexEnricher
.- Parameters:
complexEnricher
- aComplexEnricher
object.
-
getInteractorBaseEnricher
public AbstractInteractorEnricher<Interactor> getInteractorBaseEnricher()
Getter for the field
interactorBaseEnricher
.- Returns:
- a
AbstractInteractorEnricher
object.
-
enrich
public void enrich(Interactor object) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Interactor>
- Parameters:
object
- aInteractor
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(Collection<Interactor> objects) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Interactor>
- Parameters:
objects
- aCollection
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(Interactor object, Interactor objectSource) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Interactor>
- Parameters:
object
- aInteractor
object.objectSource
- aInteractor
object.- Throws:
EnricherException
- if any.
-
getInteractorFetcher
public InteractorFetcher<Interactor> getInteractorFetcher()
getInteractorFetcher.
- Specified by:
getInteractorFetcher
in interfaceInteractorEnricher<Interactor>
- Returns:
- a
InteractorFetcher
object.
-
getListener
public InteractorEnricherListener<Interactor> getListener()
getListener.
- Specified by:
getListener
in interfaceInteractorEnricher<Interactor>
- Returns:
- a
InteractorEnricherListener
object.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
getCvTermEnricher.
- Specified by:
getCvTermEnricher
in interfaceInteractorEnricher<Interactor>
- Returns:
- a
CvTermEnricher
object.
-
getOrganismEnricher
public OrganismEnricher getOrganismEnricher()
getOrganismEnricher.
- Specified by:
getOrganismEnricher
in interfaceInteractorEnricher<Interactor>
- Returns:
- a
OrganismEnricher
object.
-
setListener
public void setListener(InteractorEnricherListener<Interactor> listener)
setListener.
- Specified by:
setListener
in interfaceInteractorEnricher<Interactor>
- Parameters:
listener
- aInteractorEnricherListener
object.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher<CvTerm> enricher)
setCvTermEnricher.
- Specified by:
setCvTermEnricher
in interfaceInteractorEnricher<Interactor>
- Parameters:
enricher
- aCvTermEnricher
object.
-
setOrganismEnricher
public void setOrganismEnricher(OrganismEnricher enricher)
setOrganismEnricher.
- Specified by:
setOrganismEnricher
in interfaceInteractorEnricher<Interactor>
- Parameters:
enricher
- aOrganismEnricher
object.
-
-