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.CvTermgetEvidenceType()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.SourcegetSource()Getter for the fieldsource.protected voidinitialiseCooperativeEffects()initialiseCooperativeEffectsprotected voidinitialiseCooperativeEffectsWith(Collection<CooperativeEffect> cooperativeEffects)initialiseCooperativeEffectsWithprotected voidinitialiseInteractionEvidences()initialiseInteractionEvidencesprotected voidinitialiseInteractionEvidencesWith(Collection<InteractionEvidence> evidences)initialiseInteractionEvidencesWithprotected voidinitialiseModelledConfidences()initialiseModelledConfidencesprotected voidinitialiseModelledConfidencesWith(Collection<ModelledConfidence> confidences)initialiseModelledConfidencesWithprotected voidinitialiseModelledParameters()initialiseModelledParametersprotected voidinitialiseModelledParametersWith(Collection<ModelledParameter> parameters)initialiseModelledParametersWithvoidsetEvidenceType(CvTerm eco)Sets the evidence typevoidsetSource(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- aStringobject.
-
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- aCollectionobject.
-
initialiseModelledConfidences
protected void initialiseModelledConfidences()
initialiseModelledConfidences
-
initialiseModelledConfidencesWith
protected void initialiseModelledConfidencesWith(Collection<ModelledConfidence> confidences)
initialiseModelledConfidencesWith
- Parameters:
confidences- aCollectionobject.
-
initialiseInteractionEvidencesWith
protected void initialiseInteractionEvidencesWith(Collection<InteractionEvidence> evidences)
initialiseInteractionEvidencesWith
- Parameters:
evidences- aCollectionobject.
-
initialiseModelledParameters
protected void initialiseModelledParameters()
initialiseModelledParameters
-
initialiseModelledParametersWith
protected void initialiseModelledParametersWith(Collection<ModelledParameter> parameters)
initialiseModelledParametersWith
- Parameters:
parameters- aCollectionobject.
-
getInteractionEvidences
public Collection<InteractionEvidence> getInteractionEvidences()
Getter for the field
interactionEvidences.- Specified by:
getInteractionEvidencesin interfaceModelledInteraction- Returns:
- a
Collectionobject.
-
getSource
public Source getSource()
Getter for the field
source.- Specified by:
getSourcein interfaceModelledInteraction- Returns:
- a
Sourceobject.
-
setSource
public void setSource(Source source)
Sets the source reporting the interaction.- Specified by:
setSourcein interfaceModelledInteraction- Parameters:
source- : source for this interaction
-
getModelledConfidences
public Collection<ModelledConfidence> getModelledConfidences()
Getter for the field
modelledConfidences.- Specified by:
getModelledConfidencesin interfaceModelledInteraction- Returns:
- a
Collectionobject.
-
getModelledParameters
public Collection<ModelledParameter> getModelledParameters()
Getter for the field
modelledParameters.- Specified by:
getModelledParametersin interfaceModelledInteraction- Returns:
- a
Collectionobject.
-
getCooperativeEffects
public Collection<CooperativeEffect> getCooperativeEffects()
Getter for the field
cooperativeEffects.- Specified by:
getCooperativeEffectsin interfaceModelledInteraction- Returns:
- a
Collectionobject.
-
getEvidenceType
public CvTerm getEvidenceType()
Getter for the field
evidenceType.- Specified by:
getEvidenceTypein interfaceModelledInteraction- Returns:
- a
CvTermobject.
-
setEvidenceType
public void setEvidenceType(CvTerm eco)
Sets the evidence type- Specified by:
setEvidenceTypein interfaceModelledInteraction- Parameters:
eco- : the evidence type
-
-