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