Class DefaultParticipantEvidence
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.AbstractEntity<F>
-
- psidev.psi.mi.jami.model.impl.AbstractParticipant<InteractionEvidence,FeatureEvidence>
-
- psidev.psi.mi.jami.model.impl.DefaultParticipantEvidence
-
- All Implemented Interfaces:
Entity<FeatureEvidence>
,ExperimentalEntity
,Participant<InteractionEvidence,FeatureEvidence>
,ParticipantEvidence
- Direct Known Subclasses:
CsvParticipantEvidence
,DefaultNamedParticipantEvidence
,MitabParticipantEvidence
public class DefaultParticipantEvidence extends AbstractParticipant<InteractionEvidence,FeatureEvidence> implements ParticipantEvidence
Default implementation for ParticipantEvidence Notes: The equals and hashcode methods have NOT been overridden because the ParticipantEvidence object is a complex object. To compare ParticipantEvidence objects, you can use some comparators provided by default: - DefaultParticipantEvidenceComparator - UnambiguousParticipantEvidenceComparator - DefaultExactParticipantEvidenceComparator - UnambiguousExactParticipantEvidenceComparator - ParticipantEvidenceComparator- Since:
04/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Participant
ACCEPTOR_ROLE, ACCEPTOR_ROLE_MI, BAIT_ROLE, BAIT_ROLE_MI, DONOR_ROLE, DONOR_ROLE_MI, ELECTRON_ACCEPTOR_ROLE, ELECTRON_ACCEPTOR_ROLE_MI, ELECTRON_DONOR_ROLE, ELECTRON_DONOR_ROLE_MI, ENZYME_REGULATOR_ROLE, ENZYME_REGULATOR_ROLE_MI, ENZYME_ROLE, ENZYME_ROLE_MI, ENZYME_TARGET_ROLE, ENZYME_TARGET_ROLE_MI, FLUORESCENCE_ACCEPTOR_ROLE, FLUORESCENCE_ACCEPTOR_ROLE_MI, FLUORESCENCE_DONOR_ROLE, FLUORESCENCE_DONOR_ROLE_MI, INHIBITED, INHIBITED_MI, INHIBITOR, INHIBITOR_MI, NEUTRAL, NEUTRAL_MI, PHOSPHATE_ACCEPTOR_ROLE, PHOSPHATE_ACCEPTOR_ROLE_MI, PHOSPHATE_DONOR_ROLE, PHOSPHATE_DONOR_ROLE_MI, PHOTON_ACCEPTOR_ROLE, PHOTON_ACCEPTOR_ROLE_MI, PHOTON_DONOR_ROLE, PHOTON_DONOR_ROLE_MI, PREDETERMINED, PREDETERMINED_MI, PREY, PREY_MI, PUTATIVE_SELF_ROLE, PUTATIVE_SELF_ROLE_MI, SELF_ROLE, SELF_ROLE_MI, SUPPRESSED_GENE_ROLE, SUPPRESSED_GENE_ROLE_MI, SUPPRESSOR_GENE_ROLE, SUPPRESSOR_GENE_ROLE_MI, UNSPECIFIED_ROLE, UNSPECIFIED_ROLE_MI
-
-
Constructor Summary
Constructors Constructor Description DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, Stoichiometry stoichiometry)
Constructor for DefaultParticipantEvidence.DefaultParticipantEvidence(Interactor interactor, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Confidence>
getConfidences()
Getter for the fieldconfidences
.Collection<CvTerm>
getExperimentalPreparations()
Getter for the fieldexperimentalPreparations
.CvTerm
getExperimentalRole()
Getter for the fieldexperimentalRole
.Organism
getExpressedInOrganism()
getExpressedInOrganismCollection<CvTerm>
getIdentificationMethods()
Getter for the fieldidentificationMethods
.Collection<Parameter>
getParameters()
Getter for the fieldparameters
.protected void
initialiseConfidences()
initialiseConfidencesprotected void
initialiseConfidencesWith(Collection<Confidence> confidences)
initialiseConfidencesWithprotected void
initialiseExperimentalPreparations()
initialiseExperimentalPreparationsprotected void
initialiseExperimentalPreparationsWith(Collection<CvTerm> expPreparations)
initialiseExperimentalPreparationsWithprotected void
initialiseIdentificationMethods()
initialiseIdentificationMethodsprotected void
initialiseIdentificationMethodsWith(Collection<CvTerm> methods)
initialiseIdentificationMethodsWithprotected void
initialiseParameters()
initialiseParametersprotected void
initialiseParametersWith(Collection<Parameter> parameters)
initialiseParametersWithvoid
setExperimentalRole(CvTerm expRole)
Sets the experimental role.void
setExpressedInOrganism(Organism organism)
Sets the expressed in organismString
toString()
-
Methods inherited from class psidev.psi.mi.jami.model.impl.AbstractParticipant
addAllFeatures, addFeature, getAliases, getAnnotations, getBiologicalEffect, getBiologicalRole, getInteraction, getXrefs, initialiseAliases, initialiseAliasesWith, initialiseAnnotations, initialiseAnnotationsWith, initialiseXrefs, initialiseXrefsWith, removeAllFeatures, removeFeature, setBiologicalEffect, setBiologicalRole, setInteraction, setInteractionAndAddParticipant
-
Methods inherited from class psidev.psi.mi.jami.model.impl.AbstractEntity
getCausalRelationships, getChangeListener, getFeatures, getInteractor, getStoichiometry, initialiseCausalRelationships, initialiseCausalRelationshipsWith, initialiseFeatures, initialiseFeaturesWith, setChangeListener, setInteractor, setStoichiometry, setStoichiometry
-
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.Entity
addAllFeatures, addFeature, getCausalRelationships, getChangeListener, getFeatures, getInteractor, getStoichiometry, removeAllFeatures, removeFeature, setChangeListener, setInteractor, setStoichiometry, setStoichiometry
-
Methods inherited from interface psidev.psi.mi.jami.model.Participant
getAliases, getAnnotations, getBiologicalEffect, getBiologicalRole, getInteraction, getXrefs, setBiologicalEffect, setBiologicalRole, setInteraction, setInteractionAndAddParticipant
-
-
-
-
Constructor Detail
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.bioRole
- aCvTerm
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.bioRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.expressedIn
- aOrganism
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction
- aInteractionEvidence
object.interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.expressedIn
- aOrganism
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.bioRole
- aCvTerm
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.expressedIn
- aOrganism
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.expressedIn
- aOrganism
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, Stoichiometry stoichiometry)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor
- aInteractor
object.stoichiometry
- aStoichiometry
object.
-
-
Method Detail
-
initialiseExperimentalPreparations
protected void initialiseExperimentalPreparations()
initialiseExperimentalPreparations
-
initialiseConfidences
protected void initialiseConfidences()
initialiseConfidences
-
initialiseParameters
protected void initialiseParameters()
initialiseParameters
-
initialiseIdentificationMethods
protected void initialiseIdentificationMethods()
initialiseIdentificationMethods
-
initialiseIdentificationMethodsWith
protected void initialiseIdentificationMethodsWith(Collection<CvTerm> methods)
initialiseIdentificationMethodsWith
- Parameters:
methods
- aCollection
object.
-
initialiseExperimentalPreparationsWith
protected void initialiseExperimentalPreparationsWith(Collection<CvTerm> expPreparations)
initialiseExperimentalPreparationsWith
- Parameters:
expPreparations
- aCollection
object.
-
initialiseConfidencesWith
protected void initialiseConfidencesWith(Collection<Confidence> confidences)
initialiseConfidencesWith
- Parameters:
confidences
- aCollection
object.
-
initialiseParametersWith
protected void initialiseParametersWith(Collection<Parameter> parameters)
initialiseParametersWith
- Parameters:
parameters
- aCollection
object.
-
getExperimentalRole
public CvTerm getExperimentalRole()
Getter for the field
experimentalRole
.- Specified by:
getExperimentalRole
in interfaceParticipantEvidence
- Returns:
- a
CvTerm
object.
-
setExperimentalRole
public void setExperimentalRole(CvTerm expRole)
Sets the experimental role. If expRole is null, it should create a unspecified role (MI:0499)- Specified by:
setExperimentalRole
in interfaceParticipantEvidence
- Parameters:
expRole
- : experimental role
-
getIdentificationMethods
public Collection<CvTerm> getIdentificationMethods()
Getter for the field
identificationMethods
.- Specified by:
getIdentificationMethods
in interfaceParticipantEvidence
- Returns:
- a
Collection
object.
-
getExperimentalPreparations
public Collection<CvTerm> getExperimentalPreparations()
Getter for the field
experimentalPreparations
.- Specified by:
getExperimentalPreparations
in interfaceParticipantEvidence
- Returns:
- a
Collection
object.
-
getExpressedInOrganism
public Organism getExpressedInOrganism()
getExpressedInOrganism
- Specified by:
getExpressedInOrganism
in interfaceParticipantEvidence
- Returns:
- a
Organism
object.
-
setExpressedInOrganism
public void setExpressedInOrganism(Organism organism)
Sets the expressed in organism- Specified by:
setExpressedInOrganism
in interfaceParticipantEvidence
- Parameters:
organism
- : expressed in organism
-
getConfidences
public Collection<Confidence> getConfidences()
Getter for the field
confidences
.- Specified by:
getConfidences
in interfaceParticipantEvidence
- Returns:
- a
Collection
object.
-
getParameters
public Collection<Parameter> getParameters()
Getter for the field
parameters
.- Specified by:
getParameters
in interfaceParticipantEvidence
- Returns:
- a
Collection
object.
-
toString
public String toString()
- Overrides:
toString
in classAbstractParticipant<InteractionEvidence,FeatureEvidence>
-
-