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- aParticipantEnricherobject.
-
-
Method Detail
-
getPoolEntityEnricher
public ParticipantPoolEnricher<ModelledParticipantPool,ModelledFeature> getPoolEntityEnricher()
Getter for the field
poolEntityEnricher.- Returns:
- a
ParticipantPoolEnricherobject.
-
setPoolEntityEnricher
public void setPoolEntityEnricher(ParticipantPoolEnricher<ModelledParticipantPool,ModelledFeature> poolEntityEnricher)
Setter for the field
poolEntityEnricher.- Parameters:
poolEntityEnricher- aParticipantPoolEnricherobject.
-
enrich
public void enrich(ModelledParticipant object) throws EnricherException
enrich.
- Specified by:
enrichin interfaceMIEnricher<ModelledParticipant>- Parameters:
object- aModelledParticipantobject.- Throws:
EnricherException- if any.
-
enrich
public void enrich(Collection<ModelledParticipant> objects) throws EnricherException
enrich.
- Specified by:
enrichin interfaceMIEnricher<ModelledParticipant>- Parameters:
objects- aCollectionobject.- Throws:
EnricherException- if any.
-
enrich
public void enrich(ModelledParticipant object, ModelledParticipant objectSource) throws EnricherException
enrich.
- Specified by:
enrichin interfaceMIEnricher<ModelledParticipant>- Parameters:
object- aModelledParticipantobject.objectSource- aModelledParticipantobject.- Throws:
EnricherException- if any.
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
getInteractorEnricher.
- Specified by:
getInteractorEnricherin interfaceEntityEnricher<ModelledParticipant,ModelledFeature>- Returns:
- a
CompositeInteractorEnricherobject.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
getCvTermEnricher.
- Specified by:
getCvTermEnricherin interfaceParticipantEnricher<ModelledParticipant,ModelledFeature>- Returns:
- a
CvTermEnricherobject.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher<CvTerm> enricher)
setCvTermEnricher.
- Specified by:
setCvTermEnricherin interfaceParticipantEnricher<ModelledParticipant,ModelledFeature>- Parameters:
enricher- aCvTermEnricherobject.
-
getFeatureEnricher
public FeatureEnricher getFeatureEnricher()
getFeatureEnricher.
- Specified by:
getFeatureEnricherin interfaceEntityEnricher<ModelledParticipant,ModelledFeature>- Returns:
- a
FeatureEnricherobject.
-
getParticipantEnricherListener
public EntityEnricherListener getParticipantEnricherListener()
getParticipantEnricherListener.
- Specified by:
getParticipantEnricherListenerin interfaceEntityEnricher<ModelledParticipant,ModelledFeature>- Returns:
- a
EntityEnricherListenerobject.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricherin interfaceEntityEnricher<ModelledParticipant,ModelledFeature>- Parameters:
interactorEnricher- aCompositeInteractorEnricherobject.
-
setFeatureEnricher
public void setFeatureEnricher(FeatureEnricher<ModelledFeature> enricher)
setFeatureEnricher.
- Specified by:
setFeatureEnricherin interfaceEntityEnricher<ModelledParticipant,ModelledFeature>- Parameters:
enricher- aFeatureEnricherobject.
-
setParticipantEnricherListener
public void setParticipantEnricherListener(EntityEnricherListener listener)
setParticipantEnricherListener.
- Specified by:
setParticipantEnricherListenerin interfaceEntityEnricher<ModelledParticipant,ModelledFeature>- Parameters:
listener- aEntityEnricherListenerobject.
-
-