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