Class MinimalParticipantEvidenceUpdater<P extends ParticipantEvidence>
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalEntityEnricher<P,F>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalParticipantEnricher<P,FeatureEvidence>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalParticipantEvidenceEnricher<P>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalParticipantEvidenceUpdater<P>
-
- All Implemented Interfaces:
EntityEnricher<P,FeatureEvidence>,MIEnricher<P>,ParticipantEnricher<P,FeatureEvidence>,ParticipantEvidenceEnricher<P>
- Direct Known Subclasses:
MinimalExperimentalParticipantPoolUpdater
public class MinimalParticipantEvidenceUpdater<P extends ParticipantEvidence> extends MinimalParticipantEvidenceEnricher<P>
Created with IntelliJ IDEA.- Since:
- 28/06/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description MinimalParticipantEvidenceUpdater()Constructor for MinimalParticipantEvidenceUpdater.protectedMinimalParticipantEvidenceUpdater(MinimalParticipantUpdater<P,FeatureEvidence> delegate)Constructor for MinimalParticipantEvidenceUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CvTermEnricher<CvTerm>getCvTermEnricher()The current CvTerm enricher, If null, CvTerms will not be enriched.FeatureEnricher<FeatureEvidence>getFeatureEnricher()The current enricher used for features.CompositeInteractorEnrichergetInteractorEnricher()Getter for the fieldinteractorEnricher.protected MinimalParticipantUpdater<P,FeatureEvidence>getMinimalUpdater()Getter for the fieldminimalUpdater.EntityEnricherListenergetParticipantEnricherListener()The current listener that participant changes are reported to.voidprocessAliases(P objectToEnrich, P objectSource)processAliases.voidprocessBiologicalRole(P objectToEnrich, P objectSource)processBiologicalRole.voidprocessExperimentalRole(P participantEvidenceToEnrich, P objectSource)processExperimentalRole.protected voidprocessExpressedInOrganism(P participantEvidenceToEnrich, P objectSource)processExpressedInOrganism.voidprocessFeatures(P objectToEnrich, P objectSource)processFeatures.voidprocessIdentificationMethods(P participantEvidenceToEnrich, P objectSource)processIdentificationMethods.voidprocessInteractor(P objectToEnrich, P objectSource)processInteractor.voidsetCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)setCvTermEnricher.voidsetFeatureEnricher(FeatureEnricher<FeatureEvidence> featureEnricher)setFeatureEnricher.voidsetInteractorEnricher(CompositeInteractorEnricher interactorEnricher)setInteractorEnricher.voidsetParticipantEnricherListener(EntityEnricherListener listener)setParticipantEnricherListener.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalParticipantEvidenceEnricher
getOrganismEnricher, mergeIdentificationMethods, processExperimentalRole, processExpressedInOrganism, processIdentificationMethods, processOtherProperties, processOtherProperties, setOrganismEnricher
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalParticipantEnricher
enrich, processBiologicalRole
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalEntityEnricher
enrich, enrich, processFeatures, processInteractor
-
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.MIEnricher
enrich, enrich, enrich
-
-
-
-
Constructor Detail
-
MinimalParticipantEvidenceUpdater
public MinimalParticipantEvidenceUpdater()
Constructor for MinimalParticipantEvidenceUpdater.
-
MinimalParticipantEvidenceUpdater
protected MinimalParticipantEvidenceUpdater(MinimalParticipantUpdater<P,FeatureEvidence> delegate)
Constructor for MinimalParticipantEvidenceUpdater.
- Parameters:
delegate- aMinimalParticipantUpdaterobject.
-
-
Method Detail
-
processIdentificationMethods
public void processIdentificationMethods(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processIdentificationMethods.
- Overrides:
processIdentificationMethodsin classMinimalParticipantEvidenceEnricher<P extends ParticipantEvidence>- Parameters:
participantEvidenceToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processExpressedInOrganism
protected void processExpressedInOrganism(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processExpressedInOrganism.
- Overrides:
processExpressedInOrganismin classMinimalParticipantEvidenceEnricher<P extends ParticipantEvidence>- Parameters:
participantEvidenceToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processExperimentalRole
public void processExperimentalRole(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processExperimentalRole.
- Overrides:
processExperimentalRolein classMinimalParticipantEvidenceEnricher<P extends ParticipantEvidence>- Parameters:
participantEvidenceToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processInteractor
public void processInteractor(P objectToEnrich, P objectSource) throws EnricherException
processInteractor.
- Overrides:
processInteractorin classMinimalParticipantEnricher<P extends ParticipantEvidence,FeatureEvidence>- Parameters:
objectToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processFeatures
public void processFeatures(P objectToEnrich, P objectSource) throws EnricherException
processFeatures.
- Overrides:
processFeaturesin classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Parameters:
objectToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processBiologicalRole
public void processBiologicalRole(P objectToEnrich, P objectSource) throws EnricherException
processBiologicalRole.
- Overrides:
processBiologicalRolein classMinimalParticipantEnricher<P extends ParticipantEvidence,FeatureEvidence>- Parameters:
objectToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processAliases
public void processAliases(P objectToEnrich, P objectSource) throws EnricherException
processAliases.
- Overrides:
processAliasesin classMinimalParticipantEnricher<P extends ParticipantEvidence,FeatureEvidence>- Parameters:
objectToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
setParticipantEnricherListener
public void setParticipantEnricherListener(EntityEnricherListener listener)
setParticipantEnricherListener.
Sets the listener for Participant events. If null, events will not be reported.- Specified by:
setParticipantEnricherListenerin interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Overrides:
setParticipantEnricherListenerin classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Parameters:
listener- aEntityEnricherListenerobject.
-
getParticipantEnricherListener
public EntityEnricherListener getParticipantEnricherListener()
The current listener that participant changes are reported to. If null, events are not being reported.- Specified by:
getParticipantEnricherListenerin interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Overrides:
getParticipantEnricherListenerin classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Returns:
- TThe current listener. Can be null.
-
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 ParticipantEvidence,FeatureEvidence>- Overrides:
setCvTermEnricherin classMinimalParticipantEnricher<P extends ParticipantEvidence,FeatureEvidence>- 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 ParticipantEvidence,FeatureEvidence>- Overrides:
getCvTermEnricherin classMinimalParticipantEnricher<P extends ParticipantEvidence,FeatureEvidence>- Returns:
- The new enricher for CvTerms. Can be null.
-
setFeatureEnricher
public void setFeatureEnricher(FeatureEnricher<FeatureEvidence> featureEnricher)
setFeatureEnricher.
Will attempt to add the featureEnricher as a proteinListener if this is valid. If the proteinEnricher already has a listener, this will be preserved using a listener manager.- Specified by:
setFeatureEnricherin interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Overrides:
setFeatureEnricherin classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Parameters:
featureEnricher- aFeatureEnricherobject.
-
getFeatureEnricher
public FeatureEnricher<FeatureEvidence> getFeatureEnricher()
The current enricher used for features. If null, features are not currently being enriched.- Specified by:
getFeatureEnricherin interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Overrides:
getFeatureEnricherin classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Returns:
- The current enricher. May be null.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricherin interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Overrides:
setInteractorEnricherin classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Parameters:
interactorEnricher- aCompositeInteractorEnricherobject.
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
Getter for the field
interactorEnricher.- Specified by:
getInteractorEnricherin interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Overrides:
getInteractorEnricherin classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>- Returns:
- a
CompositeInteractorEnricherobject.
-
getMinimalUpdater
protected MinimalParticipantUpdater<P,FeatureEvidence> getMinimalUpdater()
Getter for the field
minimalUpdater.- Returns:
- a
MinimalParticipantUpdaterobject.
-
-