Package psidev.psi.mi.jami.enricher.impl
Class CompositeEntityEnricher
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.CompositeEntityEnricher
-
- All Implemented Interfaces:
EntityEnricher<Entity,Feature>,MIEnricher<Entity>
public class CompositeEntityEnricher extends Object implements EntityEnricher<Entity,Feature>
General enricher for entities and participants candidates 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 CompositeEntityEnricher(EntityEnricher<Entity,Feature> entityBaseEnricher)Constructor for CompositeEntityEnricher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenrich(Collection<Entity> objects)enrich.voidenrich(Entity object)enrich.voidenrich(Entity object, Entity objectSource)enrich.EntityEnricher<Entity,Feature>getEntityBaseEnricher()Getter for the fieldentityBaseEnricher.EntityEnricher<ExperimentalEntity,FeatureEvidence>getExperimentalEntityEnricher()Getter for the fieldexperimentalEntityEnricher.FeatureEnrichergetFeatureEnricher()getFeatureEnricher.CompositeInteractorEnrichergetInteractorEnricher()getInteractorEnricher.EntityEnricher<ModelledEntity,ModelledFeature>getModelledEntityEnricher()Getter for the fieldmodelledEntityEnricher.EntityEnricherListenergetParticipantEnricherListener()getParticipantEnricherListener.voidsetExperimentalEntityEnricher(EntityEnricher<ExperimentalEntity,FeatureEvidence> experimentalEntityEnricher)Setter for the fieldexperimentalEntityEnricher.voidsetFeatureEnricher(FeatureEnricher<Feature> enricher)setFeatureEnricher.voidsetInteractorEnricher(CompositeInteractorEnricher interactorEnricher)setInteractorEnricher.voidsetModelledEntityEnricher(EntityEnricher<ModelledEntity,ModelledFeature> modelledEntityEnricher)Setter for the fieldmodelledEntityEnricher.voidsetParticipantEnricherListener(EntityEnricherListener listener)setParticipantEnricherListener.
-
-
-
Constructor Detail
-
CompositeEntityEnricher
public CompositeEntityEnricher(EntityEnricher<Entity,Feature> entityBaseEnricher)
Constructor for CompositeEntityEnricher.
- Parameters:
entityBaseEnricher- aEntityEnricherobject.
-
-
Method Detail
-
getEntityBaseEnricher
public EntityEnricher<Entity,Feature> getEntityBaseEnricher()
Getter for the field
entityBaseEnricher.- Returns:
- a
EntityEnricherobject.
-
getModelledEntityEnricher
public EntityEnricher<ModelledEntity,ModelledFeature> getModelledEntityEnricher()
Getter for the field
modelledEntityEnricher.- Returns:
- a
EntityEnricherobject.
-
setModelledEntityEnricher
public void setModelledEntityEnricher(EntityEnricher<ModelledEntity,ModelledFeature> modelledEntityEnricher)
Setter for the field
modelledEntityEnricher.- Parameters:
modelledEntityEnricher- aEntityEnricherobject.
-
getExperimentalEntityEnricher
public EntityEnricher<ExperimentalEntity,FeatureEvidence> getExperimentalEntityEnricher()
Getter for the field
experimentalEntityEnricher.- Returns:
- a
EntityEnricherobject.
-
setExperimentalEntityEnricher
public void setExperimentalEntityEnricher(EntityEnricher<ExperimentalEntity,FeatureEvidence> experimentalEntityEnricher)
Setter for the field
experimentalEntityEnricher.- Parameters:
experimentalEntityEnricher- aEntityEnricherobject.
-
enrich
public void enrich(Entity object) throws EnricherException
enrich.
- Specified by:
enrichin interfaceMIEnricher<Entity>- Parameters:
object- aEntityobject.- Throws:
EnricherException- if any.
-
enrich
public void enrich(Collection<Entity> objects) throws EnricherException
enrich.
- Specified by:
enrichin interfaceMIEnricher<Entity>- Parameters:
objects- aCollectionobject.- Throws:
EnricherException- if any.
-
enrich
public void enrich(Entity object, Entity objectSource) throws EnricherException
enrich.
- Specified by:
enrichin interfaceMIEnricher<Entity>- Parameters:
object- aEntityobject.objectSource- aEntityobject.- Throws:
EnricherException- if any.
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
getInteractorEnricher.
- Specified by:
getInteractorEnricherin interfaceEntityEnricher<Entity,Feature>- Returns:
- a
CompositeInteractorEnricherobject.
-
getFeatureEnricher
public FeatureEnricher getFeatureEnricher()
getFeatureEnricher.
- Specified by:
getFeatureEnricherin interfaceEntityEnricher<Entity,Feature>- Returns:
- a
FeatureEnricherobject.
-
getParticipantEnricherListener
public EntityEnricherListener getParticipantEnricherListener()
getParticipantEnricherListener.
- Specified by:
getParticipantEnricherListenerin interfaceEntityEnricher<Entity,Feature>- Returns:
- a
EntityEnricherListenerobject.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricherin interfaceEntityEnricher<Entity,Feature>- Parameters:
interactorEnricher- aCompositeInteractorEnricherobject.
-
setFeatureEnricher
public void setFeatureEnricher(FeatureEnricher<Feature> enricher)
setFeatureEnricher.
- Specified by:
setFeatureEnricherin interfaceEntityEnricher<Entity,Feature>- Parameters:
enricher- aFeatureEnricherobject.
-
setParticipantEnricherListener
public void setParticipantEnricherListener(EntityEnricherListener listener)
setParticipantEnricherListener.
- Specified by:
setParticipantEnricherListenerin interfaceEntityEnricher<Entity,Feature>- Parameters:
listener- aEntityEnricherListenerobject.
-
-