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.protectedFullInteractionUpdater(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.ParticipantEnrichergetParticipantEnricher()The current sub enricher for participants.protected voidprocessAnnotations(I objectToEnrich, I objectSource)processAnnotations.protected voidprocessChecksums(I objectToEnrich, I objectSource)processChecksums.voidprocessMinimalUpdates(I objectToEnrich, I objectSource)processMinimalUpdates.protected voidprocessRigid(I interactionToEnrich)processRigid.protected voidprocessXrefs(I objectToEnrich, I objectSource)processXrefs.voidsetCvTermEnricher(CvTermEnricher<CvTerm> cvTermEnricher)setCvTermEnricher.voidsetInteractionEnricherListener(InteractionEnricherListener<I> listener)setInteractionEnricherListener.voidsetParticipantEnricher(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- aMinimalInteractionUpdaterobject.
-
-
Method Detail
-
processMinimalUpdates
public void processMinimalUpdates(I objectToEnrich, I objectSource) throws EnricherException
processMinimalUpdates.
- Overrides:
processMinimalUpdatesin 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:
processRigidin 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:
processChecksumsin 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:
processXrefsin 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:
processAnnotationsin 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:
getCvTermEnricherin interfaceInteractionEnricher<I extends Interaction>- Overrides:
getCvTermEnricherin 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:
setCvTermEnricherin interfaceInteractionEnricher<I extends Interaction>- Overrides:
setCvTermEnricherin classMinimalInteractionEnricher<I extends Interaction>- Parameters:
cvTermEnricher- aCvTermEnricherobject.
-
setParticipantEnricher
public void setParticipantEnricher(ParticipantEnricher participantEnricher)
setParticipantEnricher.
Sets the sub enricher for participants.- Specified by:
setParticipantEnricherin interfaceInteractionEnricher<I extends Interaction>- Overrides:
setParticipantEnricherin classMinimalInteractionEnricher<I extends Interaction>- Parameters:
participantEnricher- aParticipantEnricherobject.
-
getParticipantEnricher
public ParticipantEnricher getParticipantEnricher()
The current sub enricher for participants.- Specified by:
getParticipantEnricherin interfaceInteractionEnricher<I extends Interaction>- Overrides:
getParticipantEnricherin 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:
getInteractionEnricherListenerin interfaceInteractionEnricher<I extends Interaction>- Overrides:
getInteractionEnricherListenerin 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:
setInteractionEnricherListenerin interfaceInteractionEnricher<I extends Interaction>- Overrides:
setInteractionEnricherListenerin classMinimalInteractionEnricher<I extends Interaction>- Parameters:
listener- aInteractionEnricherListenerobject.
-
getDelegate
protected MinimalInteractionUpdater<I> getDelegate()
Getter for the field
delegate.- Returns:
- a
MinimalInteractionUpdaterobject.
-
-