Class FullInteractionEvidenceEnricher
- java.lang.Object
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher<InteractionEvidence>
-
- psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEvidenceEnricher
-
- psidev.psi.mi.jami.enricher.impl.full.FullInteractionEvidenceEnricher
-
- All Implemented Interfaces:
InteractionEnricher<InteractionEvidence>
,InteractionEvidenceEnricher
,MIEnricher<InteractionEvidence>
- Direct Known Subclasses:
FullInteractionEvidenceUpdater
public class FullInteractionEvidenceEnricher extends MinimalInteractionEvidenceEnricher
Full enricher for Interaction evidence- Since:
01/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Modifier Constructor Description FullInteractionEvidenceEnricher()
Constructor for FullInteractionEvidenceEnricher.protected
FullInteractionEvidenceEnricher(FullInteractionEnricher<InteractionEvidence> interactionEnricher)
Constructor for FullInteractionEvidenceEnricher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CvTermEnricher<CvTerm>
getCvTermEnricher()
Sets the sub enricher for CvTerms.protected FullInteractionEnricher<InteractionEvidence>
getInteractionEnricher()
Getter for the fieldinteractionEnricher
.InteractionEnricherListener<InteractionEvidence>
getInteractionEnricherListener()
The listener for changes made to interactions.ParticipantEnricher
getParticipantEnricher()
The current sub enricher for participants.protected void
mergerVariableParameters(InteractionEvidence interactionToEnrich, InteractionEvidence objectSource, boolean remove)
mergerVariableParameters.protected void
processConfidences(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)
processConfidences.protected void
processOtherProperties(InteractionEvidence interactionToEnrich)
The strategy used for enriching the interaction.protected void
processOtherProperties(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)
processOtherProperties.protected void
processParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)
processParameters.protected void
processVariableParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)
processVariableParameters.void
setCvTermEnricher(CvTermEnricher cvTermEnricher)
setCvTermEnricher.void
setInteractionEnricherListener(InteractionEnricherListener listener)
setInteractionEnricherListener.void
setParticipantEnricher(ParticipantEnricher participantEnricher)
setParticipantEnricher.-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEvidenceEnricher
getExperimentEnricher, processExperiment, processExperiment, setExperimentEnricher
-
Methods inherited from class psidev.psi.mi.jami.enricher.impl.minimal.MinimalInteractionEnricher
enrich, enrich, enrich, processCreatedDate, processIdentifiers, processInteractionType, processInteractionType, processMinimalUpdates, 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
-
FullInteractionEvidenceEnricher
public FullInteractionEvidenceEnricher()
Constructor for FullInteractionEvidenceEnricher.
-
FullInteractionEvidenceEnricher
protected FullInteractionEvidenceEnricher(FullInteractionEnricher<InteractionEvidence> interactionEnricher)
Constructor for FullInteractionEvidenceEnricher.
- Parameters:
interactionEnricher
- aFullInteractionEnricher
object.
-
-
Method Detail
-
processOtherProperties
protected void processOtherProperties(InteractionEvidence interactionToEnrich) throws EnricherException
The strategy used for enriching the interaction. Can be overwritten to change the behaviour. Strategy for the Interaction enrichment. This method can be overwritten to change how the interaction is enriched.- Overrides:
processOtherProperties
in classMinimalInteractionEvidenceEnricher
- Parameters:
interactionToEnrich
- The interaction being enriched.- Throws:
EnricherException
- Thrown if a fetcher encounters a problem.
-
processOtherProperties
protected void processOtherProperties(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processOtherProperties.
- Overrides:
processOtherProperties
in classMinimalInteractionEvidenceEnricher
- 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<InteractionEvidence>
- Overrides:
getCvTermEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Returns:
- The enricher for CvTerms. Can be null.
-
getParticipantEnricher
public ParticipantEnricher getParticipantEnricher()
The current sub enricher for participants.- Specified by:
getParticipantEnricher
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
getParticipantEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Returns:
- The enricher for participants. Can be null.
-
getInteractionEnricherListener
public InteractionEnricherListener<InteractionEvidence> getInteractionEnricherListener()
The listener for changes made to interactions.- Specified by:
getInteractionEnricherListener
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
getInteractionEnricherListener
in classMinimalInteractionEnricher<InteractionEvidence>
- Returns:
- The listener for interaction changes. Can be null.
-
setCvTermEnricher
public void setCvTermEnricher(CvTermEnricher cvTermEnricher)
setCvTermEnricher.
The current sub enricher for CvTerms.- Specified by:
setCvTermEnricher
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
setCvTermEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Parameters:
cvTermEnricher
- aCvTermEnricher
object.
-
setParticipantEnricher
public void setParticipantEnricher(ParticipantEnricher participantEnricher)
setParticipantEnricher.
Sets the sub enricher for participants.- Specified by:
setParticipantEnricher
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
setParticipantEnricher
in classMinimalInteractionEnricher<InteractionEvidence>
- Parameters:
participantEnricher
- aParticipantEnricher
object.
-
setInteractionEnricherListener
public void setInteractionEnricherListener(InteractionEnricherListener listener)
setInteractionEnricherListener.
Sets the listener to be used when interactions are changed.- Specified by:
setInteractionEnricherListener
in interfaceInteractionEnricher<InteractionEvidence>
- Overrides:
setInteractionEnricherListener
in classMinimalInteractionEnricher<InteractionEvidence>
- Parameters:
listener
- aInteractionEnricherListener
object.
-
processConfidences
protected void processConfidences(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processConfidences.
- Parameters:
objectToEnrich
- aInteractionEvidence
object.objectSource
- aInteractionEvidence
object.- Throws:
EnricherException
- if any.
-
processParameters
protected void processParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processParameters.
- Parameters:
objectToEnrich
- aInteractionEvidence
object.objectSource
- aInteractionEvidence
object.- Throws:
EnricherException
- if any.
-
processVariableParameters
protected void processVariableParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processVariableParameters.
- Parameters:
objectToEnrich
- aInteractionEvidence
object.objectSource
- aInteractionEvidence
object.- Throws:
EnricherException
- if any.
-
mergerVariableParameters
protected void mergerVariableParameters(InteractionEvidence interactionToEnrich, InteractionEvidence objectSource, boolean remove)
mergerVariableParameters.
- Parameters:
interactionToEnrich
- aInteractionEvidence
object.objectSource
- aInteractionEvidence
object.remove
- a boolean.
-
getInteractionEnricher
protected FullInteractionEnricher<InteractionEvidence> getInteractionEnricher()
Getter for the field
interactionEnricher
.- Returns:
- a
FullInteractionEnricher
object.
-
-