Package psidev.psi.mi.jami.enricher.impl
Class CompositeParticipantEnricher
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.CompositeParticipantEnricher
-
- All Implemented Interfaces:
EntityEnricher<Participant,Feature>
,MIEnricher<Participant>
,ParticipantEnricher<Participant,Feature>
public class CompositeParticipantEnricher extends Object implements ParticipantEnricher<Participant,Feature>
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 CompositeParticipantEnricher(ParticipantEnricher<Participant,Feature> entityBaseEnricher)
Constructor for CompositeParticipantEnricher.
-
Method Summary
-
-
-
Constructor Detail
-
CompositeParticipantEnricher
public CompositeParticipantEnricher(ParticipantEnricher<Participant,Feature> entityBaseEnricher)
Constructor for CompositeParticipantEnricher.
- Parameters:
entityBaseEnricher
- aParticipantEnricher
object.
-
-
Method Detail
-
getEntityBaseEnricher
public ParticipantEnricher<Participant,Feature> getEntityBaseEnricher()
Getter for the field
entityBaseEnricher
.- Returns:
- a
ParticipantEnricher
object.
-
getModelledEntityEnricher
public CompositeModelledParticipantEnricher getModelledEntityEnricher()
Getter for the field
modelledEntityEnricher
.- Returns:
- a
CompositeModelledParticipantEnricher
object.
-
setModelledEntityEnricher
public void setModelledEntityEnricher(CompositeModelledParticipantEnricher modelledEntityEnricher)
Setter for the field
modelledEntityEnricher
.- Parameters:
modelledEntityEnricher
- aCompositeModelledParticipantEnricher
object.
-
getExperimentalEntityEnricher
public CompositeParticipantEvidenceEnricher getExperimentalEntityEnricher()
Getter for the field
experimentalEntityEnricher
.- Returns:
- a
CompositeParticipantEvidenceEnricher
object.
-
setExperimentalEntityEnricher
public void setExperimentalEntityEnricher(CompositeParticipantEvidenceEnricher experimentalEntityEnricher)
Setter for the field
experimentalEntityEnricher
.- Parameters:
experimentalEntityEnricher
- aCompositeParticipantEvidenceEnricher
object.
-
getPoolEnricher
public ParticipantPoolEnricher<ParticipantPool,Feature> getPoolEnricher()
Getter for the field
poolEnricher
.- Returns:
- a
ParticipantPoolEnricher
object.
-
setPoolEnricher
public void setPoolEnricher(ParticipantPoolEnricher<ParticipantPool,Feature> poolEnricher)
Setter for the field
poolEnricher
.- Parameters:
poolEnricher
- aParticipantPoolEnricher
object.
-
enrich
public void enrich(Participant object) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Participant>
- Parameters:
object
- aParticipant
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(Collection<Participant> objects) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Participant>
- Parameters:
objects
- aCollection
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(Participant object, Participant objectSource) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Participant>
- Parameters:
object
- aParticipant
object.objectSource
- aParticipant
object.- Throws:
EnricherException
- if any.
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
getInteractorEnricher.
- Specified by:
getInteractorEnricher
in interfaceEntityEnricher<Participant,Feature>
- Returns:
- a
CompositeInteractorEnricher
object.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
getCvTermEnricher.
- Specified by:
getCvTermEnricher
in interfaceParticipantEnricher<Participant,Feature>
- Returns:
- a
CvTermEnricher
object.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher<CvTerm> enricher)
setCvTermEnricher.
- Specified by:
setCvTermEnricher
in interfaceParticipantEnricher<Participant,Feature>
- Parameters:
enricher
- aCvTermEnricher
object.
-
getFeatureEnricher
public FeatureEnricher getFeatureEnricher()
getFeatureEnricher.
- Specified by:
getFeatureEnricher
in interfaceEntityEnricher<Participant,Feature>
- Returns:
- a
FeatureEnricher
object.
-
getParticipantEnricherListener
public EntityEnricherListener getParticipantEnricherListener()
getParticipantEnricherListener.
- Specified by:
getParticipantEnricherListener
in interfaceEntityEnricher<Participant,Feature>
- Returns:
- a
EntityEnricherListener
object.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricher
in interfaceEntityEnricher<Participant,Feature>
- Parameters:
interactorEnricher
- aCompositeInteractorEnricher
object.
-
setFeatureEnricher
public void setFeatureEnricher(FeatureEnricher<Feature> enricher)
setFeatureEnricher.
- Specified by:
setFeatureEnricher
in interfaceEntityEnricher<Participant,Feature>
- Parameters:
enricher
- aFeatureEnricher
object.
-
setParticipantEnricherListener
public void setParticipantEnricherListener(EntityEnricherListener listener)
setParticipantEnricherListener.
- Specified by:
setParticipantEnricherListener
in interfaceEntityEnricher<Participant,Feature>
- Parameters:
listener
- aEntityEnricherListener
object.
-
-