Class FullParticipantEvidenceUpdater<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.full.FullParticipantEvidenceEnricher<P>
-
- psidev.psi.mi.jami.enricher.impl.full.FullParticipantEvidenceUpdater<P>
-
- All Implemented Interfaces:
EntityEnricher<P,FeatureEvidence>,MIEnricher<P>,ParticipantEnricher<P,FeatureEvidence>,ParticipantEvidenceEnricher<P>
- Direct Known Subclasses:
FullExperimentalParticipantPoolUpdater
public class FullParticipantEvidenceUpdater<P extends ParticipantEvidence> extends FullParticipantEvidenceEnricher<P>
Created with IntelliJ IDEA.- Since:
- 28/06/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description FullParticipantEvidenceUpdater()Constructor for FullParticipantEvidenceUpdater.protectedFullParticipantEvidenceUpdater(MinimalParticipantEvidenceUpdater<P> participantEnricher)Constructor for FullParticipantEvidenceUpdater.
-
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 MinimalParticipantEvidenceUpdater<P>getMinimalUpdater()Getter for the fieldminimalUpdater.EntityEnricherListenergetParticipantEnricherListener()The current listener that participant changes are reported to.protected voidprocessAliases(P objectToEnrich, P objectSource)processAliases.voidprocessBiologicalRole(P objectToEnrich, P objectSource)processBiologicalRole.protected voidprocessConfidences(P participantEvidenceToEnrich, P objectSource)processConfidences.protected voidprocessExperimentalPreparations(P participantEvidenceToEnrich, P objectSource)processExperimentalPreparations.voidprocessExperimentalRole(P participantEvidenceToEnrich, P objectSource)processExperimentalRole.voidprocessFeatures(P objectToEnrich, P objectSource)processFeatures.voidprocessIdentificationMethods(P participantEvidenceToEnrich, P objectSource)processIdentificationMethods.voidprocessInteractor(P objectToEnrich, P objectSource)processInteractor.protected voidprocessParameters(P participantEvidenceToEnrich, P objectSource)processParameters.protected voidprocessXrefs(P participantEvidenceToEnrich, P objectSource)processXrefs.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.full.FullParticipantEvidenceEnricher
mergeExperimentalPreparations, processExperimentalPreparations, processOtherProperties, processOtherProperties
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalParticipantEvidenceEnricher
getOrganismEnricher, mergeIdentificationMethods, processExperimentalRole, processExpressedInOrganism, processExpressedInOrganism, processIdentificationMethods, 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
-
FullParticipantEvidenceUpdater
public FullParticipantEvidenceUpdater()
Constructor for FullParticipantEvidenceUpdater.
-
FullParticipantEvidenceUpdater
protected FullParticipantEvidenceUpdater(MinimalParticipantEvidenceUpdater<P> participantEnricher)
Constructor for FullParticipantEvidenceUpdater.
- Parameters:
participantEnricher- aMinimalParticipantEvidenceUpdaterobject.
-
-
Method Detail
-
processExperimentalPreparations
protected void processExperimentalPreparations(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processExperimentalPreparations.
- Overrides:
processExperimentalPreparationsin classFullParticipantEvidenceEnricher<P extends ParticipantEvidence>- Parameters:
participantEvidenceToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processParameters
protected void processParameters(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processParameters.
- Overrides:
processParametersin classFullParticipantEvidenceEnricher<P extends ParticipantEvidence>- Parameters:
participantEvidenceToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processConfidences
protected void processConfidences(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processConfidences.
- Overrides:
processConfidencesin classFullParticipantEvidenceEnricher<P extends ParticipantEvidence>- Parameters:
participantEvidenceToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
processXrefs
protected void processXrefs(P participantEvidenceToEnrich, P objectSource) throws EnricherException
processXrefs.
- Overrides:
processXrefsin classFullParticipantEvidenceEnricher<P extends ParticipantEvidence>- Parameters:
participantEvidenceToEnrich- a P object.objectSource- a P object.- Throws:
EnricherException- if any.
-
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.
-
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
protected 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 MinimalParticipantEvidenceUpdater<P> getMinimalUpdater()
Getter for the field
minimalUpdater.- Returns:
- a
MinimalParticipantEvidenceUpdaterobject.
-
-