Class MinimalModelledInteractionEnricher<I extends ModelledInteraction>
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher<I>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalModelledInteractionEnricher<I>
-
- All Implemented Interfaces:
InteractionEnricher<I>
,MIEnricher<I>
,ModelledInteractionEnricher<I>
- Direct Known Subclasses:
FullModelledInteractionEnricher
,MinimalComplexEnricher
,MinimalModelledInteractionUpdater
public class MinimalModelledInteractionEnricher<I extends ModelledInteraction> extends MinimalInteractionEnricher<I> implements ModelledInteractionEnricher<I>
Minimal enricher for modelled interactions- Since:
- 13/08/13
- Author:
- Gabriel Aldam (galdam@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MinimalModelledInteractionEnricher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceEnricher
getSourceEnricher()
The sourceEnricher which is currently being used for the enriching or updating of sources.protected void
processOtherProperties(I interactionToEnrich)
Strategy for the Interaction enrichment.protected void
processOtherProperties(I objectToEnrich, I objectSource)
processOtherProperties.protected void
processSource(I interactionToEnrich)
processSource.protected void
processSource(I objectToEnrich, I objectSource)
processSource.void
setSourceEnricher(SourceEnricher sourceEnricher)
setSourceEnricher.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher
enrich, enrich, enrich, getCvTermEnricher, getInteractionEnricherListener, getParticipantEnricher, processCreatedDate, processIdentifiers, processInteractionType, processInteractionType, processMinimalUpdates, processParticipants, processParticipants, processShortName, processUpdateDate, setCvTermEnricher, setInteractionEnricherListener, setParticipantEnricher
-
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.InteractionEnricher
getCvTermEnricher, getInteractionEnricherListener, getParticipantEnricher, setCvTermEnricher, setInteractionEnricherListener, setParticipantEnricher
-
Methods inherited from interface psidev.psi.mi.jami.enricher.MIEnricher
enrich, enrich, enrich
-
-
-
-
Method Detail
-
processOtherProperties
protected void processOtherProperties(I interactionToEnrich) throws EnricherException
Strategy for the Interaction enrichment. This method can be overwritten to change how the interaction is enriched.- Overrides:
processOtherProperties
in classMinimalInteractionEnricher<I extends ModelledInteraction>
- Parameters:
interactionToEnrich
- The interaction to be enriched.- Throws:
EnricherException
- if any.
-
getSourceEnricher
public SourceEnricher getSourceEnricher()
The sourceEnricher which is currently being used for the enriching or updating of sources.- Specified by:
getSourceEnricher
in interfaceModelledInteractionEnricher<I extends ModelledInteraction>
- Returns:
- The source enricher. Can be null.
-
setSourceEnricher
public void setSourceEnricher(SourceEnricher sourceEnricher)
setSourceEnricher.
Sets the sourceEnricher to be used.- Specified by:
setSourceEnricher
in interfaceModelledInteractionEnricher<I extends ModelledInteraction>
- Parameters:
sourceEnricher
- aSourceEnricher
object.
-
processSource
protected void processSource(I interactionToEnrich) throws EnricherException
processSource.
- Parameters:
interactionToEnrich
- a I object.- Throws:
EnricherException
- if any.
-
processOtherProperties
protected void processOtherProperties(I objectToEnrich, I objectSource) throws EnricherException
processOtherProperties.
- Overrides:
processOtherProperties
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.
- Parameters:
objectToEnrich
- a I object.objectSource
- a I object.- Throws:
EnricherException
- if any.
-
-