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.protected
MinimalParticipantEvidenceUpdater(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.CompositeInteractorEnricher
getInteractorEnricher()
Getter for the fieldinteractorEnricher
.protected MinimalParticipantUpdater<P,FeatureEvidence>
getMinimalUpdater()
Getter for the fieldminimalUpdater
.EntityEnricherListener
getParticipantEnricherListener()
The current listener that participant changes are reported to.void
processAliases(P objectToEnrich, P objectSource)
processAliases.void
processBiologicalRole(P objectToEnrich, P objectSource)
processBiologicalRole.void
processExperimentalRole(P participantEvidenceToEnrich, P objectSource)
processExperimentalRole.protected void
processExpressedInOrganism(P participantEvidenceToEnrich, P objectSource)
processExpressedInOrganism.void
processFeatures(P objectToEnrich, P objectSource)
processFeatures.void
processIdentificationMethods(P participantEvidenceToEnrich, P objectSource)
processIdentificationMethods.void
processInteractor(P objectToEnrich, P objectSource)
processInteractor.void
setCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)
setCvTermEnricher.void
setFeatureEnricher(FeatureEnricher<FeatureEvidence> featureEnricher)
setFeatureEnricher.void
setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.void
setParticipantEnricherListener(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
- aMinimalParticipantUpdater
object.
-
-
Method Detail
-
processIdentificationMethods
public void processIdentificationMethods(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processIdentificationMethods.
- Overrides:
processIdentificationMethods
in 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:
processExpressedInOrganism
in 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:
processExperimentalRole
in 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:
processInteractor
in 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:
processFeatures
in 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:
processBiologicalRole
in 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:
processAliases
in 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:
setParticipantEnricherListener
in interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Overrides:
setParticipantEnricherListener
in classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Parameters:
listener
- aEntityEnricherListener
object.
-
getParticipantEnricherListener
public EntityEnricherListener getParticipantEnricherListener()
The current listener that participant changes are reported to. If null, events are not being reported.- Specified by:
getParticipantEnricherListener
in interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Overrides:
getParticipantEnricherListener
in 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:
setCvTermEnricher
in interfaceParticipantEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Overrides:
setCvTermEnricher
in classMinimalParticipantEnricher<P extends ParticipantEvidence,FeatureEvidence>
- 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 ParticipantEvidence,FeatureEvidence>
- Overrides:
getCvTermEnricher
in 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:
setFeatureEnricher
in interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Overrides:
setFeatureEnricher
in classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Parameters:
featureEnricher
- aFeatureEnricher
object.
-
getFeatureEnricher
public FeatureEnricher<FeatureEvidence> getFeatureEnricher()
The current enricher used for features. If null, features are not currently being enriched.- Specified by:
getFeatureEnricher
in interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Overrides:
getFeatureEnricher
in classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Returns:
- The current enricher. May be null.
-
setInteractorEnricher
public void setInteractorEnricher(CompositeInteractorEnricher interactorEnricher)
setInteractorEnricher.
- Specified by:
setInteractorEnricher
in interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Overrides:
setInteractorEnricher
in classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Parameters:
interactorEnricher
- aCompositeInteractorEnricher
object.
-
getInteractorEnricher
public CompositeInteractorEnricher getInteractorEnricher()
Getter for the field
interactorEnricher
.- Specified by:
getInteractorEnricher
in interfaceEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Overrides:
getInteractorEnricher
in classMinimalEntityEnricher<P extends ParticipantEvidence,FeatureEvidence>
- Returns:
- a
CompositeInteractorEnricher
object.
-
getMinimalUpdater
protected MinimalParticipantUpdater<P,FeatureEvidence> getMinimalUpdater()
Getter for the field
minimalUpdater
.- Returns:
- a
MinimalParticipantUpdater
object.
-
-