Package psidev.psi.mi.jami.model.impl
Class DefaultModelledInteraction
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.AbstractInteraction<ModelledParticipant>
-
- psidev.psi.mi.jami.model.impl.DefaultModelledInteraction
-
- All Implemented Interfaces:
Interaction<ModelledParticipant>
,ModelledInteraction
- Direct Known Subclasses:
DefaultNamedModelledInteraction
,MitabModelledInteraction
public class DefaultModelledInteraction extends AbstractInteraction<ModelledParticipant> implements ModelledInteraction
Default implemntation for ModelledInteraction Notes: The equals and hashcode methods have NOT been overridden because the ModelledInteraction object is a complex object. To compare ModelledInteraction objects, you can use some comparators provided by default: - DefaultModelledInteractionComparator - UnambiguousModelledInteractionComparator - DefaultCuratedModelledInteractionComparator - UnambiguousCuratedModelledInteractionComparator - DefaultCuratedExactModelledInteractionComparator - UnambiguousCuratedExactModelledInteractionComparator - DefaultExactModelledInteractionComparator - UnambiguousExactModelledInteractionComparator - ModelledInteractionComparator - CuratedModelledInteractionComparator- Since:
05/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.ModelledInteraction
ECO, ECO_MI
-
-
Constructor Summary
Constructors Constructor Description DefaultModelledInteraction()
Constructor for DefaultModelledInteraction.DefaultModelledInteraction(String shortName)
Constructor for DefaultModelledInteraction.DefaultModelledInteraction(String shortName, CvTerm type)
Constructor for DefaultModelledInteraction.DefaultModelledInteraction(String shortName, Source source)
Constructor for DefaultModelledInteraction.DefaultModelledInteraction(String shortName, Source source, CvTerm type)
Constructor for DefaultModelledInteraction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<CooperativeEffect>
getCooperativeEffects()
Getter for the fieldcooperativeEffects
.CvTerm
getEvidenceType()
Getter for the fieldevidenceType
.Collection<InteractionEvidence>
getInteractionEvidences()
Getter for the fieldinteractionEvidences
.Collection<ModelledConfidence>
getModelledConfidences()
Getter for the fieldmodelledConfidences
.Collection<ModelledParameter>
getModelledParameters()
Getter for the fieldmodelledParameters
.Source
getSource()
Getter for the fieldsource
.protected void
initialiseCooperativeEffects()
initialiseCooperativeEffectsprotected void
initialiseCooperativeEffectsWith(Collection<CooperativeEffect> cooperativeEffects)
initialiseCooperativeEffectsWithprotected void
initialiseInteractionEvidences()
initialiseInteractionEvidencesprotected void
initialiseInteractionEvidencesWith(Collection<InteractionEvidence> evidences)
initialiseInteractionEvidencesWithprotected void
initialiseModelledConfidences()
initialiseModelledConfidencesprotected void
initialiseModelledConfidencesWith(Collection<ModelledConfidence> confidences)
initialiseModelledConfidencesWithprotected void
initialiseModelledParameters()
initialiseModelledParametersprotected void
initialiseModelledParametersWith(Collection<ModelledParameter> parameters)
initialiseModelledParametersWithvoid
setEvidenceType(CvTerm eco)
Sets the evidence typevoid
setSource(Source source)
Sets the source reporting the interaction.-
Methods inherited from class psidev.psi.mi.jami.model.impl.AbstractInteraction
addAllParticipants, addParticipant, clearPropertiesLinkedToChecksums, getAnnotations, getChecksums, getCreatedDate, getIdentifiers, getInteractionType, getParticipants, getRigid, getShortName, getUpdatedDate, getXrefs, initialiseAnnotations, initialiseAnnotationsWith, initialiseChecksums, initialiseChecksumWith, initialiseIdentifiers, initialiseIdentifiersWith, initialiseParticipants, initialiseParticipantsWith, initialiseXrefs, initialiseXrefsWith, processAddedChecksumEvent, processRemovedChecksumEvent, removeAllParticipants, removeParticipant, setCreatedDate, setInteractionType, 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.model.Interaction
addAllParticipants, addParticipant, getAnnotations, getChecksums, getCreatedDate, getIdentifiers, getInteractionType, getParticipants, getRigid, getShortName, getUpdatedDate, getXrefs, removeAllParticipants, removeParticipant, setCreatedDate, setInteractionType, setRigid, setShortName, setUpdatedDate
-
-
-
-
Constructor Detail
-
DefaultModelledInteraction
public DefaultModelledInteraction()
Constructor for DefaultModelledInteraction.
-
DefaultModelledInteraction
public DefaultModelledInteraction(String shortName)
Constructor for DefaultModelledInteraction.
- Parameters:
shortName
- aString
object.
-
DefaultModelledInteraction
public DefaultModelledInteraction(String shortName, Source source)
Constructor for DefaultModelledInteraction.
-
DefaultModelledInteraction
public DefaultModelledInteraction(String shortName, CvTerm type)
Constructor for DefaultModelledInteraction.
-
-
Method Detail
-
initialiseInteractionEvidences
protected void initialiseInteractionEvidences()
initialiseInteractionEvidences
-
initialiseCooperativeEffects
protected void initialiseCooperativeEffects()
initialiseCooperativeEffects
-
initialiseCooperativeEffectsWith
protected void initialiseCooperativeEffectsWith(Collection<CooperativeEffect> cooperativeEffects)
initialiseCooperativeEffectsWith
- Parameters:
cooperativeEffects
- aCollection
object.
-
initialiseModelledConfidences
protected void initialiseModelledConfidences()
initialiseModelledConfidences
-
initialiseModelledConfidencesWith
protected void initialiseModelledConfidencesWith(Collection<ModelledConfidence> confidences)
initialiseModelledConfidencesWith
- Parameters:
confidences
- aCollection
object.
-
initialiseInteractionEvidencesWith
protected void initialiseInteractionEvidencesWith(Collection<InteractionEvidence> evidences)
initialiseInteractionEvidencesWith
- Parameters:
evidences
- aCollection
object.
-
initialiseModelledParameters
protected void initialiseModelledParameters()
initialiseModelledParameters
-
initialiseModelledParametersWith
protected void initialiseModelledParametersWith(Collection<ModelledParameter> parameters)
initialiseModelledParametersWith
- Parameters:
parameters
- aCollection
object.
-
getInteractionEvidences
public Collection<InteractionEvidence> getInteractionEvidences()
Getter for the field
interactionEvidences
.- Specified by:
getInteractionEvidences
in interfaceModelledInteraction
- Returns:
- a
Collection
object.
-
getSource
public Source getSource()
Getter for the field
source
.- Specified by:
getSource
in interfaceModelledInteraction
- Returns:
- a
Source
object.
-
setSource
public void setSource(Source source)
Sets the source reporting the interaction.- Specified by:
setSource
in interfaceModelledInteraction
- Parameters:
source
- : source for this interaction
-
getModelledConfidences
public Collection<ModelledConfidence> getModelledConfidences()
Getter for the field
modelledConfidences
.- Specified by:
getModelledConfidences
in interfaceModelledInteraction
- Returns:
- a
Collection
object.
-
getModelledParameters
public Collection<ModelledParameter> getModelledParameters()
Getter for the field
modelledParameters
.- Specified by:
getModelledParameters
in interfaceModelledInteraction
- Returns:
- a
Collection
object.
-
getCooperativeEffects
public Collection<CooperativeEffect> getCooperativeEffects()
Getter for the field
cooperativeEffects
.- Specified by:
getCooperativeEffects
in interfaceModelledInteraction
- Returns:
- a
Collection
object.
-
getEvidenceType
public CvTerm getEvidenceType()
Getter for the field
evidenceType
.- Specified by:
getEvidenceType
in interfaceModelledInteraction
- Returns:
- a
CvTerm
object.
-
setEvidenceType
public void setEvidenceType(CvTerm eco)
Sets the evidence type- Specified by:
setEvidenceType
in interfaceModelledInteraction
- Parameters:
eco
- : the evidence type
-
-