Class AbstractXmlInteractionEvidence
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlInteraction<T>
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractPsiXmlInteraction<ParticipantEvidence>
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlInteractionEvidence
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,Interaction<ParticipantEvidence>
,InteractionEvidence
,NamedInteraction<ParticipantEvidence>
,ExtendedPsiXmlInteraction<ParticipantEvidence>
,ExtendedPsiXmlInteractionEvidence
,PsiXmlInteraction<ParticipantEvidence>
- Direct Known Subclasses:
DefaultXmlInteractionEvidence
,XmlInteractionEvidence
public abstract class AbstractXmlInteractionEvidence extends AbstractPsiXmlInteraction<ParticipantEvidence> implements ExtendedPsiXmlInteractionEvidence
Xml implementation of InteractionEvidence- Since:
08/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractXmlInteractionEvidence.JAXBConfidenceWrapper
static class
AbstractXmlInteractionEvidence.JAXBExperimentWrapper
static class
AbstractXmlInteractionEvidence.JAXBParameterWrapper
static class
AbstractXmlInteractionEvidence.JAXBParticipantWrapper
-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractPsiXmlInteraction
AbstractPsiXmlInteraction.JAXBInferredInteractionWrapper
-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlInteraction
AbstractXmlInteraction.JAXBAttributeWrapper
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlInteractionEvidence()
Constructor for AbstractXmlInteractionEvidence.AbstractXmlInteractionEvidence(String shortName)
Constructor for AbstractXmlInteractionEvidence.AbstractXmlInteractionEvidence(String shortName, CvTerm type)
Constructor for AbstractXmlInteractionEvidence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assignImexId(String identifier)
Sets the value of the imexId propertyString
getAvailability()
Getter for the fieldavailability
.Collection<Confidence>
getConfidences()
getConfidences.Experiment
getExperiment()
getExperiment.List<Experiment>
getExperiments()
getExperiments.String
getImexId()
getImexId.List<CvTerm>
getInteractionTypes()
Gets the value of the interactionTypeList property.AbstractXmlInteractionEvidence.JAXBConfidenceWrapper
getJAXBConfidenceWrapper()
getJAXBConfidenceWrapper.AbstractXmlInteractionEvidence.JAXBExperimentWrapper
getJAXBExperimentWrapper()
getJAXBExperimentWrapper.AbstractXmlInteractionEvidence.JAXBParameterWrapper
getJAXBParameterWrapper()
getJAXBParameterWrapper.List<ExtendedPsiXmlExperiment>
getOriginalExperiments()
getOriginalExperiments.Collection<Parameter>
getParameters()
getParameters.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.Collection<VariableParameterValueSet>
getVariableParameterValues()
getVariableParameterValues.AbstractAvailability
getXmlAvailability()
getXmlAvailability.protected void
initialiseConfidenceWrapper()
initialiseConfidenceWrapper.protected void
initialiseParameterWrapper()
initialiseParameterWrapper.protected void
initialiseParticipantWrapper()
initialiseParticipantWrapper.protected void
initialiseVariableParameterValueSets()
initialiseVariableParameterValueSets.boolean
isInferred()
isInferred.boolean
isModelled()
Gets the value of the modelled property.boolean
isNegative()
isNegative.void
processAddedParticipant(ParticipantEvidence participant)
processAddedParticipant.void
setAvailability(String availability)
Sets the availability.void
setExperiment(Experiment experiment)
Sets the experiment for this interaction.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 interactionvoid
setInferred(boolean inferred)
Sets the inferred boolean valuevoid
setInteractionNamesContainer(NamesContainer value)
Sets the value of the names property.void
setInteractionXrefContainer(InteractionXrefContainer value)
Sets the value of the interactionXrefContainer property.void
setJAXBAttributeWrapper(AbstractXmlInteraction.JAXBAttributeWrapper jaxbAttributeWrapper)
setJAXBAttributeWrapper.void
setJAXBAvailability(DefaultAvailability value)
Sets the value of the availability property.void
setJAXBAvailabilityRef(Integer value)
Sets the value of the availabilityRef property.void
setJAXBConfidenceWrapper(AbstractXmlInteractionEvidence.JAXBConfidenceWrapper wrapper)
Gets the value of the confidenceList property.void
setJAXBExperimentWrapper(AbstractXmlInteractionEvidence.JAXBExperimentWrapper value)
Sets the value of the experimentList property.void
setJAXBId(int value)
setJAXBId.void
setJAXBImexId(String identifier)
setJAXBImexId.void
setJAXBInferredInteractionWrapper(AbstractPsiXmlInteraction.JAXBInferredInteractionWrapper jaxbInferredWrapper)
setJAXBInferredInteractionWrapper.void
setJAXBIntraMolecular(Boolean intra)
setJAXBIntraMolecular.void
setJAXBModelled(Boolean value)
setJAXBModelled.void
setJAXBNegative(Boolean value)
Sets the value of the negative property.void
setJAXBParameterWrapper(AbstractXmlInteractionEvidence.JAXBParameterWrapper wrapper)
Gets the value of the parameterList property.void
setJAXBParticipantWrapper(AbstractXmlInteractionEvidence.JAXBParticipantWrapper jaxbParticipantWrapper)
setJAXBParticipantWrapper.void
setModelled(boolean value)
setModelled.void
setNegative(boolean negative)
Sets the negative boolean value.void
setXmlAvailability(AbstractAvailability availability)
setXmlAvailability.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractPsiXmlInteraction
getInferredInteractions, getInteractionType, setInteractionType
-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlInteraction
addAllParticipants, addParticipant, assignComplexAc, getAliases, getAnnotations, getAttributeWrapper, getChecksums, getComplexAc, getComplexVersion, getCreatedDate, getEntry, getFullName, getId, getIdentifiers, getInteractionNamesContainer, getInteractionXrefContainer, getParticipants, getRigid, getShortName, getUpdatedDate, getXrefs, initialiseAnnotationWrapper, initialiseNamesContainer, isIntraMolecular, removeAllParticipants, removeParticipant, setCreatedDate, setEntry, setFullName, setId, setIntraMolecular, setParticipantWrapper, setRigid, setShortName, setSourceLocator, setUpdatedDate, sourceLocation, 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.xml.model.extension.ExtendedPsiXmlInteraction
getInferredInteractions
-
Methods inherited from interface psidev.psi.mi.jami.xml.model.extension.ExtendedPsiXmlInteractionEvidence
getAliases
-
Methods inherited from interface psidev.psi.mi.jami.datasource.FileSourceContext
setSourceLocator, toString
-
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
-
Methods inherited from interface psidev.psi.mi.jami.model.NamedInteraction
getFullName, setFullName
-
Methods inherited from interface psidev.psi.mi.jami.xml.model.extension.PsiXmlInteraction
getEntry, getId, isIntraMolecular, setEntry, setId, setIntraMolecular
-
-
-
-
Field Detail
-
locator
protected Locator locator
-
-
Constructor Detail
-
AbstractXmlInteractionEvidence
public AbstractXmlInteractionEvidence()
Constructor for AbstractXmlInteractionEvidence.
-
AbstractXmlInteractionEvidence
public AbstractXmlInteractionEvidence(String shortName)
Constructor for AbstractXmlInteractionEvidence.
- Parameters:
shortName
- aString
object.
-
-
Method Detail
-
setInteractionNamesContainer
public void setInteractionNamesContainer(NamesContainer value)
Sets the value of the names property.- Overrides:
setInteractionNamesContainer
in classAbstractXmlInteraction<ParticipantEvidence>
- Parameters:
value
- allowed object isNamesContainer
-
setInteractionXrefContainer
public void setInteractionXrefContainer(InteractionXrefContainer value)
Sets the value of the interactionXrefContainer property.- Overrides:
setInteractionXrefContainer
in classAbstractXmlInteraction<ParticipantEvidence>
- Parameters:
value
- allowed object isInteractionXrefContainer
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(AbstractXmlInteraction.JAXBAttributeWrapper jaxbAttributeWrapper)
setJAXBAttributeWrapper.
- Overrides:
setJAXBAttributeWrapper
in classAbstractXmlInteraction<ParticipantEvidence>
- Parameters:
jaxbAttributeWrapper
- aAbstractXmlInteraction.JAXBAttributeWrapper
object.
-
setJAXBInferredInteractionWrapper
public void setJAXBInferredInteractionWrapper(AbstractPsiXmlInteraction.JAXBInferredInteractionWrapper jaxbInferredWrapper)
setJAXBInferredInteractionWrapper.
- Overrides:
setJAXBInferredInteractionWrapper
in classAbstractPsiXmlInteraction<ParticipantEvidence>
- Parameters:
jaxbInferredWrapper
- aAbstractPsiXmlInteraction.JAXBInferredInteractionWrapper
object.
-
getInteractionTypes
public List<CvTerm> getInteractionTypes()
Gets the value of the interactionTypeList property.- Specified by:
getInteractionTypes
in interfaceExtendedPsiXmlInteraction<ParticipantEvidence>
- Overrides:
getInteractionTypes
in classAbstractPsiXmlInteraction<ParticipantEvidence>
- Returns:
- a
List
object.
-
getImexId
public String getImexId()
getImexId.
- Specified by:
getImexId
in interfaceInteractionEvidence
- Overrides:
getImexId
in classAbstractXmlInteraction<ParticipantEvidence>
- Returns:
- a
String
object.
-
assignImexId
public void assignImexId(String identifier)
Sets the value of the imexId property- Specified by:
assignImexId
in interfaceInteractionEvidence
- Overrides:
assignImexId
in classAbstractXmlInteraction<ParticipantEvidence>
- Parameters:
identifier
- aString
object.
-
getExperiment
public Experiment getExperiment()
getExperiment.
- Specified by:
getExperiment
in interfaceInteractionEvidence
- Returns:
- a
Experiment
object.
-
setExperiment
public void setExperiment(Experiment experiment)
Sets the experiment for this interaction.- Specified by:
setExperiment
in interfaceInteractionEvidence
- Parameters:
experiment
- : experiment
-
getExperiments
public List<Experiment> getExperiments()
getExperiments.
- Specified by:
getExperiments
in interfaceExtendedPsiXmlInteractionEvidence
- Returns:
- a
List
object.
-
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:
setExperimentAndAddInteractionEvidence
in interfaceInteractionEvidence
- Parameters:
experiment
- : experiment
-
getVariableParameterValues
public Collection<VariableParameterValueSet> getVariableParameterValues()
getVariableParameterValues.
- Specified by:
getVariableParameterValues
in interfaceInteractionEvidence
- Returns:
- a
Collection
object.
-
getConfidences
public Collection<Confidence> getConfidences()
getConfidences.
- Specified by:
getConfidences
in interfaceInteractionEvidence
- Returns:
- a
Collection
object.
-
getAvailability
public String getAvailability()
Getter for the field
availability
.- Specified by:
getAvailability
in interfaceInteractionEvidence
- Returns:
- a
String
object.
-
setAvailability
public void setAvailability(String availability)
Sets the availability.- Specified by:
setAvailability
in interfaceInteractionEvidence
- Parameters:
availability
- : availability
-
isNegative
public boolean isNegative()
isNegative.
- Specified by:
isNegative
in interfaceInteractionEvidence
- Returns:
- a boolean.
-
setNegative
public void setNegative(boolean negative)
Sets the negative boolean value.- Specified by:
setNegative
in interfaceInteractionEvidence
- Parameters:
negative
- : negative value
-
getParameters
public Collection<Parameter> getParameters()
getParameters.
- Specified by:
getParameters
in interfaceInteractionEvidence
- Returns:
- a
Collection
object.
-
isInferred
public boolean isInferred()
isInferred.
- Specified by:
isInferred
in interfaceInteractionEvidence
- Returns:
- a boolean.
-
setInferred
public void setInferred(boolean inferred)
Sets the inferred boolean value- Specified by:
setInferred
in interfaceInteractionEvidence
- Parameters:
inferred
- : inferred boolean value
-
setJAXBIntraMolecular
public void setJAXBIntraMolecular(Boolean intra)
setJAXBIntraMolecular.
- Parameters:
intra
- aBoolean
object.
-
setJAXBId
public void setJAXBId(int value)
setJAXBId.
- Parameters:
value
- a int.
-
setJAXBImexId
public void setJAXBImexId(String identifier)
setJAXBImexId.
- Parameters:
identifier
- aString
object.
-
setJAXBParticipantWrapper
public void setJAXBParticipantWrapper(AbstractXmlInteractionEvidence.JAXBParticipantWrapper jaxbParticipantWrapper)
setJAXBParticipantWrapper.
- Parameters:
jaxbParticipantWrapper
- aAbstractXmlInteractionEvidence.JAXBParticipantWrapper
object.
-
setJAXBConfidenceWrapper
public void setJAXBConfidenceWrapper(AbstractXmlInteractionEvidence.JAXBConfidenceWrapper wrapper)
Gets the value of the confidenceList property.- Parameters:
wrapper
- aAbstractXmlInteractionEvidence.JAXBConfidenceWrapper
object.
-
setJAXBParameterWrapper
public void setJAXBParameterWrapper(AbstractXmlInteractionEvidence.JAXBParameterWrapper wrapper)
Gets the value of the parameterList property.- Parameters:
wrapper
- aAbstractXmlInteractionEvidence.JAXBParameterWrapper
object.
-
setJAXBAvailability
public void setJAXBAvailability(DefaultAvailability value)
Sets the value of the availability property.- Parameters:
value
- allowed object isDefaultAvailability
-
setJAXBAvailabilityRef
public void setJAXBAvailabilityRef(Integer value)
Sets the value of the availabilityRef property.- Parameters:
value
- allowed object isInteger
-
setJAXBExperimentWrapper
public void setJAXBExperimentWrapper(AbstractXmlInteractionEvidence.JAXBExperimentWrapper value)
Sets the value of the experimentList property.- Parameters:
value
- allowed object isAbstractXmlInteractionEvidence.JAXBExperimentWrapper
-
isModelled
public boolean isModelled()
Gets the value of the modelled property.- Specified by:
isModelled
in interfaceExtendedPsiXmlInteractionEvidence
- Returns:
- a boolean.
-
getXmlAvailability
public AbstractAvailability getXmlAvailability()
getXmlAvailability.
- Specified by:
getXmlAvailability
in interfaceExtendedPsiXmlInteractionEvidence
- Returns:
- a
AbstractAvailability
object.
-
setXmlAvailability
public void setXmlAvailability(AbstractAvailability availability)
setXmlAvailability.
- Specified by:
setXmlAvailability
in interfaceExtendedPsiXmlInteractionEvidence
- Parameters:
availability
- aAbstractAvailability
object.
-
setModelled
public void setModelled(boolean value)
setModelled.
Sets the value of the modelled property.
- Specified by:
setModelled
in interfaceExtendedPsiXmlInteractionEvidence
- Parameters:
value
- a boolean.
-
setJAXBModelled
public void setJAXBModelled(Boolean value)
setJAXBModelled.
- Parameters:
value
- aBoolean
object.
-
setJAXBNegative
public void setJAXBNegative(Boolean value)
Sets the value of the negative property.- Parameters:
value
- allowed object isBoolean
-
getJAXBConfidenceWrapper
public AbstractXmlInteractionEvidence.JAXBConfidenceWrapper getJAXBConfidenceWrapper()
getJAXBConfidenceWrapper.
- Returns:
- a
AbstractXmlInteractionEvidence.JAXBConfidenceWrapper
object.
-
getJAXBParameterWrapper
public AbstractXmlInteractionEvidence.JAXBParameterWrapper getJAXBParameterWrapper()
getJAXBParameterWrapper.
- Returns:
- a
AbstractXmlInteractionEvidence.JAXBParameterWrapper
object.
-
getJAXBExperimentWrapper
public AbstractXmlInteractionEvidence.JAXBExperimentWrapper getJAXBExperimentWrapper()
getJAXBExperimentWrapper.
- Returns:
- a
AbstractXmlInteractionEvidence.JAXBExperimentWrapper
object.
-
getOriginalExperiments
public List<ExtendedPsiXmlExperiment> getOriginalExperiments()
getOriginalExperiments.
- Specified by:
getOriginalExperiments
in interfaceExtendedPsiXmlInteractionEvidence
- Returns:
- a
List
object.
-
initialiseConfidenceWrapper
protected void initialiseConfidenceWrapper()
initialiseConfidenceWrapper.
-
initialiseVariableParameterValueSets
protected void initialiseVariableParameterValueSets()
initialiseVariableParameterValueSets.
-
initialiseParameterWrapper
protected void initialiseParameterWrapper()
initialiseParameterWrapper.
-
processAddedParticipant
public void processAddedParticipant(ParticipantEvidence participant)
processAddedParticipant.
- Overrides:
processAddedParticipant
in classAbstractXmlInteraction<ParticipantEvidence>
- Parameters:
participant
- a T object.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Overrides:
getSourceLocator
in classAbstractXmlInteraction<ParticipantEvidence>
- Returns:
- a
FileSourceLocator
object.
-
initialiseParticipantWrapper
protected void initialiseParticipantWrapper()
initialiseParticipantWrapper.
- Overrides:
initialiseParticipantWrapper
in classAbstractXmlInteraction<ParticipantEvidence>
-
-