Class FullInteractionUpdater<I extends Interaction>
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher<I>
-
- psidev.psi.mi.jami.enricher.impl.full.FullInteractionEnricher<I>
-
- psidev.psi.mi.jami.enricher.impl.full.FullInteractionUpdater<I>
-
- All Implemented Interfaces:
InteractionEnricher<I>
,MIEnricher<I>
public class FullInteractionUpdater<I extends Interaction> extends FullInteractionEnricher<I>
Full updater of interaction- Since:
01/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description FullInteractionUpdater()
Constructor for FullInteractionUpdater.protected
FullInteractionUpdater(MinimalInteractionUpdater<I> delegate)
Constructor for FullInteractionUpdater.
-
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.protected void
processAnnotations(I objectToEnrich, I objectSource)
processAnnotations.protected void
processChecksums(I objectToEnrich, I objectSource)
processChecksums.void
processMinimalUpdates(I objectToEnrich, I objectSource)
processMinimalUpdates.protected void
processRigid(I interactionToEnrich)
processRigid.protected void
processXrefs(I objectToEnrich, I objectSource)
processXrefs.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.full.FullInteractionEnricher
generateRigid, getRigidGenerator, processOtherProperties, processOtherProperties
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher
enrich, enrich, enrich, processCreatedDate, processIdentifiers, processInteractionType, processInteractionType, processParticipants, processParticipants, processShortName, processUpdateDate
-
-
-
-
Constructor Detail
-
FullInteractionUpdater
public FullInteractionUpdater()
Constructor for FullInteractionUpdater.
-
FullInteractionUpdater
protected FullInteractionUpdater(MinimalInteractionUpdater<I> delegate)
Constructor for FullInteractionUpdater.
- Parameters:
delegate
- aMinimalInteractionUpdater
object.
-
-
Method Detail
-
processMinimalUpdates
public void processMinimalUpdates(I objectToEnrich, I objectSource) throws EnricherException
processMinimalUpdates.
- Overrides:
processMinimalUpdates
in classMinimalInteractionEnricher<I extends Interaction>
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processRigid
protected void processRigid(I interactionToEnrich) throws EnricherException
processRigid.
- Overrides:
processRigid
in classFullInteractionEnricher<I extends Interaction>
- Parameters:
interactionToEnrich
- a I object.- Throws:
EnricherException
- if any.
-
processChecksums
protected void processChecksums(I objectToEnrich, I objectSource) throws EnricherException
processChecksums.
- Overrides:
processChecksums
in classFullInteractionEnricher<I extends Interaction>
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processXrefs
protected void processXrefs(I objectToEnrich, I objectSource) throws EnricherException
processXrefs.
- Overrides:
processXrefs
in classFullInteractionEnricher<I extends Interaction>
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processAnnotations
protected void processAnnotations(I objectToEnrich, I objectSource) throws EnricherException
processAnnotations.
- Overrides:
processAnnotations
in classFullInteractionEnricher<I extends Interaction>
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
getCvTermEnricher
public CvTermEnricher<CvTerm> getCvTermEnricher()
Sets the sub enricher for CvTerms.- Specified by:
getCvTermEnricher
in interfaceInteractionEnricher<I extends Interaction>
- Overrides:
getCvTermEnricher
in classMinimalInteractionEnricher<I extends Interaction>
- Returns:
- The enricher for CvTerms. Can be null.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)
setCvTermEnricher.
The current sub enricher for CvTerms.- Specified by:
setCvTermEnricher
in interfaceInteractionEnricher<I extends Interaction>
- Overrides:
setCvTermEnricher
in classMinimalInteractionEnricher<I extends Interaction>
- Parameters:
cvTermEnricher
- aCvTermEnricher
object.
-
setParticipantEnricher
public void setParticipantEnricher(ParticipantEnricher participantEnricher)
setParticipantEnricher.
Sets the sub enricher for participants.- Specified by:
setParticipantEnricher
in interfaceInteractionEnricher<I extends Interaction>
- Overrides:
setParticipantEnricher
in classMinimalInteractionEnricher<I extends Interaction>
- Parameters:
participantEnricher
- aParticipantEnricher
object.
-
getParticipantEnricher
public ParticipantEnricher getParticipantEnricher()
The current sub enricher for participants.- Specified by:
getParticipantEnricher
in interfaceInteractionEnricher<I extends Interaction>
- Overrides:
getParticipantEnricher
in classMinimalInteractionEnricher<I extends Interaction>
- 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 Interaction>
- Overrides:
getInteractionEnricherListener
in classMinimalInteractionEnricher<I extends Interaction>
- 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 Interaction>
- Overrides:
setInteractionEnricherListener
in classMinimalInteractionEnricher<I extends Interaction>
- Parameters:
listener
- aInteractionEnricherListener
object.
-
getDelegate
protected MinimalInteractionUpdater<I> getDelegate()
Getter for the field
delegate
.- Returns:
- a
MinimalInteractionUpdater
object.
-
-