Class MinimalInteractionEvidenceUpdater
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher<InteractionEvidence>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEvidenceEnricher
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEvidenceUpdater
-
- All Implemented Interfaces:
InteractionEnricher<InteractionEvidence>
,InteractionEvidenceEnricher
,MIEnricher<InteractionEvidence>
public class MinimalInteractionEvidenceUpdater extends MinimalInteractionEvidenceEnricher implements InteractionEvidenceEnricher
Minimal updater for interaction evidence- Since:
- 13/08/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description MinimalInteractionEvidenceUpdater()
Constructor for MinimalInteractionEvidenceUpdater.protected
MinimalInteractionEvidenceUpdater(MinimalInteractionUpdater<InteractionEvidence> delegate)
Constructor for MinimalInteractionEvidenceUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CvTermEnricher<CvTerm>
getCvTermEnricher()
Sets the sub enricher for CvTerms.MinimalInteractionUpdater<InteractionEvidence>
getDelegate()
Getter for the fielddelegate
.InteractionEnricherListener<InteractionEvidence>
getInteractionEnricherListener()
The listener for changes made to interactions.ParticipantEnricher
getParticipantEnricher()
The current sub enricher for participants.protected void
processExperiment(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)
processExperiment.void
processMinimalUpdates(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)
processMinimalUpdates.protected void
processOtherProperties(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)
processOtherProperties.void
setCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)
setCvTermEnricher.void
setInteractionEnricherListener(InteractionEnricherListener<InteractionEvidence> listener)
setInteractionEnricherListener.void
setParticipantEnricher(ParticipantEnricher participantEnricher)
setParticipantEnricher.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEvidenceEnricher
getExperimentEnricher, processExperiment, processOtherProperties, setExperimentEnricher
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher
enrich, enrich, enrich, processCreatedDate, processIdentifiers, processInteractionType, processInteractionType, processParticipants, processParticipants, processShortName, processUpdateDate
-
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.InteractionEvidenceEnricher
getExperimentEnricher, setExperimentEnricher
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich, enrich, enrich
-
-
-
-
Constructor Detail
-
MinimalInteractionEvidenceUpdater
public MinimalInteractionEvidenceUpdater()
Constructor for MinimalInteractionEvidenceUpdater.
-
MinimalInteractionEvidenceUpdater
protected MinimalInteractionEvidenceUpdater(MinimalInteractionUpdater<InteractionEvidence> delegate)
Constructor for MinimalInteractionEvidenceUpdater.
- Parameters:
delegate
- aMinimalInteractionUpdater
object.
-
-
Method Detail
-
processMinimalUpdates
public void processMinimalUpdates(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processMinimalUpdates.
- Overrides:
processMinimalUpdates
in classMinimalInteractionEnricher<InteractionEvidence>
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processExperiment
protected void processExperiment(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processExperiment.
- Overrides:
processExperiment
in classMinimalInteractionEvidenceEnricher
- Parameters:
objectToEnrich
- aInteractionEvidence
object.objectSource
- aInteractionEvidence
object.- Throws:
EnricherException
- if any.
-
processOtherProperties
protected void processOtherProperties(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processOtherProperties.
- Overrides:
processOtherProperties
in classMinimalInteractionEvidenceEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)
setCvTermEnricher.
The current sub enricher for CvTerms.- Specified by:
setCvTermEnricher
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
setCvTermEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Parameters:
cvTermEnricher
- aCvTermEnricher
object.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
Sets the sub enricher for CvTerms.- Specified by:
getCvTermEnricher
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
getCvTermEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Returns:
- The enricher for CvTerms. Can be null.
-
setParticipantEnricher
public void setParticipantEnricher(ParticipantEnricher participantEnricher)
setParticipantEnricher.
Sets the sub enricher for participants.- Specified by:
setParticipantEnricher
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
setParticipantEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Parameters:
participantEnricher
- aParticipantEnricher
object.
-
getParticipantEnricher
public ParticipantEnricher getParticipantEnricher()
The current sub enricher for participants.- Specified by:
getParticipantEnricher
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
getParticipantEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Returns:
- The enricher for participants. Can be null.
-
getInteractionEnricherListener
public InteractionEnricherListener<InteractionEvidence> getInteractionEnricherListener()
The listener for changes made to interactions.- Specified by:
getInteractionEnricherListener
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
getInteractionEnricherListener
in classMinimalInteractionEnricher<InteractionEvidence>
- Returns:
- The listener for interaction changes. Can be null.
-
setInteractionEnricherListener
public void setInteractionEnricherListener(InteractionEnricherListener<InteractionEvidence> listener)
setInteractionEnricherListener.
Sets the listener to be used when interactions are changed.- Specified by:
setInteractionEnricherListener
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
setInteractionEnricherListener
in classMinimalInteractionEnricher<InteractionEvidence>
- Parameters:
listener
- aInteractionEnricherListener
object.
-
getDelegate
public MinimalInteractionUpdater<InteractionEvidence> getDelegate()
Getter for the field
delegate
.- Returns:
- a
MinimalInteractionUpdater
object.
-
-