Class DefaultExperimentalParticipantPool
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.AbstractEntity<F>
-
- psidev.psi.mi.jami.model.impl.AbstractParticipant<I,F>
-
- psidev.psi.mi.jami.model.impl.AbstractParticipantPool<InteractionEvidence,FeatureEvidence,ExperimentalParticipantCandidate>
-
- psidev.psi.mi.jami.model.impl.DefaultExperimentalParticipantPool
-
- All Implemented Interfaces:
Iterable<ExperimentalParticipantCandidate>
,Collection<ExperimentalParticipantCandidate>
,EventListener
,EntityInteractorChangeListener
,Entity<FeatureEvidence>
,ExperimentalEntity
,ExperimentalParticipantPool
,Participant<InteractionEvidence,FeatureEvidence>
,ParticipantEvidence
,ParticipantPool<InteractionEvidence,FeatureEvidence,ExperimentalParticipantCandidate>
- Direct Known Subclasses:
CsvExperimentalParticipantPool
public class DefaultExperimentalParticipantPool extends AbstractParticipantPool<InteractionEvidence,FeatureEvidence,ExperimentalParticipantCandidate> implements ExperimentalParticipantPool
Default implementation of ExperimentalParticipantPool- Since:
29/07/14
- 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 DefaultExperimentalParticipantPool(String poolName)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, Stoichiometry stoichiometry)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(String poolName, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
-
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.AbstractParticipantPool
add, addAll, clear, contains, containsAll, getInteractor, getType, initialiseComponentCandidatesSet, initialiseComponentCandidatesSetWith, isEmpty, iterator, onInteractorUpdate, remove, removeAll, retainAll, setInteractor, setType, size, toArray, toArray
-
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, getStoichiometry, initialiseCausalRelationships, initialiseCausalRelationshipsWith, initialiseFeatures, initialiseFeaturesWith, setChangeListener, setStoichiometry, setStoichiometry
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
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
-
Methods inherited from interface psidev.psi.mi.jami.model.ParticipantPool
getType, setType
-
-
-
-
Constructor Detail
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
interaction
- aInteractionEvidence
object.poolName
- aString
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
interaction
- aInteractionEvidence
object.poolName
- aString
object.bioRole
- aCvTerm
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
interaction
- aInteractionEvidence
object.poolName
- aString
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
interaction
- aInteractionEvidence
object.poolName
- aString
object.bioRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
interaction
- aInteractionEvidence
object.poolName
- aString
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
interaction
- aInteractionEvidence
object.poolName
- aString
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(InteractionEvidence interaction, String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
interaction
- aInteractionEvidence
object.poolName
- aString
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.expressedIn
- aOrganism
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
poolName
- aString
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
poolName
- aString
object.bioRole
- aCvTerm
object.expRole
- aCvTerm
object.stoichiometry
- aStoichiometry
object.participantIdentificationMethod
- aCvTerm
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, CvTerm bioRole, CvTerm expRole, Stoichiometry stoichiometry, Organism expressedIn, CvTerm participantIdentificationMethod)
Constructor for DefaultExperimentalParticipantPool.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
poolName
- aString
object.
-
DefaultExperimentalParticipantPool
public DefaultExperimentalParticipantPool(String poolName, Stoichiometry stoichiometry)
Constructor for DefaultExperimentalParticipantPool.
- Parameters:
poolName
- aString
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 classAbstractParticipantPool<InteractionEvidence,FeatureEvidence,ExperimentalParticipantCandidate>
-
-