Package psidev.psi.mi.jami.binary.impl
Class BinaryInteractionEvidenceWrapper
- java.lang.Object
-
- psidev.psi.mi.jami.binary.impl.AbstractBinaryInteractionWrapper<InteractionEvidence,ParticipantEvidence>
-
- psidev.psi.mi.jami.binary.impl.BinaryInteractionEvidenceWrapper
-
- All Implemented Interfaces:
BinaryInteraction<ParticipantEvidence>,BinaryInteractionEvidence,Interaction<ParticipantEvidence>,InteractionEvidence
public class BinaryInteractionEvidenceWrapper extends AbstractBinaryInteractionWrapper<InteractionEvidence,ParticipantEvidence> implements BinaryInteractionEvidence
A wrapper for InteractionEvidence which contains two participants- Since:
05/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description BinaryInteractionEvidenceWrapper(InteractionEvidence interaction)Constructor for BinaryInteractionEvidenceWrapper.BinaryInteractionEvidenceWrapper(InteractionEvidence interaction, CvTerm complexExpansion)Constructor for BinaryInteractionEvidenceWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassignImexId(String identifier)Assign an IMEx id to an interaction.StringgetAvailability()getAvailabilityCollection<Confidence>getConfidences()getConfidencesExperimentgetExperiment()getExperimentStringgetImexId()getImexIdCollection<Parameter>getParameters()getParametersCollection<VariableParameterValueSet>getVariableParameterValues()getVariableParameterValuesbooleanisInferred()isInferredbooleanisNegative()isNegativevoidsetAvailability(String availability)Sets the availability.voidsetExperiment(Experiment experiment)Sets the experiment for this interaction.voidsetExperimentAndAddInteractionEvidence(Experiment experiment)Sets the experiment for this interaction and add the interaction to the list of interaction evidences If the given experiment is null, it will remove this interaction evidence from the previous experiment attached to this interactionvoidsetInferred(boolean inferred)Sets the inferred boolean valuevoidsetNegative(boolean negative)Sets the negative boolean value.-
Methods inherited from class psidev.psi.mi.jami.binary.impl.AbstractBinaryInteractionWrapper
addAllParticipants, addParticipant, getAnnotations, getCausalRegulatoryMechanism, getChecksums, getComplexExpansion, getCreatedDate, getIdentifiers, getInteractionType, getParticipantA, getParticipantB, getParticipants, getRigid, getShortName, getUpdatedDate, getWrappedInteraction, getXrefs, removeAllParticipants, removeParticipant, setCausalRegulatoryMechanism, setComplexExpansion, setCreatedDate, setInteractionType, setParticipantA, setParticipantB, setRigid, setShortName, setUpdatedDate, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.binary.BinaryInteraction
getCausalRegulatoryMechanism, getComplexExpansion, getParticipantA, getParticipantB, setCausalRegulatoryMechanism, setComplexExpansion, setParticipantA, setParticipantB
-
Methods inherited from interface psidev.psi.mi.jami.model.Interaction
addAllParticipants, addParticipant, getAnnotations, getChecksums, getCreatedDate, getIdentifiers, getInteractionType, getParticipants, getRigid, getShortName, getUpdatedDate, getXrefs, removeAllParticipants, removeParticipant, setCreatedDate, setInteractionType, setRigid, setShortName, setUpdatedDate
-
-
-
-
Constructor Detail
-
BinaryInteractionEvidenceWrapper
public BinaryInteractionEvidenceWrapper(InteractionEvidence interaction)
Constructor for BinaryInteractionEvidenceWrapper.
- Parameters:
interaction- aInteractionEvidenceobject.
-
BinaryInteractionEvidenceWrapper
public BinaryInteractionEvidenceWrapper(InteractionEvidence interaction, CvTerm complexExpansion)
Constructor for BinaryInteractionEvidenceWrapper.
- Parameters:
interaction- aInteractionEvidenceobject.complexExpansion- aCvTermobject.
-
-
Method Detail
-
getImexId
public String getImexId()
getImexId
- Specified by:
getImexIdin interfaceInteractionEvidence- Returns:
- a
Stringobject.
-
assignImexId
public void assignImexId(String identifier)
Assign an IMEx id to an interaction. It will add the new imex-primary ref to the collection of xrefs- Specified by:
assignImexIdin interfaceInteractionEvidence- Parameters:
identifier- : the IMEx id from IMEx central
-
getExperiment
public Experiment getExperiment()
getExperiment
- Specified by:
getExperimentin interfaceInteractionEvidence- Returns:
- a
Experimentobject.
-
setExperiment
public void setExperiment(Experiment experiment)
Sets the experiment for this interaction.- Specified by:
setExperimentin interfaceInteractionEvidence- Parameters:
experiment- : experiment
-
setExperimentAndAddInteractionEvidence
public void setExperimentAndAddInteractionEvidence(Experiment experiment)
Sets the experiment for this interaction and add the interaction to the list of interaction evidences If the given experiment is null, it will remove this interaction evidence from the previous experiment attached to this interaction- Specified by:
setExperimentAndAddInteractionEvidencein interfaceInteractionEvidence- Parameters:
experiment- : experiment
-
getVariableParameterValues
public Collection<VariableParameterValueSet> getVariableParameterValues()
getVariableParameterValues
- Specified by:
getVariableParameterValuesin interfaceInteractionEvidence- Returns:
- a
Collectionobject.
-
getAvailability
public String getAvailability()
getAvailability
- Specified by:
getAvailabilityin interfaceInteractionEvidence- Returns:
- a
Stringobject.
-
setAvailability
public void setAvailability(String availability)
Sets the availability.- Specified by:
setAvailabilityin interfaceInteractionEvidence- Parameters:
availability- : availability
-
getParameters
public Collection<Parameter> getParameters()
getParameters
- Specified by:
getParametersin interfaceInteractionEvidence- Returns:
- a
Collectionobject.
-
isInferred
public boolean isInferred()
isInferred
- Specified by:
isInferredin interfaceInteractionEvidence- Returns:
- a boolean.
-
setInferred
public void setInferred(boolean inferred)
Sets the inferred boolean value- Specified by:
setInferredin interfaceInteractionEvidence- Parameters:
inferred- : inferred boolean value
-
getConfidences
public Collection<Confidence> getConfidences()
getConfidences
- Specified by:
getConfidencesin interfaceInteractionEvidence- Returns:
- a
Collectionobject.
-
isNegative
public boolean isNegative()
isNegative
- Specified by:
isNegativein interfaceInteractionEvidence- Returns:
- a boolean.
-
setNegative
public void setNegative(boolean negative)
Sets the negative boolean value.- Specified by:
setNegativein interfaceInteractionEvidence- Parameters:
negative- : negative value
-
-