Package psidev.psi.mi.jami.enricher.impl
Class CompositeParticipantEvidenceEnricher
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.CompositeParticipantEvidenceEnricher
-
- All Implemented Interfaces:
EntityEnricher<ParticipantEvidence,FeatureEvidence>
,MIEnricher<ParticipantEvidence>
,ParticipantEnricher<ParticipantEvidence,FeatureEvidence>
public class CompositeParticipantEvidenceEnricher extends Object implements ParticipantEnricher<ParticipantEvidence,FeatureEvidence>
General enricher for entities and participants 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 CompositeParticipantEvidenceEnricher(ParticipantEnricher<ParticipantEvidence,FeatureEvidence> entityBaseEnricher)
Constructor for CompositeParticipantEvidenceEnricher.
-
Method Summary
-
-
-
Constructor Detail
-
CompositeParticipantEvidenceEnricher
public CompositeParticipantEvidenceEnricher(ParticipantEnricher<ParticipantEvidence,FeatureEvidence> entityBaseEnricher)
Constructor for CompositeParticipantEvidenceEnricher.
- Parameters:
entityBaseEnricher
- aParticipantEnricher
object.
-
-
Method Detail
-
getPoolEntityEnricher
public ExperimentalParticipantPoolEnricher getPoolEntityEnricher()
Getter for the field
poolEntityEnricher
.- Returns:
- a
ExperimentalParticipantPoolEnricher
object.
-
setPoolEntityEnricher
public void setPoolEntityEnricher(ExperimentalParticipantPoolEnricher poolEntityEnricher)
Setter for the field
poolEntityEnricher
.- Parameters:
poolEntityEnricher
- aExperimentalParticipantPoolEnricher
object.
-
enrich
public void enrich(ParticipantEvidence object) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<ParticipantEvidence>
- Parameters:
object
- aParticipantEvidence
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(Collection<ParticipantEvidence> objects) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<ParticipantEvidence>
- Parameters:
objects
- aCollection
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(ParticipantEvidence object, ParticipantEvidence objectSource) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<ParticipantEvidence>
- Parameters:
object
- aParticipantEvidence
object.objectSource
- aParticipantEvidence
object.- Throws:
EnricherException
- if any.
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
getInteractorEnricher.
- Specified by:
getInteractorEnricher
in interfaceEntityEnricher<ParticipantEvidence,FeatureEvidence>
- Returns:
- a
CompositeInteractorEnricher
object.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
getCvTermEnricher.
- Specified by:
getCvTermEnricher
in interfaceParticipantEnricher<ParticipantEvidence,FeatureEvidence>
- Returns:
- a
CvTermEnricher
object.
-
getFeatureEnricher
public FeatureEnricher getFeatureEnricher()
getFeatureEnricher.
- Specified by:
getFeatureEnricher
in interfaceEntityEnricher<ParticipantEvidence,FeatureEvidence>
- Returns:
- a
FeatureEnricher
object.
-
getParticipantEnricherListener
public EntityEnricherListener getParticipantEnricherListener()
getParticipantEnricherListener.
- Specified by:
getParticipantEnricherListener
in interfaceEntityEnricher<ParticipantEvidence,FeatureEvidence>
- Returns:
- a
EntityEnricherListener
object.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher<CvTerm> enricher)
setCvTermEnricher.
- Specified by:
setCvTermEnricher
in interfaceParticipantEnricher<ParticipantEvidence,FeatureEvidence>
- Parameters:
enricher
- aCvTermEnricher
object.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricher
in interfaceEntityEnricher<ParticipantEvidence,FeatureEvidence>
- Parameters:
interactorEnricher
- aCompositeInteractorEnricher
object.
-
setFeatureEnricher
public void setFeatureEnricher(FeatureEnricher<FeatureEvidence> enricher)
setFeatureEnricher.
- Specified by:
setFeatureEnricher
in interfaceEntityEnricher<ParticipantEvidence,FeatureEvidence>
- Parameters:
enricher
- aFeatureEnricher
object.
-
setParticipantEnricherListener
public void setParticipantEnricherListener(EntityEnricherListener listener)
setParticipantEnricherListener.
- Specified by:
setParticipantEnricherListener
in interfaceEntityEnricher<ParticipantEvidence,FeatureEvidence>
- Parameters:
listener
- aEntityEnricherListener
object.
-
-