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.CvTermgetExperimentalRole()Getter for the fieldexperimentalRole.OrganismgetExpressedInOrganism()getExpressedInOrganismCollection<CvTerm>getIdentificationMethods()Getter for the fieldidentificationMethods.Collection<Parameter>getParameters()Getter for the fieldparameters.protected voidinitialiseConfidences()initialiseConfidencesprotected voidinitialiseConfidencesWith(Collection<Confidence> confidences)initialiseConfidencesWithprotected voidinitialiseExperimentalPreparations()initialiseExperimentalPreparationsprotected voidinitialiseExperimentalPreparationsWith(Collection<CvTerm> expPreparations)initialiseExperimentalPreparationsWithprotected voidinitialiseIdentificationMethods()initialiseIdentificationMethodsprotected voidinitialiseIdentificationMethodsWith(Collection<CvTerm> methods)initialiseIdentificationMethodsWithprotected voidinitialiseParameters()initialiseParametersprotected voidinitialiseParametersWith(Collection<Parameter> parameters)initialiseParametersWithvoidsetExperimentalRole(CvTerm expRole)Sets the experimental role.voidsetExpressedInOrganism(Organism organism)Sets the expressed in organismStringtoString()-
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- aInteractionEvidenceobject.interactor- aInteractorobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction- aInteractionEvidenceobject.interactor- aInteractorobject.bioRole- aCvTermobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction- aInteractionEvidenceobject.interactor- aInteractorobject.stoichiometry- aStoichiometryobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction- aInteractionEvidenceobject.interactor- aInteractorobject.bioRole- aCvTermobject.stoichiometry- aStoichiometryobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction- aInteractionEvidenceobject.interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction- aInteractionEvidenceobject.interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.stoichiometry- aStoichiometryobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction- aInteractionEvidenceobject.interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.expressedIn- aOrganismobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(InteractionEvidence interaction, Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interaction- aInteractionEvidenceobject.interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.stoichiometry- aStoichiometryobject.expressedIn- aOrganismobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.bioRole- aCvTermobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.stoichiometry- aStoichiometryobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.stoichiometry- aStoichiometryobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.expressedIn- aOrganismobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.bioRole- aCvTermobject.expRole- aCvTermobject.stoichiometry- aStoichiometryobject.expressedIn- aOrganismobject.participantIdentificationMethod- aCvTermobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.
-
DefaultParticipantEvidence
public DefaultParticipantEvidence(Interactor interactor, Stoichiometry stoichiometry)
Constructor for DefaultParticipantEvidence.
- Parameters:
interactor- aInteractorobject.stoichiometry- aStoichiometryobject.
-
-
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- aCollectionobject.
-
initialiseExperimentalPreparationsWith
protected void initialiseExperimentalPreparationsWith(Collection<CvTerm> expPreparations)
initialiseExperimentalPreparationsWith
- Parameters:
expPreparations- aCollectionobject.
-
initialiseConfidencesWith
protected void initialiseConfidencesWith(Collection<Confidence> confidences)
initialiseConfidencesWith
- Parameters:
confidences- aCollectionobject.
-
initialiseParametersWith
protected void initialiseParametersWith(Collection<Parameter> parameters)
initialiseParametersWith
- Parameters:
parameters- aCollectionobject.
-
getExperimentalRole
public CvTerm getExperimentalRole()
Getter for the field
experimentalRole.- Specified by:
getExperimentalRolein interfaceParticipantEvidence- Returns:
- a
CvTermobject.
-
setExperimentalRole
public void setExperimentalRole(CvTerm expRole)
Sets the experimental role. If expRole is null, it should create a unspecified role (MI:0499)- Specified by:
setExperimentalRolein interfaceParticipantEvidence- Parameters:
expRole- : experimental role
-
getIdentificationMethods
public Collection<CvTerm> getIdentificationMethods()
Getter for the field
identificationMethods.- Specified by:
getIdentificationMethodsin interfaceParticipantEvidence- Returns:
- a
Collectionobject.
-
getExperimentalPreparations
public Collection<CvTerm> getExperimentalPreparations()
Getter for the field
experimentalPreparations.- Specified by:
getExperimentalPreparationsin interfaceParticipantEvidence- Returns:
- a
Collectionobject.
-
getExpressedInOrganism
public Organism getExpressedInOrganism()
getExpressedInOrganism
- Specified by:
getExpressedInOrganismin interfaceParticipantEvidence- Returns:
- a
Organismobject.
-
setExpressedInOrganism
public void setExpressedInOrganism(Organism organism)
Sets the expressed in organism- Specified by:
setExpressedInOrganismin interfaceParticipantEvidence- Parameters:
organism- : expressed in organism
-
getConfidences
public Collection<Confidence> getConfidences()
Getter for the field
confidences.- Specified by:
getConfidencesin interfaceParticipantEvidence- Returns:
- a
Collectionobject.
-
getParameters
public Collection<Parameter> getParameters()
Getter for the field
parameters.- Specified by:
getParametersin interfaceParticipantEvidence- Returns:
- a
Collectionobject.
-
toString
public String toString()
- Overrides:
toStringin classAbstractParticipant<InteractionEvidence,FeatureEvidence>
-
-