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 voidenrich(Collection<P> participantsToEnrich)enrich.CvTermEnricher<CvTerm>getCvTermEnricher()The current CvTerm enricher, If null, CvTerms will not be enriched.protected voidprocessAliases(P objectToEnrich, P objectSource)processAliases.protected voidprocessBiologicalRole(P participantToEnrich)processBiologicalRole.voidprocessBiologicalRole(P objectToEnrich, P objectSource)processBiologicalRole.voidprocessInteractor(P objectToEnrich, P objectSource)processInteractor.voidprocessOtherProperties(P participantToEnrich)processOtherProperties.voidprocessOtherProperties(P objectToEnrich, P objectSource)processOtherProperties.voidsetCvTermEnricher(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:
enrichin interfaceMIEnricher<P extends Participant>- Overrides:
enrichin classMinimalEntityEnricher<P extends Participant,F extends Feature>- Parameters:
participantsToEnrich- aCollectionobject.- Throws:
EnricherException- if any.
-
processOtherProperties
public void processOtherProperties(P objectToEnrich, P objectSource) throws EnricherException
processOtherProperties.
- Overrides:
processOtherPropertiesin 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:
processInteractorin 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:
processOtherPropertiesin 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:
setCvTermEnricherin interfaceParticipantEnricher<P extends Participant,F extends Feature>- Parameters:
cvTermEnricher- aCvTermEnricherobject.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
The current CvTerm enricher, If null, CvTerms will not be enriched.- Specified by:
getCvTermEnricherin interfaceParticipantEnricher<P extends Participant,F extends Feature>- Returns:
- The new enricher for CvTerms. Can be null.
-
-