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.protectedFullInteractionEvidenceEnricher(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.ParticipantEnrichergetParticipantEnricher()The current sub enricher for participants.protected voidmergerVariableParameters(InteractionEvidence interactionToEnrich, InteractionEvidence objectSource, boolean remove)mergerVariableParameters.protected voidprocessConfidences(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)processConfidences.protected voidprocessOtherProperties(InteractionEvidence interactionToEnrich)The strategy used for enriching the interaction.protected voidprocessOtherProperties(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)processOtherProperties.protected voidprocessParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)processParameters.protected voidprocessVariableParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource)processVariableParameters.voidsetCvTermEnricher(CvTermEnricher cvTermEnricher)setCvTermEnricher.voidsetInteractionEnricherListener(InteractionEnricherListener listener)setInteractionEnricherListener.voidsetParticipantEnricher(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- aFullInteractionEnricherobject.
-
-
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:
processOtherPropertiesin 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:
processOtherPropertiesin 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:
getCvTermEnricherin interfaceInteractionEnricher<InteractionEvidence>- Overrides:
getCvTermEnricherin classMinimalInteractionEnricher<InteractionEvidence>- Returns:
- The enricher for CvTerms. Can be null.
-
getParticipantEnricher
public ParticipantEnricher getParticipantEnricher()
The current sub enricher for participants.- Specified by:
getParticipantEnricherin interfaceInteractionEnricher<InteractionEvidence>- Overrides:
getParticipantEnricherin classMinimalInteractionEnricher<InteractionEvidence>- Returns:
- The enricher for participants. Can be null.
-
getInteractionEnricherListener
public InteractionEnricherListener<InteractionEvidence> getInteractionEnricherListener()
The listener for changes made to interactions.- Specified by:
getInteractionEnricherListenerin interfaceInteractionEnricher<InteractionEvidence>- Overrides:
getInteractionEnricherListenerin 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:
setCvTermEnricherin interfaceInteractionEnricher<InteractionEvidence>- Overrides:
setCvTermEnricherin classMinimalInteractionEnricher<InteractionEvidence>- Parameters:
cvTermEnricher- aCvTermEnricherobject.
-
setParticipantEnricher
public void setParticipantEnricher(ParticipantEnricher participantEnricher)
setParticipantEnricher.
Sets the sub enricher for participants.- Specified by:
setParticipantEnricherin interfaceInteractionEnricher<InteractionEvidence>- Overrides:
setParticipantEnricherin classMinimalInteractionEnricher<InteractionEvidence>- Parameters:
participantEnricher- aParticipantEnricherobject.
-
setInteractionEnricherListener
public void setInteractionEnricherListener(InteractionEnricherListener listener)
setInteractionEnricherListener.
Sets the listener to be used when interactions are changed.- Specified by:
setInteractionEnricherListenerin interfaceInteractionEnricher<InteractionEvidence>- Overrides:
setInteractionEnricherListenerin classMinimalInteractionEnricher<InteractionEvidence>- Parameters:
listener- aInteractionEnricherListenerobject.
-
processConfidences
protected void processConfidences(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processConfidences.
- Parameters:
objectToEnrich- aInteractionEvidenceobject.objectSource- aInteractionEvidenceobject.- Throws:
EnricherException- if any.
-
processParameters
protected void processParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processParameters.
- Parameters:
objectToEnrich- aInteractionEvidenceobject.objectSource- aInteractionEvidenceobject.- Throws:
EnricherException- if any.
-
processVariableParameters
protected void processVariableParameters(InteractionEvidence objectToEnrich, InteractionEvidence objectSource) throws EnricherException
processVariableParameters.
- Parameters:
objectToEnrich- aInteractionEvidenceobject.objectSource- aInteractionEvidenceobject.- Throws:
EnricherException- if any.
-
mergerVariableParameters
protected void mergerVariableParameters(InteractionEvidence interactionToEnrich, InteractionEvidence objectSource, boolean remove)
mergerVariableParameters.
- Parameters:
interactionToEnrich- aInteractionEvidenceobject.objectSource- aInteractionEvidenceobject.remove- a boolean.
-
getInteractionEnricher
protected FullInteractionEnricher<InteractionEvidence> getInteractionEnricher()
Getter for the field
interactionEnricher.- Returns:
- a
FullInteractionEnricherobject.
-
-