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 void
enrich(Collection<Entity> objects)
enrich.void
enrich(Entity object)
enrich.void
enrich(Entity object, Entity objectSource)
enrich.EntityEnricher<Entity,Feature>
getEntityBaseEnricher()
Getter for the fieldentityBaseEnricher
.EntityEnricher<ExperimentalEntity,FeatureEvidence>
getExperimentalEntityEnricher()
Getter for the fieldexperimentalEntityEnricher
.FeatureEnricher
getFeatureEnricher()
getFeatureEnricher.CompositeInteractorEnricher
getInteractorEnricher()
getInteractorEnricher.EntityEnricher<ModelledEntity,ModelledFeature>
getModelledEntityEnricher()
Getter for the fieldmodelledEntityEnricher
.EntityEnricherListener
getParticipantEnricherListener()
getParticipantEnricherListener.void
setExperimentalEntityEnricher(EntityEnricher<ExperimentalEntity,FeatureEvidence> experimentalEntityEnricher)
Setter for the fieldexperimentalEntityEnricher
.void
setFeatureEnricher(FeatureEnricher<Feature> enricher)
setFeatureEnricher.void
setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.void
setModelledEntityEnricher(EntityEnricher<ModelledEntity,ModelledFeature> modelledEntityEnricher)
Setter for the fieldmodelledEntityEnricher
.void
setParticipantEnricherListener(EntityEnricherListener listener)
setParticipantEnricherListener.
-
-
-
Constructor Detail
-
CompositeEntityEnricher
public CompositeEntityEnricher(EntityEnricher<Entity,Feature> entityBaseEnricher)
Constructor for CompositeEntityEnricher.
- Parameters:
entityBaseEnricher
- aEntityEnricher
object.
-
-
Method Detail
-
getEntityBaseEnricher
public EntityEnricher<Entity,Feature> getEntityBaseEnricher()
Getter for the field
entityBaseEnricher
.- Returns:
- a
EntityEnricher
object.
-
getModelledEntityEnricher
public EntityEnricher<ModelledEntity,ModelledFeature> getModelledEntityEnricher()
Getter for the field
modelledEntityEnricher
.- Returns:
- a
EntityEnricher
object.
-
setModelledEntityEnricher
public void setModelledEntityEnricher(EntityEnricher<ModelledEntity,ModelledFeature> modelledEntityEnricher)
Setter for the field
modelledEntityEnricher
.- Parameters:
modelledEntityEnricher
- aEntityEnricher
object.
-
getExperimentalEntityEnricher
public EntityEnricher<ExperimentalEntity,FeatureEvidence> getExperimentalEntityEnricher()
Getter for the field
experimentalEntityEnricher
.- Returns:
- a
EntityEnricher
object.
-
setExperimentalEntityEnricher
public void setExperimentalEntityEnricher(EntityEnricher<ExperimentalEntity,FeatureEvidence> experimentalEntityEnricher)
Setter for the field
experimentalEntityEnricher
.- Parameters:
experimentalEntityEnricher
- aEntityEnricher
object.
-
enrich
public void enrich(Entity object) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Entity>
- Parameters:
object
- aEntity
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(Collection<Entity> objects) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Entity>
- Parameters:
objects
- aCollection
object.- Throws:
EnricherException
- if any.
-
enrich
public void enrich(Entity object, Entity objectSource) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<Entity>
- Parameters:
object
- aEntity
object.objectSource
- aEntity
object.- Throws:
EnricherException
- if any.
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
getInteractorEnricher.
- Specified by:
getInteractorEnricher
in interfaceEntityEnricher<Entity,Feature>
- Returns:
- a
CompositeInteractorEnricher
object.
-
getFeatureEnricher
public FeatureEnricher getFeatureEnricher()
getFeatureEnricher.
- Specified by:
getFeatureEnricher
in interfaceEntityEnricher<Entity,Feature>
- Returns:
- a
FeatureEnricher
object.
-
getParticipantEnricherListener
public EntityEnricherListener getParticipantEnricherListener()
getParticipantEnricherListener.
- Specified by:
getParticipantEnricherListener
in interfaceEntityEnricher<Entity,Feature>
- Returns:
- a
EntityEnricherListener
object.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricher
in interfaceEntityEnricher<Entity,Feature>
- Parameters:
interactorEnricher
- aCompositeInteractorEnricher
object.
-
setFeatureEnricher
public void setFeatureEnricher(FeatureEnricher<Feature> enricher)
setFeatureEnricher.
- Specified by:
setFeatureEnricher
in interfaceEntityEnricher<Entity,Feature>
- Parameters:
enricher
- aFeatureEnricher
object.
-
setParticipantEnricherListener
public void setParticipantEnricherListener(EntityEnricherListener listener)
setParticipantEnricherListener.
- Specified by:
setParticipantEnricherListener
in interfaceEntityEnricher<Entity,Feature>
- Parameters:
listener
- aEntityEnricherListener
object.
-
-