Class MinimalParticipantEnricher<P extends Participant,F extends Feature>
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalEntityEnricher<P,F>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalParticipantEnricher<P,F>
-
- All Implemented Interfaces:
EntityEnricher<P,F>
,MIEnricher<P>
,ParticipantEnricher<P,F>
- Direct Known Subclasses:
FullParticipantEnricher
,MinimalParticipantEvidenceEnricher
,MinimalParticipantPoolEnricher
,MinimalParticipantUpdater
public class MinimalParticipantEnricher<P extends Participant,F extends Feature> extends MinimalEntityEnricher<P,F> implements ParticipantEnricher<P,F>
The participant enricher is an enricher which can enrich either single participant or a collection. The participant enricher has subEnrichers and no fetchers.- Since:
- 19/06/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MinimalParticipantEnricher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enrich(Collection<P> participantsToEnrich)
enrich.CvTermEnricher<CvTerm>
getCvTermEnricher()
The current CvTerm enricher, If null, CvTerms will not be enriched.protected void
processAliases(P objectToEnrich, P objectSource)
processAliases.protected void
processBiologicalRole(P participantToEnrich)
processBiologicalRole.void
processBiologicalRole(P objectToEnrich, P objectSource)
processBiologicalRole.void
processInteractor(P objectToEnrich, P objectSource)
processInteractor.void
processOtherProperties(P participantToEnrich)
processOtherProperties.void
processOtherProperties(P objectToEnrich, P objectSource)
processOtherProperties.void
setCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)
setCvTermEnricher.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalEntityEnricher
enrich, enrich, getFeatureEnricher, getInteractorEnricher, getParticipantEnricherListener, processFeatures, processFeatures, processInteractor, setFeatureEnricher, setInteractorEnricher, setParticipantEnricherListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.enricher.EntityEnricher
getFeatureEnricher, getInteractorEnricher, getParticipantEnricherListener, setFeatureEnricher, setInteractorEnricher, setParticipantEnricherListener
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich, enrich
-
-
-
-
Method Detail
-
enrich
public void enrich(Collection<P> participantsToEnrich) throws EnricherException
enrich.
- Specified by:
enrich
in interfaceMIEnricher<P extends Participant>
- Overrides:
enrich
in classMinimalEntityEnricher<P extends Participant,F extends Feature>
- Parameters:
participantsToEnrich
- aCollection
object.- Throws:
EnricherException
- if any.
-
processOtherProperties
public void processOtherProperties(P objectToEnrich, P objectSource) throws EnricherException
processOtherProperties.
- Overrides:
processOtherProperties
in classMinimalEntityEnricher<P extends Participant,F extends Feature>
- Parameters:
objectToEnrich
- a P object.objectSource
- a P object.- Throws:
EnricherException
- if any.
-
processInteractor
public void processInteractor(P objectToEnrich, P objectSource) throws EnricherException
processInteractor.
- Overrides:
processInteractor
in classMinimalEntityEnricher<P extends Participant,F extends Feature>
- Parameters:
objectToEnrich
- a P object.objectSource
- a P object.- Throws:
EnricherException
- if any.
-
processBiologicalRole
public void processBiologicalRole(P objectToEnrich, P objectSource) throws EnricherException
processBiologicalRole.
- Parameters:
objectToEnrich
- a P object.objectSource
- a P object.- Throws:
EnricherException
- if any.
-
processAliases
protected void processAliases(P objectToEnrich, P objectSource) throws EnricherException
processAliases.
- Parameters:
objectToEnrich
- a P object.objectSource
- a P object.- Throws:
EnricherException
- if any.
-
processOtherProperties
public void processOtherProperties(P participantToEnrich) throws EnricherException
processOtherProperties.
- Overrides:
processOtherProperties
in classMinimalEntityEnricher<P extends Participant,F extends Feature>
- Parameters:
participantToEnrich
- a P object.- Throws:
EnricherException
- if any.
-
processBiologicalRole
protected void processBiologicalRole(P participantToEnrich) throws EnricherException
processBiologicalRole.
- Parameters:
participantToEnrich
- a P object.- Throws:
EnricherException
- if any.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)
setCvTermEnricher.
Sets the enricher for CvTerms. If null, cvTerms are not being enriched.- Specified by:
setCvTermEnricher
in interfaceParticipantEnricher<P extends Participant,F extends Feature>
- Parameters:
cvTermEnricher
- aCvTermEnricher
object.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
The current CvTerm enricher, If null, CvTerms will not be enriched.- Specified by:
getCvTermEnricher
in interfaceParticipantEnricher<P extends Participant,F extends Feature>
- Returns:
- The new enricher for CvTerms. Can be null.
-
-