Package psidev.psi.mi.jami.imex
Class ImexInteractionUpdater
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher<I>
-
- psidev.psi.mi.jami.enricher.impl.full.FullInteractionEnricher
-
- psidev.psi.mi.jami.imex.ImexInteractionUpdater
-
- All Implemented Interfaces:
InteractionEnricher
,MIEnricher
public class ImexInteractionUpdater extends FullInteractionEnricher
This enricher will update a interaction evidence having a publication with IMEx id- Since:
29/10/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ImexInteractionUpdater()
Constructor for ImexInteractionUpdater.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImexAssigner
getImexAssigner()
Getter for the fieldimexAssigner
.protected void
processAnnotations(Interaction objectToEnrich, Interaction objectSource)
processAnnotations.protected void
processChecksums(Interaction objectToEnrich, Interaction objectSource)
processChecksums.protected void
processCreatedDate(Interaction objectToEnrich, Interaction objectSource)
processCreatedDate.protected void
processIdentifiers(Interaction objectToEnrich, Interaction objectSource)
processIdentifiers.protected void
processInteractionType(Interaction interactionToEnrich)
processInteractionType.protected void
processInteractionType(Interaction objectToEnrich, Interaction objectSource)
processInteractionType.protected void
processOtherProperties(Interaction interactionToEnrich)
The strategy used for enriching the interaction.protected void
processParticipants(Interaction interactionToEnrich)
processParticipants.protected void
processParticipants(Interaction objectToEnrich, Interaction objectSource)
processParticipants.protected void
processRigid(Interaction interactionToEnrich)
processRigid.protected void
processShortName(Interaction objectToEnrich, Interaction objectSource)
processShortName.protected void
processUpdateDate(Interaction objectToEnrich, Interaction objectSource)
processUpdateDate.protected void
processXrefs(Interaction objectToEnrich, Interaction objectSource)
processXrefs.void
setImexAssigner(ImexAssigner imexAssigner)
Setter for the fieldimexAssigner
.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.full.FullInteractionEnricher
generateRigid, getRigidGenerator, processOtherProperties
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher
enrich, enrich, enrich, getCvTermEnricher, getInteractionEnricherListener, getParticipantEnricher, processMinimalUpdates, setCvTermEnricher, setInteractionEnricherListener, setParticipantEnricher
-
-
-
-
Method Detail
-
processOtherProperties
protected void processOtherProperties(Interaction interactionToEnrich) throws EnricherException
The strategy used for enriching the interaction. Can be overwritten to change the behaviour.- Overrides:
processOtherProperties
in classFullInteractionEnricher
- Parameters:
interactionToEnrich
- The interaction being enriched.- Throws:
EnricherException
- Thrown if a fetcher encounters a problem.
-
processChecksums
protected void processChecksums(Interaction objectToEnrich, Interaction objectSource) throws EnricherException
processChecksums.
- Overrides:
processChecksums
in classFullInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processXrefs
protected void processXrefs(Interaction objectToEnrich, Interaction objectSource) throws EnricherException
processXrefs.
- Overrides:
processXrefs
in classFullInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processAnnotations
protected void processAnnotations(Interaction objectToEnrich, Interaction objectSource) throws EnricherException
processAnnotations.
- Overrides:
processAnnotations
in classFullInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processRigid
protected void processRigid(Interaction interactionToEnrich) throws EnricherException
processRigid.
- Overrides:
processRigid
in classFullInteractionEnricher
- Parameters:
interactionToEnrich
- a I object.- Throws:
EnricherException
- if any.
-
processCreatedDate
protected void processCreatedDate(Interaction objectToEnrich, Interaction objectSource)
processCreatedDate.
- Overrides:
processCreatedDate
in classMinimalInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.
-
processUpdateDate
protected void processUpdateDate(Interaction objectToEnrich, Interaction objectSource)
processUpdateDate.
- Overrides:
processUpdateDate
in classMinimalInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.
-
processShortName
protected void processShortName(Interaction objectToEnrich, Interaction objectSource)
processShortName.
- Overrides:
processShortName
in classMinimalInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.
-
processIdentifiers
protected void processIdentifiers(Interaction objectToEnrich, Interaction objectSource)
processIdentifiers.
- Overrides:
processIdentifiers
in classMinimalInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.
-
processParticipants
protected void processParticipants(Interaction objectToEnrich, Interaction objectSource) throws EnricherException
processParticipants.
- Overrides:
processParticipants
in classMinimalInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processInteractionType
protected void processInteractionType(Interaction objectToEnrich, Interaction objectSource) throws EnricherException
processInteractionType.
- Overrides:
processInteractionType
in classMinimalInteractionEnricher
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
processInteractionType
protected void processInteractionType(Interaction interactionToEnrich) throws EnricherException
processInteractionType.
- Overrides:
processInteractionType
in classMinimalInteractionEnricher
- Parameters:
interactionToEnrich
- a I object.- Throws:
EnricherException
- if any.
-
processParticipants
protected void processParticipants(Interaction interactionToEnrich) throws EnricherException
processParticipants.
- Overrides:
processParticipants
in classMinimalInteractionEnricher
- Parameters:
interactionToEnrich
- a I object.- Throws:
EnricherException
- if any.
-
getImexAssigner
public ImexAssigner getImexAssigner()
Getter for the field
imexAssigner
.- Returns:
- a
ImexAssigner
object.
-
setImexAssigner
public void setImexAssigner(ImexAssigner imexAssigner)
Setter for the field
imexAssigner
.- Parameters:
imexAssigner
- aImexAssigner
object.
-
-